forked from platypush/platypush
Propagate a MusicStopEvent upon playback stop even when the context of the current track is not available
This commit is contained in:
parent
32cdab5530
commit
a287a10bcc
1 changed files with 0 additions and 2 deletions
|
@ -138,8 +138,6 @@ class MusicMopidyBackend(Backend):
|
|||
and msg.get('new_state') == 'stopped'):
|
||||
status['state'] = 'stop'
|
||||
track = self._parse_track(track)
|
||||
if not track:
|
||||
return
|
||||
self.bus.post(MusicStopEvent(status=status, track=track))
|
||||
elif event == 'track_playback_started':
|
||||
track = self._parse_track(track)
|
||||
|
|
Loading…
Reference in a new issue