From 97d0380819761be77ad7a82679f276c5aeee1474 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sun, 31 Aug 2025 21:56:46 +0200 Subject: [PATCH] no timeout --- radioPlayer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radioPlayer.py b/radioPlayer.py index fc24a3d..e2bc134 100644 --- a/radioPlayer.py +++ b/radioPlayer.py @@ -391,7 +391,7 @@ def play_playlist(playlist_path, custom_playlist: bool=False, play_newest_first= if current_process and current_process.poll() is None: try: current_process.terminate() - current_process.wait(timeout=2) + current_process.wait() except (subprocess.TimeoutExpired, ProcessLookupError): pass current_process = next_process @@ -506,7 +506,7 @@ def play_playlist(playlist_path, custom_playlist: bool=False, play_newest_first= if current_process and current_process.poll() is None: try: current_process.terminate() - current_process.wait(timeout=2) + current_process.wait() except (subprocess.TimeoutExpired, ProcessLookupError): pass current_process = next_process