You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
huh?
This commit is contained in:
@@ -399,6 +399,7 @@
|
|||||||
function sendAddToToplay(songs){
|
function sendAddToToplay(songs){
|
||||||
if(ws && ws.readyState === WebSocket.OPEN){
|
if(ws && ws.readyState === WebSocket.OPEN){
|
||||||
ws.send(JSON.stringify({action:"add_to_toplay", songs: songs}));
|
ws.send(JSON.stringify({action:"add_to_toplay", songs: songs}));
|
||||||
|
setTimeout(() => ws.send(JSON.stringify({action:"get_toplay"})), 250);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user