You've already forked RadioPlayer
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:
@@ -360,7 +360,7 @@
|
|||||||
}
|
}
|
||||||
const selected = playlist[selectedPlaylistIndex];
|
const selected = playlist[selectedPlaylistIndex];
|
||||||
if(!selected) { alert("Invalid selection"); return; }
|
if(!selected) { alert("Invalid selection"); return; }
|
||||||
const path = selected.path;
|
const path = (selected.official ? "" : "!") + selected.path;
|
||||||
sendAddToToplay([path]);
|
sendAddToToplay([path]);
|
||||||
Array.from(document.getElementById("playlist-box").children).forEach(c => c.classList.remove("selected"));
|
Array.from(document.getElementById("playlist-box").children).forEach(c => c.classList.remove("selected"));
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user