mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Stopping at full loop for exporting
This commit is contained in:
		| @@ -394,7 +394,7 @@ li.disabled span { | ||||
|     width: 76%; | ||||
| } | ||||
|  | ||||
| .import-soundcloud, .import-soundcloud:active, .import-soundcloud:visited, .export-soundcloud:visited { | ||||
| .import-soundcloud, .import-soundcloud:active, .import-soundcloud:visited, .export-soundcloud, .export-soundcloud:visited { | ||||
|     background: #f96200; | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -608,11 +608,7 @@ var List = { | ||||
|  | ||||
|     exportToSoundCloud: function(thisSong, i) { | ||||
|         console.log(thisSong, i); | ||||
|         if(thisSong == undefined) { | ||||
|             if(full_playlist.length > 0) { | ||||
|                 List.exportToSoundCloud(full_playlist[0], 1); | ||||
|             } | ||||
|         } else if(i != undefined && i == full_playlist.length) { | ||||
|         if(i >= full_playlist.length) { | ||||
|             SC_player.post('/playlists', { | ||||
|                 playlist: { | ||||
|                     title: decodeURIComponent(channel.toLowerCase()) + ' - Zoff', | ||||
| @@ -624,6 +620,10 @@ var List = { | ||||
|                 List.found = []; | ||||
|                 List.not_found = []; | ||||
|             }); | ||||
|         } else if(thisSong == undefined) { | ||||
|             if(full_playlist.length > 0) { | ||||
|                 List.exportToSoundCloud(full_playlist[0], 1); | ||||
|             } | ||||
|         } else if(thisSong != undefined && i != undefined) { | ||||
|             var isFound = false; | ||||
|             if(thisSong.source == "soundcloud") { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user