You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 13:52:00 +01:00
keep junk out
This commit is contained in:
@@ -121,6 +121,6 @@ class Module(ActiveModifier):
|
||||
elif data.get("action") == "get_toplay":
|
||||
with self.file_lock:
|
||||
with open("/tmp/radioPlayer_toplay", "r") as f:
|
||||
return {"status": "ok", "data": f.readlines()}
|
||||
return {"status": "ok", "data": [i.strip() for i in f.readlines() if i.strip()]}
|
||||
|
||||
activemod = Module()
|
||||
Reference in New Issue
Block a user