Add fix for GH-17

This commit is contained in:
Stein Magnus Jodal 2010-10-21 22:07:27 +02:00
parent e2a4aaada7
commit cc4abf5097

View File

@ -387,6 +387,9 @@ class BasePlaybackController(object):
self.current_cp_track = cp_track
self.state = self.PLAYING
if not self._play(cp_track[1]):
# Track is not playable
if self.random and self._shuffled:
self._shuffled.remove(cp_track)
if on_error_step == 1:
self.next()
elif on_error_step == -1: