mirror of
https://github.com/Googolplexed0/zotify.git
synced 2026-04-25 06:15:55 +03:00
[GH-ISSUE #152] [Bug Report] Metadata TypeError (added_at) #135
Labels
No labels
bug
considering
discussion
documentation
enhancement
enhancement
good first issue
help wanted
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zotify#135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DoomVIle on GitHub (Jan 19, 2026).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/152
Originally assigned to: @Googolplexed0 on GitHub.
Zotify Version
v0.11.15
Bug Description
Zotify crashes when trying to download a specific playlist,
Bug Triggering Command
C:\Users\Vilev> zotify https://open.spotify.com/playlist/3EW5boIMBsnLunfMESeLZK
Error Traceback / Logs
zotify_DEBUG_2026-01-19_14-05-00.log
DEBUG
config_DEBUG.json saved to C:\Users\Vilev\AppData\Roaming\Zotify
zotify_DEBUG_2026-01-19_14-05-00.log logging to C:\Users\Vilev\Music\Zotify Music
DEBUG
Session Initialized Successfully
User Subscription Type: PREMIUM
Request Parsed as 1 URL
DEBUG
Total API Calls: 12
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "c:\users\vilev.local\bin\zotify.exe_main.py", line 6, in
sys.exit(main())
~~~~^^
File "C:\Users\Vilev\pipx\venvs\zotify\Lib\site-packages\zotify_main.py", line 143, in main
client(args, modes)
~~~~~~^^^^^^^^^^^^^
File "C:\Users\Vilev\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 85, in client
perform_query(args)
~~~~~~~~~~~~~^^^^^^
File "C:\Users\Vilev\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 77, in perform_query
raise e
File "C:\Users\Vilev\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 48, in perform_query
Query(Zotify.DATETIME_LAUNCH).request(urls).execute()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\Vilev\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 1725, in execute
self.parse_direct_metadata(*self.fetch_direct_metadata(direct_reqs_objs))
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Vilev\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 1540, in parse_direct_metadata
obj.grab_more_children(hide_loader=True)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "C:\Users\Vilev\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 1159, in grab_more_children
item_resps = self.fetch_items(hide_loader=hide_loader)
File "C:\Users\Vilev\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 1241, in fetch_items
item[TRACK][ADDED_AT] = item[ADDED_AT]
~~~~~~~~~~~^^^^^^^^^^
TypeError: 'NoneType' object does not support item assignment
Config File
config_DEBUG.json
Additional Context
I'm on the Efficient API branch, my playlist is pretty big and contains local files, which i think may contribute to this error happening
@Googolplexed0 commented on GitHub (Jan 20, 2026):
@DoomVIle see if the new-hierarchy branch fixes this issue.
@DoomVIle commented on GitHub (Jan 20, 2026):
Tried the new branch, still getting the error, I'm sending the debug files in case it helps
zotify_DEBUG_2026-01-20_10-07-38.log
config_DEBUG.json
@Googolplexed0 commented on GitHub (Jan 21, 2026):
Should be fixed with
github.com/Googolplexed0/zotify@ee88dfca80