You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-27 06:03:52 +01:00
major internal changes (might be reverted)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# websocket_module.py
|
||||
# TODO: focus time in track
|
||||
import multiprocessing, os
|
||||
import json
|
||||
import threading, uuid, time
|
||||
@@ -165,7 +165,8 @@ class Module(PlayerModule):
|
||||
if key := message.get("key", None): self.data[key] = out
|
||||
except Exception: pass
|
||||
|
||||
def on_new_playlist(self, playlist: list[Track]) -> None:
|
||||
def on_new_playlist(self, playlist: list[Track], global_args: dict[str, str]) -> None:
|
||||
# TODO: add global args to data
|
||||
api_data = []
|
||||
for track in playlist:
|
||||
api_data.append({
|
||||
|
||||
Reference in New Issue
Block a user