Really fix BasePlaybackController with respect to test_played_track_during_random_not_played_again

This commit is contained in:
Thomas Adamcik 2010-04-07 01:49:25 +02:00
parent 361d66727e
commit ea315900c3

View File

@ -483,7 +483,7 @@ class BasePlaybackController(object):
if self.consume:
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)
def _next(self, track):