-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
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:
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!
Metadata
Metadata
Assignees
Labels
No labels