mirror of https://github.com/calzoneman/sync.git
Fix custom embed titles
This commit is contained in:
parent
4131b227e9
commit
6d6bf69828
|
@ -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", {
|
||||
|
|
Loading…
Reference in New Issue