"The use of pause command w/o the PAUSE argument is deprecated."

This commit is contained in:
ncoop 2016-12-28 01:16:35 -08:00
parent 713c93c3ff
commit 40cff0d6b1

View File

@ -181,7 +181,7 @@ cleartext to the server.)"),
try:
self._mpd_command(self.s, "play"
if self._mpd_command(self.s, "status")["state"]
in ["pause", "stop"] else "pause")
in ["pause", "stop"] else "pause 1")
except Exception as e:
pass