diff options
author | Anton Khirnov <anton@khirnov.net> | 2010-12-30 12:32:39 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-04 20:17:35 +0200 |
commit | 43840980ae8c7510a9c653e87d2ca5d635b9d164 (patch) | |
tree | 6dad7f37db7202ee9679068bc73aab8a4491542b /nephilim | |
parent | 81502dbd7a9b5533c22217759387c61e22aa0af4 (diff) |
mpclient: add sticker_changed event
Diffstat (limited to 'nephilim')
-rw-r--r-- | nephilim/mpclient.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nephilim/mpclient.py b/nephilim/mpclient.py index afd0ebb..b724b5a 100644 --- a/nephilim/mpclient.py +++ b/nephilim/mpclient.py @@ -131,6 +131,7 @@ class MPClient(QtCore.QObject): consume_changed = Signal(bool) crossfade_changed = Signal(int) playlist_changed = Signal() + sticker_changed = Signal() #### PRIVATE #### @@ -486,7 +487,7 @@ class MPClient(QtCore.QObject): """ if not subsystems: subsystems = ['database', 'update', 'stored_playlist', 'playlist', 'output', - 'player', 'mixer', 'options'] + 'player', 'mixer', 'options', 'sticker'] if ('player' in subsystems or 'mixer' in subsystems or @@ -494,6 +495,8 @@ class MPClient(QtCore.QObject): self._command('status', callback = self._update_status) if 'database' in subsystems: self.db_updated.emit() + if 'sticker' in subsystems: + self.sticker_changed.emit() if 'update' in subsystems: pass # just list for completeness if 'stored_playlist' in subsystems: |