From 03409c36e116c5cd4e01a220760b2ef36c77a616 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Tue, 9 Dec 2025 21:57:13 +0100 Subject: [PATCH] makes the index compere better --- modules/web.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web.html b/modules/web.html index e005eaf..5d14389 100644 --- a/modules/web.html +++ b/modules/web.html @@ -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();