Skip to content

Commit

Permalink
Merge pull request #44 from agg23/QueueNextTrackFix
Browse files Browse the repository at this point in the history
Fixed #43: Queue next track fix
  • Loading branch information
ValentijnvdBeek authored Sep 23, 2018
2 parents 96d09bb + 77349dd commit fc47df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clay/playback/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def next(self, force=False):
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()
Expand Down

0 comments on commit fc47df5

Please sign in to comment.