Skip to content

Conversation

redlamb
Copy link

@redlamb redlamb commented Jul 29, 2025

Add configuration option (match) to the fetchart plugin that allows user to set the algorithm used when fetching album art. Possible values are as follows:

  • first (default): Returns the first image that meets the specs defined by the config.
  • max_resolution: Fetch one image from each of the configured sources and return the one with the highest resolution.

Description

Possible solution for #3262. To be nice to backend providers, max_resolution will only download one image from each configured source before selecting the image with the highest resolution.

To Do

  • Documentation.
  • Changelog.
  • Tests.

Add configuration option (`match`) to the fetchart plugin that allows
user to set the algorithm used when fetching album art. Possible values
are as follows:

- `first` (default): Returns the first image that meets the specs
  defined by the config.
- `max_resolution`: Fetch one image from each of the configured sources
  and return the one with the highest resolution.
Copy link

codecov bot commented Jul 29, 2025

Codecov Report

❌ Patch coverage is 85.71429% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.73%. Comparing base (2680750) to head (00ea58d).

Files with missing lines Patch % Lines
beetsplug/fetchart.py 85.71% 2 Missing and 2 partials ⚠️
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant