You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
makes the index compere better
This commit is contained in:
@@ -160,9 +160,9 @@
|
|||||||
function handleMessage(msg){
|
function handleMessage(msg){
|
||||||
if(msg.event === "state"){
|
if(msg.event === "state"){
|
||||||
const d = msg.data || {};
|
const d = msg.data || {};
|
||||||
if(d.playlist) { playlist = d.playlist; renderPlaylist(); }
|
|
||||||
applyProgressState(d.track);
|
applyProgressState(d.track);
|
||||||
updateDirs(d.dirs);
|
updateDirs(d.dirs);
|
||||||
|
if(d.playlist) { playlist = d.playlist; renderPlaylist(); }
|
||||||
} else if(msg.event === "playlist"){
|
} else if(msg.event === "playlist"){
|
||||||
playlist = msg.data || [];
|
playlist = msg.data || [];
|
||||||
renderPlaylist();
|
renderPlaylist();
|
||||||
|
|||||||
Reference in New Issue
Block a user