Mpd stop after this song
sats [-d] [-n num] [host]
sats is an acronym for Stop After This Song. It will wait for playback of the currently playing song to finish, and then tell mpd to stop playing.
If the hostname is omitted, the \s-1MPD_HOST\s0 environment variable will be used.
Daemonize rather than waiting in the foreground for the song to stop playing.
Stop after num songs (default is 1).
Copyright 2007 Joey Hess <[email protected]>
Licensed under the \s-1GNU\s0 \s-1GPL\s0 version 2 or higher.
http://kitenet.net/~joey/code/mpdtoys