Skip to content

nightly-584329e7-ls198

Pre-release
Pre-release

Choose a tag to compare

@LinuxServer-CI LinuxServer-CI released this 01 Nov 02:33
· 1 commit to nightly since this release
3c736e1

CI Report:

https://ci-tests.linuxserver.io/linuxserver/beets/nightly-584329e7-ls198/index.html

LinuxServer Changes:

No changes

Remote Changes:

Spotify: gracefully handle deprecated audio-features API (#6138)

Spotify has deprecated many of its APIs that we are still using, wasting
calls and time on these API calls; also results in frequent rate limits.

This PR introduces a dedicated AudioFeaturesUnavailableError and
tracks audio feature availability with an audio_features_available
flag. If the audio-features endpoint returns an HTTP 403 error, raise a
new error, log a warning once, and disable further audio-features
requests for the session.

The plugin now skips attempting audio-features lookups when disabled
(avoiding repeated failed calls and rate-limit issues).

Also, update the changelog to document the behavior.

To Do

  • Changelog. (Add an entry to docs/changelog.rst to the bottom of
    one of the lists near the top of the document.)