1 This is a small program i wrote. It is a daemon that pauses mpd (see package mpd) when a song is finished.
3 it handle special cases when it does not pauses MPD:
5 - if song was not finnished (assume next command was issued)
6 - if mpd was previously in pause
8 You can control the daemon by sending signals :
10 SIGHUP: toggle pause mode
11 SIGUSR1: activate pause mode
12 SIGUSR2: desactivates pause mode
14 The program does not fork, it's up to you (use disown shell command)