Repository navigation
Add Apple Music cover art provider plugin - #435
Open
MosheWelcher wants to merge 3 commits into
Open
MosheWelcher wants to merge 3 commits into
MosheWelcher wants to merge 3 commits into
Conversation
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.
Overview
This pull request introduces a new cover art provider plugin that fetches high-resolution front cover art directly from the public iTunes Search API. This provides a highly reliable fallback alternative for environments where
coverartarchive.orgorarchive.orgare experiencing downtime or network unreachability.Key Features
itunes.apple.comendpoint, requiring no user accounts or API keys.AppleMusicOptionsPageUI allowing users to set target image resolutions (from 600x600 up to 3000x3000), specify a localized store country code (defaulting to "US"), and adjust the match confidence threshold.Technical Implementation
score_candidatefunction to evaluate API results against existing Picard tags. It normalizes strings, checks for exact and prefix matches, and heavily weights track count parity to confirm accuracy.upscale_artwork_urlfunction intercepts the default 100x100 thumbnail URL provided by Apple and dynamically rewrites the URL string via regex to fetch the user-configured high-resolution square image directly frommzstatic.com.@phw @rdswift Thank you for responding promptly