mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-28 21:11:01 +00:00
Cleaning up logs, now working chromecast on private channel
This commit is contained in:
@@ -256,7 +256,6 @@ function getSessionChatPass(id, callback) {
|
||||
|
||||
function setChromecastHost(id, other_id, list, callback) {
|
||||
try {
|
||||
console.log("settingChromecastHost: ", id, other_id);
|
||||
if(id == "empty" || id == undefined) {
|
||||
callback();
|
||||
return;
|
||||
@@ -266,7 +265,6 @@ function setChromecastHost(id, other_id, list, callback) {
|
||||
return;
|
||||
});
|
||||
} catch(e) {
|
||||
console.log(e);
|
||||
callback(false);
|
||||
}
|
||||
}
|
||||
@@ -288,7 +286,6 @@ function setSessionUserPass(id, userpass, list, callback) {
|
||||
|
||||
function getSessionAdminUser(id, list, callback) {
|
||||
try {
|
||||
console.log(id);
|
||||
if(id == "empty" || id == undefined) {
|
||||
callback("", "", false);
|
||||
return;
|
||||
@@ -297,7 +294,6 @@ function getSessionAdminUser(id, list, callback) {
|
||||
var userpass = "";
|
||||
var adminpass = "";
|
||||
if(d.length > 0) {
|
||||
console.log(id, d);
|
||||
if(d[0].hasOwnProperty("chromecast") && d[0].chromecast) {
|
||||
getSessionAdminUser(d[0].id, list, callback);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user