You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-27 14:13:55 +01:00
something?
This commit is contained in:
@@ -274,7 +274,7 @@ def play_playlist(playlist_path, custom_playlist: bool=False, play_newest_first=
|
|||||||
|
|
||||||
return_pending = False
|
return_pending = False
|
||||||
|
|
||||||
to_fade_in = True
|
to_fade_in = False
|
||||||
|
|
||||||
for i, track in enumerate(tracks[start_index:], start_index):
|
for i, track in enumerate(tracks[start_index:], start_index):
|
||||||
if return_pending:
|
if return_pending:
|
||||||
@@ -308,7 +308,6 @@ def play_playlist(playlist_path, custom_playlist: bool=False, play_newest_first=
|
|||||||
print_wait(pr.duration - CROSSFADE_DURATION, 1, pr.duration, f"{track_name}: ")
|
print_wait(pr.duration - CROSSFADE_DURATION, 1, pr.duration, f"{track_name}: ")
|
||||||
if JINGIEL_FILE and random.choice([False, True, False, False]):
|
if JINGIEL_FILE and random.choice([False, True, False, False]):
|
||||||
logger.info("Playing the jingiel")
|
logger.info("Playing the jingiel")
|
||||||
time.sleep(CROSSFADE_DURATION / 2)
|
|
||||||
procman.play(JINGIEL_FILE, False, False).process.wait()
|
procman.play(JINGIEL_FILE, False, False).process.wait()
|
||||||
to_fade_in = False
|
to_fade_in = False
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user