1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-10-25 10:58:00 +00:00

Merge pull request #87 from BenjaminHae/master

Added the ability to save queue as playlist
This commit is contained in:
Andy
2015-09-20 15:54:20 +02:00
4 changed files with 48 additions and 0 deletions

View File

@@ -586,6 +586,13 @@ function addStream() {
$('#addstream').modal('hide');
}
function saveQueue() {
if($('#playlistname').val().length > 0) {
socket.send('MPD_API_SAVE_QUEUE,'+$('#playlistname').val());
}
$('#savequeue').modal('hide');
}
function confirmSettings() {
if($('#mpd_pw').val().length + $('#mpd_pw_con').val().length > 0) {
if ($('#mpd_pw').val() !== $('#mpd_pw_con').val())