0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-27 06:03:52 +01:00

fix control signals

This commit is contained in:
2025-07-29 19:03:20 +02:00
parent d77d56f2f9
commit 59762ca370

View File

@@ -166,7 +166,8 @@ def play_playlist(playlist_path, custom_playlist: bool=False, play_newest_first=
subprocess.run(['ffplay', '-nodisp', '-hide_banner', '-autoexit', '-loglevel', 'quiet', track_path], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) subprocess.run(['ffplay', '-nodisp', '-hide_banner', '-autoexit', '-loglevel', 'quiet', track_path], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
# Check control files after each song # Check control files after each song
action = check_control_files() and not can_delete_file("/tmp/radioPlayer_onplaylist") action = check_control_files()
if not can_delete_file("/tmp/radioPlayer_onplaylist"): action = None
if action == "quit": if action == "quit":
exit() exit()
elif action == "reload": elif action == "reload":