1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-10-23 09:57:42 +00:00

Added Stop button, issue #14

This commit is contained in:
jcorporation
2018-06-10 18:54:57 +02:00
parent b6a887f055
commit 9ffa3c17bd
2 changed files with 7 additions and 0 deletions

View File

@@ -907,6 +907,10 @@ function clickPlay() {
socket.send('MPD_API_SET_PAUSE');
}
function clickStop() {
socket.send('MPD_API_SET_STOP');
}
function setLocalStream(mpdhost,streamport) {
var mpdstream = 'http://';
if ( mpdhost == '127.0.0.1' || mpdhost == 'localhost')