[GH-ISSUE #36] [Bug Report] "Couldn't extract expiration" #29

Closed
opened 2026-02-27 04:57:11 +03:00 by kerem · 1 comment
Owner

Originally created by @LaneSBarnes on GitHub (Jul 28, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/36

Originally assigned to: @Googolplexed0 on GitHub.

Bug Description
Im getting message "Couldn't extract expiration, invalid parameter in CDN url". However, the song seems to download successfully with all metadata correct, so I dont think this is actually breaking anything.

Error Traceback / Logs


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

Couldn't extract expiration, invalid parameter in CDN url: https://audio-cf.spotifycdn.com/audio/99b855cf8d8f5146593b0de404c6cb3029161169?verify=1753767519-kUUpvm%2FrbPVAauygQNKILTceTF%2FlKh8LrxAVFHmC11Y%3D[∙●∙] Fetching genre information...
[∙●∙] Fetching lyrics...
[∙●∙] Converting file...
###   DOWNLOADED: "Ringo Starr_Never Let Me Go.ogg"   ###
###   DOWNLOAD TOOK 03:55 (PLUS 0s CONVERTING)   ###

Config File

{
    "ROOT_PATH": "~/storage/music/ZotifyMusic",
    "SAVE_CREDENTIALS": "True",
    "CREDENTIALS_LOCATION": "~/.config/zotify",
    "OUTPUT": "",
    "OUTPUT_PLAYLIST": "{artist}_{song_name}",
    "OUTPUT_PLAYLIST_EXT": "{artist}_{song_name}",
    "OUTPUT_LIKED_SONGS": "Liked Songs/{artist}_{song_name}",
    "OUTPUT_SINGLE": "{artist}/{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": "1",
    "DOWNLOAD_REAL_TIME": "True",
    "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": "False",
    "EXPORT_M3U8": "True",
    "M3U8_LOCATION": "",
    "M3U8_REL_PATHS": "True",
    "LIKED_SONGS_ARCHIVE_M3U8": "True",
    "DOWNLOAD_LYRICS": "True",
    "LYRICS_LOCATION": "",
    "ALWAYS_CHECK_LYRICS": "False",
    "LYRICS_MD_HEADER": "False",
    "LANGUAGE": "en",
    "MD_DISC_TRACK_TOTALS": "True",
    "MD_SAVE_GENRES": "True",
    "MD_ALLGENRES": "True",
    "MD_GENREDELIMITER": "",
    "MD_ARTISTDELIMITER": "",
    "MD_SAVE_LYRICS": "True",
    "ALBUM_ART_JPG_FILE": "False",
    "RETRY_ATTEMPTS": "3",
    "CHUNK_SIZE": "20000",
    "OAUTH_ADDRESS": "0.0.0.0",
    "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"
}

Zotify Version
v0.9.0

Additional Context
Often I get ### WARNING: NO GENRES FOUND ### after this warning, but im not sure if they are related as in the log I posted I was able to get genre metadata just fine.

Originally created by @LaneSBarnes on GitHub (Jul 28, 2025). Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/36 Originally assigned to: @Googolplexed0 on GitHub. **Bug Description** Im getting message "Couldn't extract expiration, invalid parameter in CDN url". However, the song seems to download successfully with all metadata correct, so I dont think this is actually breaking anything. **Error Traceback / Logs** ``` [∙●∙] Fetching track information... [●∙∙] Preparing download... Couldn't extract expiration, invalid parameter in CDN url: https://audio-cf.spotifycdn.com/audio/99b855cf8d8f5146593b0de404c6cb3029161169?verify=1753767519-kUUpvm%2FrbPVAauygQNKILTceTF%2FlKh8LrxAVFHmC11Y%3D[∙●∙] Fetching genre information... [∙●∙] Fetching lyrics... [∙●∙] Converting file... ### DOWNLOADED: "Ringo Starr_Never Let Me Go.ogg" ### ### DOWNLOAD TOOK 03:55 (PLUS 0s CONVERTING) ### ``` **Config File** ``` { "ROOT_PATH": "~/storage/music/ZotifyMusic", "SAVE_CREDENTIALS": "True", "CREDENTIALS_LOCATION": "~/.config/zotify", "OUTPUT": "", "OUTPUT_PLAYLIST": "{artist}_{song_name}", "OUTPUT_PLAYLIST_EXT": "{artist}_{song_name}", "OUTPUT_LIKED_SONGS": "Liked Songs/{artist}_{song_name}", "OUTPUT_SINGLE": "{artist}/{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": "1", "DOWNLOAD_REAL_TIME": "True", "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": "False", "EXPORT_M3U8": "True", "M3U8_LOCATION": "", "M3U8_REL_PATHS": "True", "LIKED_SONGS_ARCHIVE_M3U8": "True", "DOWNLOAD_LYRICS": "True", "LYRICS_LOCATION": "", "ALWAYS_CHECK_LYRICS": "False", "LYRICS_MD_HEADER": "False", "LANGUAGE": "en", "MD_DISC_TRACK_TOTALS": "True", "MD_SAVE_GENRES": "True", "MD_ALLGENRES": "True", "MD_GENREDELIMITER": "", "MD_ARTISTDELIMITER": "", "MD_SAVE_LYRICS": "True", "ALBUM_ART_JPG_FILE": "False", "RETRY_ATTEMPTS": "3", "CHUNK_SIZE": "20000", "OAUTH_ADDRESS": "0.0.0.0", "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" } ``` **Zotify Version** v0.9.0 **Additional Context** Often I get `### WARNING: NO GENRES FOUND ###` after this warning, but im not sure if they are related as in the log I posted I was able to get genre metadata just fine.
kerem 2026-02-27 04:57:11 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Googolplexed0 commented on GitHub (Aug 8, 2025):

Appears to be another nuisance warning, should be silenced with 87bba82. If you find that one of the songs has been corrupted, please reopen this issue.

<!-- gh-comment-id:3166285605 --> @Googolplexed0 commented on GitHub (Aug 8, 2025): Appears to be another nuisance warning, should be silenced with 87bba82. If you find that one of the songs has been corrupted, please reopen this 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#29
No description provided.