Skip to content
Snippets Groups Projects
Commit 5dd9756b authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[Florob] mpris DBUS API has changed

parent ef281d86
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ class MusicTrackListener(gobject.GObject):
return info
def _mpris_playing_changed_cb(self, playing):
if playing == 0:
if playing[0] == 0:
self.emit('music-track-changed', self._last_playing_music)
else:
self.emit('music-track-changed', None)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment