descriptionnone
ownerqball@qballcow.nl
last changeThu, 17 Dec 2009 16:05:12 +0000 (17 17:05 +0100)
content tags
add:
README
Type make to build.
You need libmpdclient2.

create ~/.mpdcron with lines like:

<TYPE1>|<TYPE2>  command

TYPE and command is seperated by a space or a tab.
Each line is maximum 4096 bytes long.

where type is like:
PLAYER
    The player changed. F.e. start/stop
DATABASE
    The database is updated.
STORED_PLAYLIST
    One or more stored playlists changed/deleted/created.
QUEUE
    The play queue changed.
MIXER
    The output mixer (volume) changed.
OUTPUT
    One or more outputs changed state (enabled/disabled)
OPTIONS
    A player option changed f.e. consume, crossfade, repeat
UPDATE
    An update is started/finished.
CONNECTED
    Connected to mpd.
DISCONNECTED
    Disconnted from mpd.
SONGID
    The unique id of the playing song changed. (so next song is played).
PSTATE
    The state of the player changed, f.e. pause->play or play -> stop.
REPEAT
    The repeat state is toggled
RANDOM 
    the random state is toggled
CONSUME
    the consume state is toggled
SINGLE
    the single state is toggled


Command is executed using /bin/bash
shortlog
2009-12-17 Qball CowAdd following events: PSTATE, REPEAT, RANDOM, CONSUME... master
2009-12-17 Rasmus Steinkeadded conkyrc
2009-12-17 Rasmus Steinkesimplified output script
2009-12-17 Rasmus Steinkefixed typo
2009-12-17 Rasmus Steinkechanged location of the notifications to be less intrusive
2009-12-17 Rasmus Steinkemake outputscript show exact informations
2009-12-17 Rasmus Steinkesimplified volume script
2009-12-17 Rasmus Steinkeadded another example for Output change
2009-12-17 Rasmus Steinkekill old dzen2 instances before updating info
2009-12-17 Rasmus Steinkefixed "jumpy" volume display on more than one volume...
2009-12-15 Rasmus Steinkesome example scripts that rely on dzen2
2009-12-15 Qball Cowreindenting
2009-12-15 Qball CowHandle quit better in internal reconnect loop.
2009-12-15 Qball CowUpdate README
2009-12-15 Qball CowAdd posibility for more types of events
2009-12-15 Qball CowAdd version option
...
heads
14 years ago master