Repository navigation
Bound public API quota retries and make genre tagging best-effort - #6
Merged
Merged
Conversation
PublicApi retried quota errors (codes 4 and 700) every 5 seconds with no limit. Tagging calls PublicApi.GetAlbum for every track to read genres, so a quota error stalled the track until Deezer stopped refusing. Quota errors now retry three times, then throw APIException, and tagging skips genres when the public API fails or returns none. Bump to 1.2.5. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix
PublicApi.Callretried quota errors (codes 4 and 700) every 5 seconds with no limit, the same pattern 1.2.3 removed fromGWApi. The plugin doesn't callPublicApidirectly, butApplyMetadataToTagLibFilecallsPublicApi.GetAlbumfor every track to read its genres, so a quota error stalled that track's download until Deezer stopped refusing.APIExceptionwith Deezer's message.!dereference ongenres.datathat the old code flagged as a possible break.Bumps the version to 1.2.5 with a changelog entry.
Skipped from the review: making
SetARLthrow on an anonymous session (USER_ID0). The plugin already checksUSER_IDbefore downloads, in the health check, and inARLUtilities.IsValid, and itsCheckAndSetARLandRefreshTokenpaths expectSetARLnot to throw.🤖 Generated with Claude Code