Fix next track regression
This commit is contained in:
parent
496a7d19dc
commit
865234ce6b
@ -139,6 +139,9 @@ class BasePlaybackController(object):
|
||||
def next_track(self):
|
||||
playlist = self.backend.current_playlist.playlist
|
||||
|
||||
if not playlist.tracks:
|
||||
return None
|
||||
|
||||
if self.current_track is None:
|
||||
return playlist.tracks[0]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user