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