Logging more data

This commit is contained in:
Kasper Rynning-Tønnesen
2018-10-23 12:45:44 +02:00
parent e41b98fbdb
commit 351daf74c5

View File

@@ -609,6 +609,9 @@ var List = {
exportToSoundCloud: function(thisSong, i) {
console.log(thisSong, i);
if(i >= full_playlist.length) {
console.log(result, List.found, List.not_found);
List.found = [];
List.not_found = [];
SC_player.post('/playlists', {
playlist: {
title: decodeURIComponent(channel.toLowerCase()) + ' - Zoff',
@@ -619,6 +622,8 @@ var List = {
console.log(result, List.found, List.not_found);
List.found = [];
List.not_found = [];
}).catch(function(error) {
console.log(error);
});
} else if(thisSong == undefined) {
if(full_playlist.length > 0) {