[GH-ISSUE #115] [Bug Report] Cannot get Alternative Track #100

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

Originally created by @PandaBear80 on GitHub (Nov 13, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/115

Originally assigned to: @Googolplexed0 on GitHub.

Zotify Version
v0.9.21

Bug Description
I don't understand this issue much beyond I use the command and it throws the error. I did a fresh install of zotify and the issue persists.

Bug Triggering Command
zotify https://open.spotify.com/album/5tAx5V2rIEbqBAF40tNNeg?si=-WuUWuICTWKZ8nFTgMBYtg -rp /opt/navidrome/music -rt True --md-save-genres True --md-allgenres True

Error Traceback / Logs

    [●∙∙] Logging in...                                     [∙∙∙] Fetching track information...                     [∙●∙] Preparing download...                     

ERROR: SKIPPING SONG - GENERAL DOWNLOAD ERROR

Track_Label: Shaun Martin - Introduction - Track_ID: 476L3T21Mq9ISLiiRCMmmc

########################################################
{ 'album': '7Summers',
'album_artists': ['Shaun Martin'],
'album_id': '5tAx5V2rIEbqBAF40tNNeg',
'album_num': '01',
'total_discs': 1}
########################################################

Traceback (most recent call last):
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/track.py", line 293, in download_track
stream = Zotify.get_content_stream(track, Zotify.DOWNLOAD_QUALITY)
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 628, in get_content_stream
raise e
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 620, in get_content_stream
return cls.SESSION.content_feeder().load(content_id, VorbisOnlyAudioQuality(quality), False, None)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/audio/init.py", line 740, in load
return self.load_track(playable_id, audio_quality_picker, preload,
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
halt_listener)
^^^^^^^^^^^^^^
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/audio/init.py", line 792, in load_track
raise RuntimeError("Cannot get alternative track")
RuntimeError: Cannot get alternative track

Config File
[Default]

Additional Context
I think I had a similar issue with zotify last month but after being advised I updated zotify and librespot and it fixed my issue. Now I'm getting this new error and I'm not sure what to make of it

Originally created by @PandaBear80 on GitHub (Nov 13, 2025). Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/115 Originally assigned to: @Googolplexed0 on GitHub. **Zotify Version** v0.9.21 **Bug Description** I don't understand this issue much beyond I use the command and it throws the error. I did a fresh install of zotify and the issue persists. **Bug Triggering Command** zotify https://open.spotify.com/album/5tAx5V2rIEbqBAF40tNNeg?si=-WuUWuICTWKZ8nFTgMBYtg -rp /opt/navidrome/music -rt True --md-save-genres True --md-allgenres True **Error Traceback / Logs** [●∙∙] Logging in... [∙∙∙] Fetching track information... [∙●∙] Preparing download... ### ERROR: SKIPPING SONG - GENERAL DOWNLOAD ERROR ### ### Track_Label: Shaun Martin - Introduction - Track_ID: 476L3T21Mq9ISLiiRCMmmc ### ######################################################## { 'album': '7Summers', 'album_artists': ['Shaun Martin'], 'album_id': '5tAx5V2rIEbqBAF40tNNeg', 'album_num': '01', 'total_discs': 1} ######################################################## Traceback (most recent call last): File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/track.py", line 293, in download_track stream = Zotify.get_content_stream(track, Zotify.DOWNLOAD_QUALITY) File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 628, in get_content_stream raise e File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 620, in get_content_stream return cls.SESSION.content_feeder().load(content_id, VorbisOnlyAudioQuality(quality), False, None) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/audio/__init__.py", line 740, in load return self.load_track(playable_id, audio_quality_picker, preload, ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ halt_listener) ^^^^^^^^^^^^^^ File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/audio/__init__.py", line 792, in load_track raise RuntimeError("Cannot get alternative track") RuntimeError: Cannot get alternative track **Config File** [Default] **Additional Context** I think I had a similar issue with zotify last month but after being advised I updated zotify and librespot and it fixed my issue. Now I'm getting this new error and I'm not sure what to make of it
kerem 2026-02-27 04:57:32 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Googolplexed0 commented on GitHub (Nov 17, 2025):

v0.9.21 is out of date, please try updating to v0.9.31 (or better yet, the efficient-api branch) and see if that fixes your issue

<!-- gh-comment-id:3539664224 --> @Googolplexed0 commented on GitHub (Nov 17, 2025): v0.9.21 is out of date, please try updating to v0.9.31 (or better yet, the [efficient-api branch](https://github.com/Googolplexed0/zotify/tree/efficient-api)) and see if that fixes your issue
Author
Owner

@PandaBear80 commented on GitHub (Nov 17, 2025):

  • This fixed the issue. Sticking to the efficient-api branch from now on

v0.9.21 is out of date, please try updating to v0.9.31 (or better yet, the efficient-api branch) and see if that fixes your issue

<!-- gh-comment-id:3540354754 --> @PandaBear80 commented on GitHub (Nov 17, 2025): - This fixed the issue. Sticking to the efficient-api branch from now on > v0.9.21 is out of date, please try updating to v0.9.31 (or better yet, the [efficient-api branch](https://github.com/Googolplexed0/zotify/tree/efficient-api)) and see if that fixes your issue
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#100
No description provided.