Don't hardcode which track we should start playing

This commit is contained in:
Thomas Adamcik 2010-04-06 20:56:58 +02:00
parent 73829d9034
commit 9c3473e578

View File

@ -435,7 +435,7 @@ class BasePlaybackController(object):
self.current_track = None
if self.state == self.PLAYING:
if self.backend.current_playlist.playlist.length > 0:
self.play(self.backend.current_playlist.playlist.tracks[0])
self.play()
else:
self.stop()