mirror of
https://github.com/Googolplexed0/zotify.git
synced 2026-04-25 06:15:55 +03:00
[GH-ISSUE #95] [Bug Report] Cannot Get Alternative Track #82
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#82
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 @zhibufan on GitHub (Oct 7, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/95
Originally assigned to: @Googolplexed0 on GitHub.
Zotify Version
v0.9.27
Bug Description
cannot download song again ,i update to the new version,still not work
Traceback (most recent call last):
File "C:\Users\zbf\pipx\venvs\zotify\Lib\site-packages\zotify\track.py", line 292, in download_track
stream = Zotify.get_content_stream(track, Zotify.DOWNLOAD_QUALITY)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zbf\pipx\venvs\zotify\Lib\site-packages\zotify\config.py", line 628, in get_content_stream
raise e
File "C:\Users\zbf\pipx\venvs\zotify\Lib\site-packages\zotify\config.py", line 620, in get_content_stream
return cls.SESSION.content_feeder().load(content_id, VorbisOnlyAudioQuality(quality), False, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zbf\pipx\venvs\zotify\Lib\site-packages\librespot\audio_init_.py", line 741, in load
return self.load_track(playable_id, audio_quality_picker, preload,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zbf\pipx\venvs\zotify\Lib\site-packages\librespot\audio_init_.py", line 793, in load_track
raise RuntimeError("Cannot get alternative track")
RuntimeError: Cannot get alternative track
@Googolplexed0 commented on GitHub (Oct 18, 2025):
Please include your config file and the exact command you ran that caused this error. This usually happens due to an account issue or a track not being available in your region.
@NickDegrasse commented on GitHub (Nov 6, 2025):
I actually just started receiving this issue as well (Zotify version 0.9.25). I've tried both
zotify <playlist url>andzotify <song url>and both yielded the same error, even after re-logging in. Config settings are below:{ "DEBUG": "False", "ROOT_PATH": "~/Music/Zotify Music", "SAVE_CREDENTIALS": "True", "CREDENTIALS_LOCATION": "", "OUTPUT": "", "OUTPUT_PLAYLIST": "{playlist}/{album_artist} - {song_name}", "OUTPUT_PLAYLIST_EXT": "{playlist}/{album_artist} - {song_name}", "OUTPUT_LIKED_SONGS": "Liked Songs/{artist}_{song_name}", "OUTPUT_SINGLE": "{album_artist} - {song_name}", "OUTPUT_ALBUM": "{artist}/{album}/{album_num}_{artist}_{song_name}", "ROOT_PODCAST_PATH": "~/Music/Zotify Podcasts", "SPLIT_ALBUM_DISCS": "False", "MAX_FILENAME_LENGTH": "0", "BULK_WAIT_TIME": "30", "DOWNLOAD_REAL_TIME": "False", "TEMP_DOWNLOAD_DIR": "", "DOWNLOAD_PARENT_ALBUM": "False", "NO_COMPILATION_ALBUMS": "False", "REGEX_ENABLED": "False", "REGEX_TRACK_SKIP": "", "REGEX_EPISODE_SKIP": "", "REGEX_ALBUM_SKIP": "", "DOWNLOAD_FORMAT": "copy", "DOWNLOAD_QUALITY": "very_high", "TRANSCODE_BITRATE": "auto", "SONG_ARCHIVE_LOCATION": "", "DISABLE_SONG_ARCHIVE": "False", "DISABLE_DIRECTORY_ARCHIVES": "False", "SKIP_EXISTING": "True", "SKIP_PREVIOUSLY_DOWNLOADED": "True", "EXPORT_M3U8": "False", "M3U8_LOCATION": "", "M3U8_REL_PATHS": "True", "LIKED_SONGS_ARCHIVE_M3U8": "True", "DOWNLOAD_LYRICS": "False", "LYRICS_LOCATION": "", "ALWAYS_CHECK_LYRICS": "False", "LYRICS_MD_HEADER": "False", "LANGUAGE": "en", "STRICT_LIBRARY_VERIFY": "True", "MD_DISC_TRACK_TOTALS": "True", "MD_SAVE_GENRES": "True", "MD_ALLGENRES": "False", "MD_GENREDELIMITER": ", ", "MD_ARTISTDELIMITER": ", ", "MD_SAVE_LYRICS": "True", "ALBUM_ART_JPG_FILE": "False", "RETRY_ATTEMPTS": "1", "CHUNK_SIZE": "20000", "REDIRECT_ADDRESS": "127.0.0.1", "PRINT_SPLASH": "False", "PRINT_PROGRESS_INFO": "True", "PRINT_SKIPS": "True", "PRINT_DOWNLOADS": "True", "PRINT_DOWNLOAD_PROGRESS": "True", "PRINT_URL_PROGRESS": "True", "PRINT_ALBUM_PROGRESS": "True", "PRINT_ARTIST_PROGRESS": "True", "PRINT_PLAYLIST_PROGRESS": "True", "PRINT_WARNINGS": "True", "PRINT_ERRORS": "True", "PRINT_API_ERRORS": "True", "FFMPEG_LOG_LEVEL": "error" }@RedCardRef commented on GitHub (Nov 6, 2025):
Started having the same issue today. Config file is available here
@PrajnaAvidya commented on GitHub (Nov 6, 2025):
looks like spotify changed something which broke librespot https://github.com/librespot-org/librespot/issues/1623
@auisdhf878tyc807asdhfiunkm commented on GitHub (Nov 6, 2025):
There is a solution coming to librespot, but we'll have to wait for it to be implemented in librespot-python
@fafamobile commented on GitHub (Nov 6, 2025):
yea im pretty sure its librespot issue so hopefully fixed soon - can someone ping me when available
@imthekiller00 commented on GitHub (Nov 7, 2025):
@fafamobile it's available here: https://github.com/librespot-org/librespot/pull/1622
Bless you 🙏
@fafamobile commented on GitHub (Nov 7, 2025):
How do I run to update librespot?
@pandarrr commented on GitHub (Nov 7, 2025):
You can't run librespot (the Rust implementation) with Zotify. The change needs to be propagated to librespot-python which hasn't happened yet. Issue is being tracked here
@fafamobile commented on GitHub (Nov 10, 2025):
let me know when fixed and on zotify
@Googolplexed0 commented on GitHub (Nov 11, 2025):
Fixed on efficient-api branch