Open tagdara opened 1 year ago
In the last few days I noticed a number of track crashes or skips and discovered errors in the log similar to this:
2023-10-19 22:39:36,593 WARN CdnManager:186 - Couldn't extract expiration, invalid parameter in CDN url: https://audio4-gm-fb.spotifycdn.com/audio/b2...43?Expires=1697866776~FullPath~hmac=_Pl...t0=
Supported formats previously came in two flavors:
one where the expires value was just sent as part of the name of the url parameter: https://audio4-fa.scdn.co/audio/09...51?1697904085_be...9L-IF-tO...bU=
one where token was used and exp was parsed out: https://audio4-ak-spotify-com.akamaized.net/audio/0f...cf?__token__=exp=1697904087~hmac=80...99
I added support for this new Expires parameter into setUrl in the CDN Manager, matching the format of the code which checks the token version
In the last few days I noticed a number of track crashes or skips and discovered errors in the log similar to this:
2023-10-19 22:39:36,593 WARN CdnManager:186 - Couldn't extract expiration, invalid parameter in CDN url: https://audio4-gm-fb.spotifycdn.com/audio/b2...43?Expires=1697866776~FullPath~hmac=_Pl...t0=
Supported formats previously came in two flavors:
one where the expires value was just sent as part of the name of the url parameter: https://audio4-fa.scdn.co/audio/09...51?1697904085_be...9L-IF-tO...bU=
one where token was used and exp was parsed out: https://audio4-ak-spotify-com.akamaized.net/audio/0f...cf?__token__=exp=1697904087~hmac=80...99
I added support for this new Expires parameter into setUrl in the CDN Manager, matching the format of the code which checks the token version