mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Logging more data
This commit is contained in:
@@ -609,6 +609,9 @@ var List = {
|
|||||||
exportToSoundCloud: function(thisSong, i) {
|
exportToSoundCloud: function(thisSong, i) {
|
||||||
console.log(thisSong, i);
|
console.log(thisSong, i);
|
||||||
if(i >= full_playlist.length) {
|
if(i >= full_playlist.length) {
|
||||||
|
console.log(result, List.found, List.not_found);
|
||||||
|
List.found = [];
|
||||||
|
List.not_found = [];
|
||||||
SC_player.post('/playlists', {
|
SC_player.post('/playlists', {
|
||||||
playlist: {
|
playlist: {
|
||||||
title: decodeURIComponent(channel.toLowerCase()) + ' - Zoff',
|
title: decodeURIComponent(channel.toLowerCase()) + ' - Zoff',
|
||||||
@@ -619,6 +622,8 @@ var List = {
|
|||||||
console.log(result, List.found, List.not_found);
|
console.log(result, List.found, List.not_found);
|
||||||
List.found = [];
|
List.found = [];
|
||||||
List.not_found = [];
|
List.not_found = [];
|
||||||
|
}).catch(function(error) {
|
||||||
|
console.log(error);
|
||||||
});
|
});
|
||||||
} else if(thisSong == undefined) {
|
} else if(thisSong == undefined) {
|
||||||
if(full_playlist.length > 0) {
|
if(full_playlist.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user