From 7388f9cc162b64372ebcf10d4ae9f046784332be Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Mon, 1 Sep 2025 16:42:57 +0200 Subject: [PATCH] ok --- radioPlaylist.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radioPlaylist.py b/radioPlaylist.py index 8b9437e..5ee0b02 100644 --- a/radioPlaylist.py +++ b/radioPlaylist.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +import time import os import sys import termios @@ -289,6 +290,7 @@ class PlaylistManager: f.write(line + '\n') except UnicodeEncodeError as e: print("⚠️ Encoding error in line:", repr(line)) + time.sleep(5) exit() def is_file_item_in_playlist(self, file_item: FileItem, day: str, period: str, playlists: Dict) -> bool: