Add a TODO for missing tracks in shuffled playlist

This commit is contained in:
Jens Luetjen 2016-01-30 13:51:16 +01:00
parent 2b3b2e5808
commit cfc2d59c82

View File

@ -361,6 +361,7 @@ class PlaybackController(object):
current = self._pending_tl_track or self._current_tl_track
pending = tl_track or current or self.core.tracklist.next_track(None)
# avoid endless loop if 'repeat' is 'true' and no track is playable
# TODO: could miss a playable track in a shuffled playlist
count = self.core.tracklist.get_length()
while pending: