-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
TypeError on using SpotDL to downlaod playlists #1147
Comments
It looks like the |
I found the song it's the 357 entry in the list. |
Thats very weird that it would happening. I haven't looked at the code base yet but would surrounding it in a try catch statement help |
This is the same thing that happens when we stop filtering the ytm results of I'm not wrong. cc:@s1as3r |
I think we should compare Try adding this before line if songEntry is None:
continue |
Yes, The error raised is the same one. Because when we don't filter out songs, some of the results don't have keys like |
@kyleharte could you check if all the songs in that playlist are available in your country? |
It's my playlist, so it definitely would be. |
Could you try this? |
Ah my bad. It's not the song I found a similar issue on spotify/spotipy (See: spotipy-dev/spotipy#626) @kyleharte you can skip any missing tracks by inserting this if songEntry['track'] is None:
continue |
Hey @bee395, could you open a PR to |
I created a pull request. |
I also get this error when downloading any song. |
@JavaScythe This specific issue is resolved on v3.2.2. |
Fixed in v3.3.2 |
Environment
Windows Subsystem for Linux 2
Expected Behaviour
Iterate over the playlist finding the songs
Actual Behaviour
Gets far down the list then throws a TyperError; 'NoneType' object is not subscriptable
Steps to Reproduce
1.spotdl https://open.spotify.com/playlist/6uMtvyRWTsOSLjRa5JXeRV?si=lSJgpT_mSrm2nz-I0614BA
Traceback
Any other information:
The text was updated successfully, but these errors were encountered: