Add fixme for simplification of next and previous
This commit is contained in:
parent
cdbeaa845b
commit
9db0ac778f
@ -112,6 +112,7 @@ class BasePlaybackController(object):
|
|||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
def next(self):
|
def next(self):
|
||||||
|
# FIXME needs to be simplified by using next_track
|
||||||
playlist = self.backend.current_playlist.playlist
|
playlist = self.backend.current_playlist.playlist
|
||||||
|
|
||||||
if not self.current_track:
|
if not self.current_track:
|
||||||
@ -123,6 +124,7 @@ class BasePlaybackController(object):
|
|||||||
self.play(next_track)
|
self.play(next_track)
|
||||||
|
|
||||||
def previous(self):
|
def previous(self):
|
||||||
|
# FIXME needs to be simplified by using previous_track
|
||||||
playlist = self.backend.current_playlist.playlist
|
playlist = self.backend.current_playlist.playlist
|
||||||
|
|
||||||
if not self.current_track:
|
if not self.current_track:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user