1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-10-22 01:17:40 +00:00

Feat: finished mpd idle usage

This commit is contained in:
jcorporation
2018-08-15 15:06:45 +02:00
parent f69ec1820c
commit f0b577378e
4 changed files with 32 additions and 46 deletions

View File

@@ -646,6 +646,7 @@ function webSocketConnect() {
showNotification('Connected to myMPD', '', '', 'success');
modalConnectionError.hide();
appRoute();
sendAPI({"cmd":"MPD_API_GET_STATE"}, parseState);
}
socket.onmessage = function got_packet(msg) {