This commit is contained in:
2025-09-10 19:37:05 +02:00
parent 76cdfaae6f
commit 5c984b8b95
+1 -1
View File
@@ -309,7 +309,7 @@ def play_playlist(playlist_path, custom_playlist: bool=False, play_newest_first=
update_rds(track_name) update_rds(track_name)
pr = procman.play(track_path, True, True) pr = procman.play(track_path, True, True)
print_wait(pr.duration - CROSSFADE_DURATION, 1, pr.duration, f"{track_name}:") print_wait(pr.duration - CROSSFADE_DURATION, 1, pr.duration, f"{track_name}: ")
def can_delete_file(filepath): def can_delete_file(filepath):
if not os.path.isfile(filepath): return False if not os.path.isfile(filepath): return False