Commit 9c7a3745 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Only update next/prev is a track is already playing

parent 887faa4d
Pipeline #69696 failed with stage
in 24 seconds
......@@ -114,8 +114,9 @@ class ShufflePlayer(BasePlayer):
else:
# We want current album to continue playback
self._albums = [self._current_playback_track.album]
self.set_next()
self.set_prev()
if self._current_playback_track.id is not None:
self.set_next()
self.set_prev()
self.emit("party-changed", party)
def set_party_ids(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment