core.playback: Rename next_{ => tl_}track
To make the type of the variable obvious
This commit is contained in:
parent
e9c20d2e59
commit
b6346f1c86
@ -157,11 +157,11 @@ class PlaybackController(object):
|
||||
return
|
||||
|
||||
original_tl_track = self.current_tl_track
|
||||
next_track = self.core.tracklist.eot_track(original_tl_track)
|
||||
next_tl_track = self.core.tracklist.eot_track(original_tl_track)
|
||||
|
||||
if next_track:
|
||||
if next_tl_track:
|
||||
self._trigger_track_playback_ended()
|
||||
self.play(next_track)
|
||||
self.play(next_tl_track)
|
||||
else:
|
||||
self.stop(clear_current_track=True)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user