Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for KeyError: 'tracks' #103

Merged
merged 1 commit into from
Oct 17, 2020
Merged

Fix for KeyError: 'tracks' #103

merged 1 commit into from
Oct 17, 2020

Conversation

hydrix9
Copy link
Contributor

@hydrix9 hydrix9 commented Oct 17, 2020

API now appears to nest the json results under
"tracks:": { "items": [...tracks here...] }
rather than just
"items": [...tracks here...] }
which was resulting in a KeyError

API now appears to nest the results under 
"tracks:" { "items": [...tracks here...] } 
rather than just  
"items": [...tracks here...] } 
which was resulting in a KeyError
@SathyaBhat
Copy link
Owner

Thanks for this. This seems to be because of spotify's deprecation of the user_playlist_tracks method.

@SathyaBhat SathyaBhat merged commit 20312d1 into SathyaBhat:master Oct 17, 2020
@SathyaBhat SathyaBhat changed the title Update spotify.py Fix for KeyError: 'tracks' Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants