Fix custom embed titles

This commit is contained in:
calzoneman 2014-01-05 16:39:12 -06:00
parent 4131b227e9
commit 6d6bf69828
1 changed files with 3 additions and 0 deletions

View File

@ -1514,6 +1514,9 @@ Channel.prototype.addMedia = function(data, user) {
m.pos = data.pos;
m.queueby = data.queueby;
m.temp = data.temp;
if (data.type === "cu" && data.title) {
m.title = data.title;
}
var res = self.playlist.addMedia(m);
if (res.error) {
user.socket.emit("queueFail", {