I wrote a very tiny tool yesterday; mpdcron. mpdcron is a ‘cron’ like program for mpd. It can execute scripts based on mpd’s idle events. You can specify this in a very simple config file. You first list the event it should react on, then the command it should execute. You can let one script read more