mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added add song to other list from one list button in the controls bar
This commit is contained in:
@@ -415,8 +415,9 @@ function add_function(arr, coll, guid, offline, socket) {
|
||||
}
|
||||
db.collection(coll + "_settings").find(function(err, docs){
|
||||
if(docs.length > 0 && (docs[0].userpass == undefined || docs[0].userpass == "" || (arr.hasOwnProperty('pass') && docs[0].userpass == arr.pass))) {
|
||||
Functions.check_inlist(coll, guid, socket, offline, undefined, "place 5");
|
||||
|
||||
if((arr.hasOwnProperty("offsiteAdd") && !arr.offsiteAdd) || !arr.hasOwnProperty("offsiteAdd")) {
|
||||
Functions.check_inlist(coll, guid, socket, offline, undefined, "place 5");
|
||||
}
|
||||
var id = arr.id + "";
|
||||
var title = arr.title;
|
||||
var hash = arr.adminpass;
|
||||
|
||||
Reference in New Issue
Block a user