Skip to content

Tracks skip or crash with CDN Expiration warning in log #737

Open
@tagdara

Description

@tagdara

Describe the bug
Tracks stop playing suddenly and playback either stops or moves to the next track. In the logs, an error is noted "Couldn't extract expiration"

To Reproduce
It is intermittent, as only some of the CDN URL's seem to be using this format. It typically takes no less than 3-4 songs to encounter, but has been as long as 20.

Expected behavior
Expiration value should be parsed correctly and chunk should not be prevented from loading

Screenshots/Stracktraces/Logs
2023-10-20 09:01:26,819 WARN CdnManager:187 - Couldn't extract expiration, invalid parameter in CDN url: https://audio4-gm-fb.spotifycdn.com/audio/0f...cf?Expires=1697904086~FullPath~hmac=fTI...Q=

Version/Commit
1.6.4-SNAPSHOT from dev branch

I've submitted a PR that updates the CDN manager code and have been running it locally without issue:
#736

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions