Clearify cp_track_at_eot() a bit
This commit is contained in:
parent
e984e24168
commit
b59e666bd5
@ -149,10 +149,9 @@ class BasePlaybackController(object):
|
||||
return cp_tracks[0]
|
||||
|
||||
if self.repeat and self.single:
|
||||
return cp_tracks[
|
||||
(self.current_playlist_position) % len(cp_tracks)]
|
||||
return cp_tracks[self.current_playlist_position]
|
||||
|
||||
if self.repeat:
|
||||
if self.repeat and not self.single:
|
||||
return cp_tracks[
|
||||
(self.current_playlist_position + 1) % len(cp_tracks)]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user