0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00

don't be that verbose

This commit is contained in:
2025-12-06 23:25:40 +01:00
parent de9178b5f4
commit c1ff179498

View File

@@ -112,8 +112,6 @@ class Module(ActiveModifier):
if data.get("action") == "add_to_toplay":
songs_to_add = data.get("songs")
if isinstance(songs_to_add, list):
logger.info(f"Received request to add {len(songs_to_add)} items to toplay queue from '{source_name or 'unnamed'}'")
with self.file_lock:
with open("/tmp/radioPlayer_toplay", "a") as f:
for song_path in songs_to_add: f.write(f"{song_path}\n")