mirror of https://github.com/Nezreka/SoulSync.git
After a page refresh JS state is wiped, so currentTrack is null and the player widget stays hidden even though the backend is still streaming. The backend already includes track_info (name/artist/album/image_url) in every tool:stream push. The 'ready' case in both handlers now calls setTrackInfo() when no track is loaded, which unhides the player and populates title/artist before startAudioPlayback() runs.pull/301/head
parent
76ff98261b
commit
b498012c42
Loading…
Reference in new issue