Skip to main content

beets-moreart

A beets plugin that fetches extra album artwork from Fanart.tv, MusicBrainz Cover Art Archive, and TheAudioDB.

Quick Start

Install from the MoreArt project directory for local testing:

pipx inject beets .

Enable the plugin in your Beets configuration:

plugins:
  - moreart

Fetch artwork for your library:

beet moreart

Artwork is saved in each album directory:

Artist/
└── Album/
    ├── back.jpg
    ├── discart.png
    └── spine.jpg

What does this do?

Beets' built-in fetchart plugin fetches front-cover artwork. beets-moreart looks for additional artwork: disc art, spine images, and back covers. It searches Fanart.tv, MusicBrainz Cover Art Archive, and TheAudioDB, then saves the results beside the album's music files.

MusicBrainz lookups use the album's release ID. Fanart.tv and TheAudioDB credentials are optional; sources without a configured key are skipped.

Installation

With pip

After the package has been published to PyPI:

pip install beets-moreart

With pipx

After the package has been published to PyPI:

pipx inject beets beets-moreart

From this checkout

Run these commands from the MoreArt project directory. Use the pipx command when Beets is installed in a pipx-managed environment; otherwise use pip with the same Python environment as Beets.

pipx inject beets .
# Or, when Beets and the plugin share a Python environment:
python -m pip install .

Configuration

Add the plugin to your Beets configuration file (config.yaml):

plugins:
  - moreart

moreart:
  fanarttv_key: YOUR_API_KEY
  theaudiodb_key: YOUR_API_KEY
  sources: [fanarttv, theaudiodb, musicbrainz]
  types: [discart, spine, back]
  run_on_import: yes
  timeout: 15
  cache_results: yes
  recheck_days: 30
  resize:
    enabled: yes
    discart: [1000, 1000]
    back: [750, 750]
    spine: [35, 700]
  fuzz: 15%
  background:
    multi_corner: yes

Adjust options as desired:

Parameter Default Description
fanarttv_key null Optional Fanart.tv API key
theaudiodb_key null Optional TheAudioDB API key
sources [fanarttv, theaudiodb, musicbrainz] Sources to try, in order
types [discart, spine, back] Artwork types to fetch
run_on_import yes Fetch artwork after an album is imported
timeout 15 Seconds to wait for each HTTP request
cache_results yes Remember artwork types that had no usable result
recheck_days 30 Days to wait before retrying cached no-artwork results
resize.enabled yes Resize fetched images when ImageMagick is available
resize.discart [1000, 1000] Disc art dimensions
resize.back [750, 750] Back-cover dimensions
resize.spine [35, 700] Spine dimensions
fuzz 15% ImageMagick color tolerance for disc-art background removal
background.multi_corner yes Remove the background from multiple disc-art edges

Usage

Automatic (during import)

When run_on_import is enabled, MoreArt checks for artwork after an album is imported. Existing artwork is left alone.

Manual (on demand)

Command Description
beet moreart Fetch configured artwork for all albums
beet moreart beatles Fetch artwork for matching albums
beet moreart --pretend Show planned source/type attempts without downloading or saving
beet moreart --force Ignore cached no-artwork results and search again

Only negative results are cached. Existing artwork is checked on disk each time, and changing the configured sources, API keys, or album metadata triggers a fresh lookup. --force bypasses cached misses; it does not overwrite artwork that already exists.

After a manual run, MoreArt prints a summary:

========================================
  MoreArt summary
  Albums checked:       12
  Artwork saved:        18
  Already present:      14
  Cached no-image:      2
  No image saved:       4
  Would fetch (pretend): 0
  Albums missing path:  0
========================================

How it Works

  1. Checks the album directory and skips artwork that is already present.
  2. Uses configured sources in order, falling back when no usable image is returned.
  3. Saves valid images beside the album files.
  4. Caches missing-artwork searches on the album record and retries after the configured interval.
  5. Converts back and spine artwork to JPEG when ImageMagick is installed.
  6. Keeps disc art as PNG when ImageMagick is installed so transparency is preserved.

Requirements

  • Beets 2.0.0 or newer
  • Python 3.9 or later
  • Internet access

The plugin uses Python's standard library for HTTP requests and adds no third-party Python runtime dependency beyond Beets. ImageMagick (magick or convert) is optional; it enables conversion, resizing, and disc-art background removal. Without it, images are saved in their original format.

Metadata

Release files for beets-moreart 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beets-moreart 0.1.0
File Size Uploaded Provenance Actions
beets_moreart-0.1.0.tar.gz 11.4 kB Without provenance Details for beets_moreart-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beets-moreart 0.1.0
File Interpreter ABI Platform Actions
beets_moreart-0.1.0-py3-none-any.whl Python 3 none any Details for beets_moreart-0.1.0-py3-none-any.whl

Total release size: 21.0 kB

Release files / beets_moreart-0.1.0.tar.gz

Download URL beets_moreart-0.1.0.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
aa06f738929f740a2bb8a3e19dd09daeab04f470b91a36acec1553651c23d055
BLAKE2b-256 checksum
How to use checksums
7ce60f965c86b5fd2fc0c33a24f4ebe99e3bb2c0aa813c0056469151e3a1d228
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / beets_moreart-0.1.0-py3-none-any.whl

Download URL beets_moreart-0.1.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9435bc7a7d97bb81b635fc1549493ff9e835a783417461b749a823567f7488c
BLAKE2b-256 checksum
How to use checksums
123573036708bdd11a6a4aec4adae779e6fd57d50eda77819909ea77caaac9c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for beets-moreart 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page