alip / mpdcron

A ‘cron’ like program for mpd. It can execute scripts based on mpd’s idle events.
http://mpd.wikia.com/wiki/Client:MPDCRON
GNU General Public License v2.0
33 stars 8 forks source link

how do I use it? #29

Closed roizcorp closed 7 years ago

roizcorp commented 7 years ago

I run the mpdcron, I can see it running, but I cannot find "eugene" "walrus" or any other process to make a query

my use case is pretty specific though, while playback, with every song change I want to query the MPD_STATUS_AUDIO_FORMAT_BITS. If 16, then execute a command, if 24 execute other command.

Will appreciate the help

roizcorp commented 7 years ago

so I've reinstalled in the 5th time while keeping the --enable-gmodule in the configure although I run headless and suddenly the eugene and the other commands are available to me.

Still I have no idea how to implement my my use case stated above

roizcorp commented 7 years ago

I got it working, permission to execute .bash scripts in hooks folder