浏览代码

Fixed issue where it would add songs to the queue with the type of the room, instead of the type YouTube,

KrisVos130 9 年之前
父节点
当前提交
69e8d95aee
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/client/client.js

+ 1 - 1
app/client/client.js

@@ -962,7 +962,7 @@ Template.room.events({
         var processed = 0;
         var total = YTImportQueue.length;
         YTImportQueue.forEach(function(song) {
-            var songData = {type: type, id: song.id, title: song.title, artist: "", img: ""};
+            var songData = {type: "YouTube", id: song.id, title: song.title, artist: "", img: ""};
             Meteor.call("addSongToQueue", Session.get("type"), songData, function(err, res) {
                 if (err) {
                     failed++;