From d363b1560e29e764a7ecc6c019edc67770778f39 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 20 Jun 2013 14:59:40 -0400 Subject: [PATCH] fix case where bad video breaks playlists --- channel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channel.js b/channel.js index 750c647b..70e1ae51 100644 --- a/channel.js +++ b/channel.js @@ -1042,6 +1042,8 @@ Channel.prototype.enqueue = function(data, user, callback) { case "sc": InfoGetter.getMedia(data.id, data.type, function(err, media) { if(err) { + if(callback) + callback(); user.socket.emit("queueFail"); return; }