[GH-ISSUE #173] [Bug Report] Zotify stopped working #155

Open
opened 2026-02-27 04:57:50 +03:00 by kerem · 2 comments
Owner

Originally created by @mmccaall on GitHub (Feb 19, 2026).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/173

Originally assigned to: @Googolplexed0 on GitHub.

Zotify Version

% zotify --version
Zotify 0.11.15

Bug Triggering Command

ll@Mac-3 ~ % zotify "https://open.spotify.com/playlist/16d8jzAeneSBn6LS4QobSb?si=2f3d9b98993e4673"
                                                                                
	[∙●∙] Logging in...                                                             [∙∙∙] Fetching playlist information...                                          [●∙∙] Parsing playlist information...                                                                                                                   


Traceback (most recent call last):
  File "/Users/ll/.local/bin/zotify", line 7, in <module>
    sys.exit(main())
             ~~~~^^
  File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/__main__.py", line 143, in main
    client(args, modes)
    ~~~~~~^^^^^^^^^^^^^
  File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 85, in client
    perform_query(args)
    ~~~~~~~~~~~~~^^^^^^
  File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 77, in perform_query
    raise e
  File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 48, in perform_query
    Query(Zotify.DATETIME_LAUNCH).request(urls).execute()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1729, in execute
    self.parse_direct_metadata(*self.fetch_direct_metadata(direct_reqs_objs))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1542, in parse_direct_metadata
    obj.parse_metadata(item_resp)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1234, in parse_metadata
    self.needs_expansion = NEXT not in playlist_resp[TRACKS] or playlist_resp[TRACKS][NEXT] is not None
                                       ~~~~~~~~~~~~~^^^^^^^^
KeyError: 'tracks'
ll@Mac-3 ~ % 

Config File
config.json

Additional Context
This is my 3rd time making a Bug Issue, I hope the creator pays attention. Zotify used to work great for me but since the API changes, it just stopped working. I followed the Installation guide for efficient-api, and I followed the guide the creator posted from here: https://github.com/Googolplexed0/zotify/issues/135#issuecomment-3742078424 .
I also use Premium and I have Spotify Developer set up to work with Zotify for api requests:

Image Image Image
Originally created by @mmccaall on GitHub (Feb 19, 2026). Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/173 Originally assigned to: @Googolplexed0 on GitHub. **Zotify Version** ``` % zotify --version Zotify 0.11.15 ``` **Bug Triggering Command** ``` ll@Mac-3 ~ % zotify "https://open.spotify.com/playlist/16d8jzAeneSBn6LS4QobSb?si=2f3d9b98993e4673" [∙●∙] Logging in... [∙∙∙] Fetching playlist information... [●∙∙] Parsing playlist information... Traceback (most recent call last): File "/Users/ll/.local/bin/zotify", line 7, in <module> sys.exit(main()) ~~~~^^ File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/__main__.py", line 143, in main client(args, modes) ~~~~~~^^^^^^^^^^^^^ File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 85, in client perform_query(args) ~~~~~~~~~~~~~^^^^^^ File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 77, in perform_query raise e File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 48, in perform_query Query(Zotify.DATETIME_LAUNCH).request(urls).execute() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1729, in execute self.parse_direct_metadata(*self.fetch_direct_metadata(direct_reqs_objs)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1542, in parse_direct_metadata obj.parse_metadata(item_resp) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/Users/ll/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1234, in parse_metadata self.needs_expansion = NEXT not in playlist_resp[TRACKS] or playlist_resp[TRACKS][NEXT] is not None ~~~~~~~~~~~~~^^^^^^^^ KeyError: 'tracks' ll@Mac-3 ~ % ``` **Config File** [config.json](https://github.com/user-attachments/files/25406082/config.json) **Additional Context** This is my 3rd time making a Bug Issue, I hope the creator pays attention. Zotify used to work great for me but since the API changes, it just stopped working. I followed the Installation guide for `efficient-api`, and I followed the guide the creator posted from here: https://github.com/Googolplexed0/zotify/issues/135#issuecomment-3742078424 . I also use Premium and I have Spotify Developer set up to work with Zotify for api requests: <img width="2045" height="1127" alt="Image" src="https://github.com/user-attachments/assets/0a8583f1-0d5f-44e9-835c-ad84b36773d7" /> <img width="277" height="196" alt="Image" src="https://github.com/user-attachments/assets/66f13439-abc3-4289-9152-c6228f46d7cb" /> <img width="824" height="208" alt="Image" src="https://github.com/user-attachments/assets/8e5c0e6d-d5a3-4b80-a733-f20899488eab" />
Author
Owner

@sern19 commented on GitHub (Feb 19, 2026):

I also have this issue.
Seems like TRACKS and TRACK changed to ITEMS and ITEM in a playlist, I'm not a python dev thou, so I wasn't able to properly debug this or fix it.

<!-- gh-comment-id:3925186601 --> @sern19 commented on GitHub (Feb 19, 2026): I also have this issue. Seems like TRACKS and TRACK changed to ITEMS and ITEM in a playlist, I'm not a python dev thou, so I wasn't able to properly debug this or fix it.
Author
Owner

@vredez commented on GitHub (Feb 21, 2026):

Seems they have crippled their API: https://developer.spotify.com/blog/2026-02-06-update-on-developer-access-and-platform-security

<!-- gh-comment-id:3938831218 --> @vredez commented on GitHub (Feb 21, 2026): Seems they have crippled their API: https://developer.spotify.com/blog/2026-02-06-update-on-developer-access-and-platform-security
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/zotify#155
No description provided.