mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying to create new list for test purposes
This commit is contained in:
@@ -976,6 +976,14 @@ function addDynamicListeners() {
|
|||||||
|
|
||||||
SC_player.connect({"display":"page"}).then(function() {
|
SC_player.connect({"display":"page"}).then(function() {
|
||||||
console.log("We export now");
|
console.log("We export now");
|
||||||
|
var tracks = [{id: 290}, {id: 291}, {id: 292}];
|
||||||
|
|
||||||
|
SC_player.post('/playlists', {
|
||||||
|
playlist: { title: 'My Playlist', tracks: tracks }
|
||||||
|
}).then(function(res) {
|
||||||
|
console.log("this", res);
|
||||||
|
});
|
||||||
|
|
||||||
List.exportToSoundCloud();
|
List.exportToSoundCloud();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user