Allowing chromecast to fetch position

This commit is contained in:
Kasper Rynning-Tønnesen
2018-06-05 11:05:47 +02:00
parent 88a3ecd108
commit a3aea4902b

View File

@@ -688,10 +688,6 @@ module.exports = function() {
return; return;
} }
if(coll == undefined) return; if(coll == undefined) return;
if(chromecast_object) {
console.log("chromecast object", Functions.getSession(socket));
return;
}
db.collection(coll + "_settings").find(function(err, docs) { db.collection(coll + "_settings").find(function(err, docs) {
console.log("trying to get pos in song"); console.log("trying to get pos in song");
Functions.getSessionAdminUser(Functions.getSession(socket), coll, function(userpass, adminpass) { Functions.getSessionAdminUser(Functions.getSession(socket), coll, function(userpass, adminpass) {