From 6d6bf69828a5d91e5d85e509dc4008555f28655f Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sun, 5 Jan 2014 16:39:12 -0600 Subject: [PATCH] Fix custom embed titles --- lib/channel.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/channel.js b/lib/channel.js index 9456dac3..5143db50 100644 --- a/lib/channel.js +++ b/lib/channel.js @@ -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", {