0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-27 06:03:52 +01:00

change jingel logic

This commit is contained in:
2025-09-13 21:10:10 +02:00
parent 078a754b85
commit c089aa21f4

View File

@@ -308,7 +308,7 @@ def play_playlist(playlist_path, custom_playlist: bool=False, play_newest_first=
print_wait(pr.duration - CROSSFADE_DURATION, 1, pr.duration, f"{track_name}: ")
if JINGIEL_FILE and random.choice([False, True, False]):
logger.info("Playing the jingiel")
time.sleep(CROSSFADE_DURATION)
time.sleep(CROSSFADE_DURATION / 2)
procman.play(JINGIEL_FILE, False, False).process.wait()
to_fade_in = False
else: