Fix BasePlaybackController with respect to test_played_track_during_random_not_played_again and test_random_until_end_of_playlist

This commit is contained in:
Thomas Adamcik 2010-04-06 23:34:27 +02:00
parent a165304da7
commit 928e5e1c21

View File

@ -475,6 +475,9 @@ class BasePlaybackController(object):
if self.consume:
self.backend.current_playlist.remove(original_track)
if self.random:
self._shuffled.remove(self.current_track)
def _next(self, track):
return self._play(track)