mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 15:29:14 +02:00
whoops again
This commit is contained in:
+1
-1
@@ -220,7 +220,7 @@ class Module(PlayerModule):
|
||||
def imc_data(self, source: BaseIMCModule, source_name: str | None, data: object, broadcast: bool) -> object:
|
||||
wsdata = {"event": "imc", "data": {"name": source_name, "data": data, "broadcast": broadcast}}
|
||||
if source_name == "rds":
|
||||
self.data[source_name] = data
|
||||
self.data[source_name] = json.dumps(data)
|
||||
wsdata = {"event": "rds", "data": data}
|
||||
try: self.ws_q.put(wsdata)
|
||||
except Exception: pass
|
||||
|
||||
Reference in New Issue
Block a user