Building a media server on the Pi using MPD it would be nice id shairport could be used to override the currently running mpd stream just like it does not AppleTV. To do that, I'm trying to use the shairport play_prog/ stop_prog commands to issue mpc play/ stop commands. however, mpd keeps playing.
/etc/init.d/shairport like this:
DAEMON_ARGS="-w $PIDFILE -a AirPi --play_prog=\"mpc stop\" --stop_prog=\"mpc play\""
Is this the correct way to achieve shaiport/mpd coexistance?