Really run onstop script only if MPD was playing or paused

The onstop script is also called if the MPD state is unknown. This leads to
running the onstop script immediately after starting upmpdcli. Fix this by a
better check for the current MPD state.

Jörg Krause Jörg Krause 2016-01-25

changed src/mpdcli.cxx
src/mpdcli.cxx Diff Switch to side-by-side view
Loading...