|
@@ -160,10 +160,7 @@ if (Meteor.isClient) {
|
|
|
|
|
|
Template.playlist.helpers({
|
|
Template.playlist.helpers({
|
|
playlist_songs: function() {
|
|
playlist_songs: function() {
|
|
- // return [
|
|
|
|
- // {title: "Foo", artist: "Bar"},
|
|
|
|
- // {title: "Ying", artist: "Yang"}
|
|
|
|
- // ];
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
@@ -224,6 +221,7 @@ if (Meteor.isClient) {
|
|
sound._player._volume = 0.3;
|
|
sound._player._volume = 0.3;
|
|
console.log(sound);
|
|
console.log(sound);
|
|
sound.play();
|
|
sound.play();
|
|
|
|
+ console.log(getTimeElapsed());
|
|
// Session.set("title", currentSong.song.title || "Title");
|
|
// Session.set("title", currentSong.song.title || "Title");
|
|
// Session.set("artist", currentSong.song.artist || "Artist");
|
|
// Session.set("artist", currentSong.song.artist || "Artist");
|
|
Session.set("duration", currentSong.song.duration);
|
|
Session.set("duration", currentSong.song.duration);
|