0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 13:52:00 +01:00

makes the index compere better

This commit is contained in:
2025-12-09 21:57:13 +01:00
parent 9139ed589e
commit 03409c36e1

View File

@@ -160,9 +160,9 @@
function handleMessage(msg){
if(msg.event === "state"){
const d = msg.data || {};
if(d.playlist) { playlist = d.playlist; renderPlaylist(); }
applyProgressState(d.track);
updateDirs(d.dirs);
if(d.playlist) { playlist = d.playlist; renderPlaylist(); }
} else if(msg.event === "playlist"){
playlist = msg.data || [];
renderPlaylist();