0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00
This commit is contained in:
2025-12-13 23:13:20 +01:00
parent 16e0fcf691
commit 6c3a96cf63

View File

@@ -397,10 +397,7 @@
});
function sendAddToToplay(songs){
if(ws && ws.readyState === WebSocket.OPEN){
ws.send(JSON.stringify({action:"add_to_toplay", songs: songs}));
setTimeout(() => ws.send(JSON.stringify({action:"get_toplay"})), 250);
}
if(ws && ws.readyState === WebSocket.OPEN) ws.send(JSON.stringify({action:"add_to_toplay", songs: songs}))
}
connectWs();