Skip to main content

beets-cataloghint

A beets plugin that narrows beets' MusicBrainz match down to the exact release, before the candidate list is shown.

When beets imports an album, MusicBrainz's musicbrainz plugin often resolves the right release-group but struggles to pick the correct release in that group (different pressings, editions, regions, remasters...).

cataloghint looks through what info is available in the album folder (barcode, catalog number, disambiguation text, country, year) and, when it can, picks the exact release for you.

What it does

  • Exactly one release stands out: Picked, and recommendation forced to strong
  • Several releases are tied (same barcode/catalog/year etc., nothing to differentiate them): beets' candidate list is narrowed to just those releases, and beets' distance scoring ranks and recommends between them.
  • None stands out, but beets' top pick scores worse than other release(s) in the same group: Recommendation forced to none
  • A disc under a parent folder whose sibling disc(s) already resolved as a multi-disc release: New disc is matched to that same release, as long as it still fits within the release's remaining multi-disc track count.

If no MusicBrainz release-group was resolved, or the lookup fails, cataloghint defers to beets as usual. It also defers to beets if the picked release fits the local files worse than beets' medium_rec_thresh, which usually means beets found the wrong release-group.

Installation

Install from PyPI into the same environment as beets:

pip install beets-cataloghint

or, if you installed beets as a uv tool:

uv tool install beets --with beets-cataloghint --reinstall

To upgrade, use pip install -U beets-cataloghint, or re-run the uv tool command above.

Then enable the plugin in your beets config:

plugins: cataloghint musicbrainz

(cataloghint requires the musicbrainz plugin to be enabled)

Configuration

All settings optional, defaults are:

cataloghint:
    check_cue: yes
    check_sibling_discs: yes
    auto_apply: no
    preferred_countries: []
  • check_cue: Look inside any .cue file found in the album folder for TITLE, PERFORMER and CATALOG hints.
  • check_sibling_discs: Reuse an already-resolved release for sibling discs found under the same parent folder (matched by artist/album identity), instead of re-scoring from scratch.
  • auto_apply: When a release is uniquely resolved, apply it automatically instead of just forcing the recommendation to strong.
  • preferred_countries: MusicBrainz country codes in order of preference (for instance [XW, XE, JP, US]), used as last resort, to break a tie after all other evidence are exhausted.

License

MIT

Metadata

Release files for beets-cataloghint 1.0.5

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-cataloghint 1.0.5
File Size Uploaded Provenance Actions
beets_cataloghint-1.0.5.tar.gz 78.7 kB Without provenance Details for beets_cataloghint-1.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beets-cataloghint 1.0.5
File Interpreter ABI Platform Actions
beets_cataloghint-1.0.5-py3-none-any.whl Python 3 none any Details for beets_cataloghint-1.0.5-py3-none-any.whl

Total release size: 96.7 kB

Release files / beets_cataloghint-1.0.5.tar.gz

Download URL beets_cataloghint-1.0.5.tar.gz
Size 78.7 kB
Tags Source
SHA-256 checksum
How to use checksums
47e4da705c140545f2ed1283fdb5b93c7fc07f075f00b531bef74a74897a2f24
BLAKE2b-256 checksum
How to use checksums
4a33c77a20689904f3dc3cbd017a5c9ddb6dab87a379c5e60c8ebe957899cc6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / beets_cataloghint-1.0.5-py3-none-any.whl

Download URL beets_cataloghint-1.0.5-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3e9c38be326cc2b66577db1c385698d5b82476ecfdd7405218e8938896c54e8
BLAKE2b-256 checksum
How to use checksums
7c529d5091c6495ffc597912ce79d6df5e53d64983c9509e617d1a2c92b9302c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for beets-cataloghint 1.0.5

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

1.0.5 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