mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 23:39:15 +02:00
ok
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
import time
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import termios
|
import termios
|
||||||
@@ -289,6 +290,7 @@ class PlaylistManager:
|
|||||||
f.write(line + '\n')
|
f.write(line + '\n')
|
||||||
except UnicodeEncodeError as e:
|
except UnicodeEncodeError as e:
|
||||||
print("⚠️ Encoding error in line:", repr(line))
|
print("⚠️ Encoding error in line:", repr(line))
|
||||||
|
time.sleep(5)
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
def is_file_item_in_playlist(self, file_item: FileItem, day: str, period: str, playlists: Dict) -> bool:
|
def is_file_item_in_playlist(self, file_item: FileItem, day: str, period: str, playlists: Dict) -> bool:
|
||||||
|
|||||||
Reference in New Issue
Block a user