mpd: fix decoding error in currentsong leading to exception
This commit is contained in:
parent
071f0ce6fb
commit
80a0583466
@ -136,7 +136,7 @@ cleartext to the server.)"),
|
||||
if playback_state == "stop":
|
||||
currentsong = {}
|
||||
else:
|
||||
currentsong = self._mpd_command(self.s, "currentsong")
|
||||
currentsong = self._mpd_command(self.s, "currentsong") or {}
|
||||
except Exception:
|
||||
if self.hide_inactive:
|
||||
self.output = {
|
||||
|
Loading…
Reference in New Issue
Block a user