From c25e716c8c18e2e53531f9f707405da560fcfc22 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Fri, 12 Dec 2025 21:44:13 +0100 Subject: [PATCH] handle oficial track in web ui --- modules/web.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web.html b/modules/web.html index daca1a8..951d840 100644 --- a/modules/web.html +++ b/modules/web.html @@ -360,7 +360,7 @@ } const selected = playlist[selectedPlaylistIndex]; if(!selected) { alert("Invalid selection"); return; } - const path = selected.path; + const path = (selected.official ? "" : "!") + selected.path; sendAddToToplay([path]); Array.from(document.getElementById("playlist-box").children).forEach(c => c.classList.remove("selected")); });