From 3ca077774bf7ace2d3411bafacece027a22f8625 Mon Sep 17 00:00:00 2001 From: Riccardo <39907128+riccardo97p@users.noreply.github.com> Date: Tue, 10 Sep 2019 15:33:29 +0200 Subject: [PATCH] error downloding playlist there was an error downloading playlists, now should work as expected --- spotify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotify.py b/spotify.py index 3972c19..f3fd782 100755 --- a/spotify.py +++ b/spotify.py @@ -150,7 +150,7 @@ def getPlaylistTracks(self, playlist_uri): offset = i*100 ) - for j, item in enumerate(playlist['items']): + for j, item in enumerate(playlist['tracks']['items']): data = item['track'] tracks.append({ 'uri' : str(data['uri'].split(':')[-1]),