mirror of
https://github.com/vale981/clay
synced 2025-03-05 09:31:40 -05:00
Merge pull request #44 from agg23/QueueNextTrackFix
Fixed #43: Queue next track fix
This commit is contained in:
commit
fc47df518b
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class _Queue(object):
|
|||
return self.get_current_track()
|
||||
|
||||
self.current_track_index += 1
|
||||
if (self.current_track_index + 1) >= len(self.tracks):
|
||||
if (self.current_track_index) >= len(self.tracks):
|
||||
self.current_track_index = 0
|
||||
|
||||
return self.get_current_track()
|
||||
|
|
Loading…
Add table
Reference in a new issue