You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
handle no active modifier
This commit is contained in:
@@ -232,8 +232,10 @@ def play_playlist(playlist_path):
|
|||||||
if active_modifier:
|
if active_modifier:
|
||||||
track_tuple, extend = active_modifier.play(song_i, old_track_tuple)
|
track_tuple, extend = active_modifier.play(song_i, old_track_tuple)
|
||||||
logger.debug(repr(song_i), repr(old_track_tuple), repr(track_tuple), repr(old_track_tuple != track_tuple))
|
logger.debug(repr(song_i), repr(old_track_tuple), repr(track_tuple), repr(old_track_tuple != track_tuple))
|
||||||
if extend:
|
if extend: max_iterator += 1
|
||||||
max_iterator += 1
|
else:
|
||||||
|
extend = False
|
||||||
|
track_tuple = old_track_tuple
|
||||||
track, to_fade_in, to_fade_out, official, args = track_tuple
|
track, to_fade_in, to_fade_out, official, args = track_tuple
|
||||||
|
|
||||||
track_path = os.path.abspath(os.path.expanduser(track))
|
track_path = os.path.abspath(os.path.expanduser(track))
|
||||||
|
|||||||
Reference in New Issue
Block a user