diff --git a/modules/web.html b/modules/web.html index 0b26936..e0d0149 100644 --- a/modules/web.html +++ b/modules/web.html @@ -399,6 +399,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); } }