You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for sharing your work. It's great!
Trying to use the python code to ingest the Spotify API I found an issue due to having podcasts in some of my playlists. I've written a workaround that may be useful (yet not elegant).
In line 67, replace: if len(json_items["items"]) > 0
with:
if json_items is not None:
if len(json_items["items"]) > 0 and not any(i['track'].get('episode',False) for i in json_items["items"]):
and indent the following code.
Hope it helps!
The text was updated successfully, but these errors were encountered:
Hello,
First of all, thanks for sharing your work. It's great!
Trying to use the python code to ingest the Spotify API I found an issue due to having podcasts in some of my playlists. I've written a workaround that may be useful (yet not elegant).
In line 67, replace:
if len(json_items["items"]) > 0
with:
and indent the following code.
Hope it helps!
The text was updated successfully, but these errors were encountered: