mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying to log out stuff
This commit is contained in:
@@ -656,8 +656,10 @@ function change_song(coll, error)
|
||||
{
|
||||
db.collection(coll).find({now_playing:true}, function(err, now_playing_doc){
|
||||
if(error){
|
||||
console.log(error, coll, err);
|
||||
console.log(request);
|
||||
console.log("coll: " + coll);
|
||||
console.log("err: " + err);
|
||||
console.log("error: " + error);
|
||||
console.log("now_playing_doc: " + now_playing_doc);
|
||||
request('http://img.youtube.com/vi/'+now_playing_doc[0].id+'/mqdefault.jpg', function (err, response, body) {
|
||||
console.log(response);
|
||||
if (err || response.statusCode == 404) {
|
||||
|
||||
Reference in New Issue
Block a user