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. |
||
|---|---|---|
| .. | ||
| static | ||
| index.html | ||