This commit is contained in:
RemixDev 2021-07-25 11:35:37 +02:00
parent aa69439967
commit 7efaa6aaf7
No known key found for this signature in database
GPG Key ID: B33962B465BDB51C
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class Spotify(Plugin):
playlistAPI = self._convertPlaylistStructure(spotifyPlaylist) playlistAPI = self._convertPlaylistStructure(spotifyPlaylist)
playlistAPI['various_artist'] = dz.api.get_artist(5080) # Useful for save as compilation playlistAPI['various_artist'] = dz.api.get_artist(5080) # Useful for save as compilation
tracklistTemp = spotifyPlaylist.track.items tracklistTemp = spotifyPlaylist['track']['items']
while spotifyPlaylist['tracks']['next']: while spotifyPlaylist['tracks']['next']:
spotifyPlaylist['tracks'] = self.sp.next(spotifyPlaylist['tracks']) spotifyPlaylist['tracks'] = self.sp.next(spotifyPlaylist['tracks'])
tracklistTemp += spotifyPlaylist['tracks']['items'] tracklistTemp += spotifyPlaylist['tracks']['items']