Author Topic: Fvwm-xmmsctrl  (Read 1560 times)

Christoph

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • http://
Fvwm-xmmsctrl
« on: February 21, 2005, 09:41:28 am »
Hi,

for the fvwm users among you:

I wrote a little module FvwmXMMSCtrl, to handle key bindings, because
- per xmmsctrl, Piperead opens a shell earch time, so especially the volume adjustment
  was a bit slow
- per xmmspipe I found no solution to get fvwm write into a named Pipe
- for the existing FvwmXMMS module you need perl.

Currently the module understands the following commands either by SendToModule or as a configuration:

 launch           - launch a new instance of xmms
 play             - play the current song in the playlist
 stop             - stop playing
 pause            - pause current song
 prev             - goto previous in playlist
 next             - goto next in playlist
 play_pause       - pause if playing, play if pausing
 eject            - show file window
 quit             - quit current xmms session
 main [0|1]       - toggle/show/hide main window
 playlist [0|1]   - toggle/show/hide playlist window
 equalizer        - toggle/show/hide equalizer window
 clear_playlist   - clear playlist
 vol [+|-]percent - raise/lower/set volume
 time [+|-]time   - forward/backward/set time
 add_url <url>    - add an url such as file:/mnt/cf
 play_or_next     - if playing, goto next, if stopped, play current
 stop_or_prev     - if stopped, goto previous, if playing, stop

The module is heavily based on FvwmBacker and xmmsctrl.
It is far from complete as I only implemented the feature I needed.
The ipk is made according to the paths from the fvwm ipk in unstable feed and
depends on fvwm and xmms.

The source is made to be extracted into <fvwm-dev-dir>/modules to compile.


Christoph
SL C850, pdaXrom rc10, fvwm