From 674ab5fbc7b40f4abcf7a519b3751d96c05bed2f Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Mon, 1 Sep 2025 10:11:05 +0200 Subject: [PATCH] check --- radioPlayer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radioPlayer.py b/radioPlayer.py index ded62d8..7c934e8 100644 --- a/radioPlayer.py +++ b/radioPlayer.py @@ -406,6 +406,8 @@ def play_playlist(playlist_path, custom_playlist: bool=False, play_newest_first= logger.info("Time changed to night hours, switching playlist...") return_pending = True + if return_pending and not current_process: return + if current_process: time.sleep(cross_for_cross_time)