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

handle oficial track in web ui

This commit is contained in:
2025-12-12 21:44:13 +01:00
parent b7b109c17e
commit c25e716c8c

View File

@@ -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"));
});