Просмотр исходного кода

Merge remote-tracking branch 'origin/master'

KrisVos130 9 лет назад
Родитель
Сommit
6961e00418
1 измененных файлов с 1 добавлено и 12 удалено
  1. 1 12
      app/app.js

+ 1 - 12
app/app.js

@@ -135,9 +135,6 @@ if (Meteor.isClient) {
                     title: ytArr[i].title,
                     type: "youtube"
                   }
-                  /*Meteor.call("addToPlaylist", songObj, function(err,res){
-                    console.log(res);
-                  })*/
                 }
               }
             })
@@ -164,15 +161,6 @@ if (Meteor.isClient) {
               }
             }
             console.log(id);
-            /*Meteor.call("addToPlaylist", songObj, function(err,res){
-              return true;
-            });*/
-            // if (_sound !== undefined)_sound.stop();
-            // SC.stream("/tracks/" + id, function(sound){
-            //   _sound = sound;
-            //   sound._player._volume = 0.3;
-            //   sound.play()
-            // });
           })
         });
       }
@@ -412,6 +400,7 @@ if (Meteor.isServer) {
     var room_types = ["edm", "nightcore"];
     var songsArr = [];
 
+
     room_types.forEach(function(type) {
         if (Playlists.find({type: type}).fetch().length === 0) {
             if (type === "edm") {