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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user