Really fix BasePlaybackController with respect to test_played_track_during_random_not_played_again
This commit is contained in:
parent
361d66727e
commit
ea315900c3
@ -483,7 +483,7 @@ class BasePlaybackController(object):
|
|||||||
if self.consume:
|
if self.consume:
|
||||||
self.backend.current_playlist.remove(original_track)
|
self.backend.current_playlist.remove(original_track)
|
||||||
|
|
||||||
if self.random:
|
if self.random and self.current_track in self._shuffled:
|
||||||
self._shuffled.remove(self.current_track)
|
self._shuffled.remove(self.current_track)
|
||||||
|
|
||||||
def _next(self, track):
|
def _next(self, track):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user