0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-27 06:03:52 +01:00
This commit is contained in:
2025-09-01 16:42:57 +02:00
parent db3d90e2b8
commit 7388f9cc16

View File

@@ -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: