diff --git a/radioPlaylist.py b/radioPlaylist.py index a954e91..8b9437e 100644 --- a/radioPlaylist.py +++ b/radioPlaylist.py @@ -289,7 +289,7 @@ class PlaylistManager: f.write(line + '\n') except UnicodeEncodeError as e: print("⚠️ Encoding error in line:", repr(line)) - raise + exit() def is_file_item_in_playlist(self, file_item: FileItem, day: str, period: str, playlists: Dict) -> bool: """Check if ALL files from a FileItem are in the specified playlist."""