mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 12:38:49 +00:00
Not looping higher than list
This commit is contained in:
@@ -608,7 +608,7 @@ 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);
|
console.log(result, List.found, List.not_found);
|
||||||
List.found = [];
|
List.found = [];
|
||||||
List.not_found = [];
|
List.not_found = [];
|
||||||
@@ -616,7 +616,6 @@ var List = {
|
|||||||
playlist: {
|
playlist: {
|
||||||
title: decodeURIComponent(channel.toLowerCase()) + ' - Zoff',
|
title: decodeURIComponent(channel.toLowerCase()) + ' - Zoff',
|
||||||
tracks: List.found,
|
tracks: List.found,
|
||||||
sharing: "public"
|
|
||||||
}
|
}
|
||||||
}).then(function(result) {
|
}).then(function(result) {
|
||||||
console.log(result, List.found, List.not_found);
|
console.log(result, List.found, List.not_found);
|
||||||
|
|||||||
Reference in New Issue
Block a user