zotify-dev / zotify

A fast and customizable music and podcast downloader.
zlib License
1.17k stars 87 forks source link

Error with NonType Object #95

Closed Happyfeet748 closed 7 months ago

Happyfeet748 commented 8 months ago

I keep encountering a NonType Object error persistently. I've gone through multiple reinstallation attempts of Zotify, tested it on a Windows VM, my Windows laptop, and another Mac, yet the issue remains consistent across platforms. Despite trying different Spotify accounts, I'm uncertain about the root cause of the problem.

`Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.12/bin/zotify", line 8, in sys.exit(main()) ^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/zotify/main.py", line 64, in main args.func(args) File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/zotify/app.py", line 52, in client download_from_user_playlist() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/zotify/playlist.py", line 81, in download_from_user_playlist download_playlist(playlist) File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/zotify/playlist.py", line 52, in download_playlist playlist_songs = [song for song in get_playlist_songs(playlist[ID]) if song[TRACK][ID]]


TypeError: 'NoneType' object is not subscriptable`
iMGMoosic commented 7 months ago

Can you explain what fixed this issue? Having the same problem running the latest update.

yodaluca23 commented 4 months ago

Same @Happyfeet748