Alistral for Musicbrainz

For those not checking the listenbrainz community, I made a cli app with a bunch of tools for listenbrainz. While Alistral is mostly meant for Listenbrainz usage, I’ve decided to add some Musicbrainz focused commands there as it’s easier than making a second app for now.

This thread will only be for the Musicbrainz side. To see the listenbrainz side, click here

The only command right now is musicbrainz clippy. This tool check for missing field or errors on musicbrainz, and will display ways to fix it. Right now, there’s only two lints implemented:

  • missing_work: Search for recordings that have no works associated to them. All recordings should have works, so this is pretty mindless

  • missing_release_barcode: Search for releases that have no barcodes, nor have “This release has no barcode” checked. It can be just a lack of info, but in cases where it can be found, it’s useful to see.

This is heavily inspired from rust’s own clippy, which is a god send for spotting small mistakes. Although it can still make mistakes! Please double check before doing your edits.
More will come as I implement it, but most lints I got planned need more work on the caching side.

Download it here

6 Likes

Almost all recordings :slight_smile: It’s not clear whether improvisations for example should have works, and I guess the same could be said about field recordings.

5 Likes

Oh. I was under the impression that that every recording could have a work (and probably aint the only one). I’ll change the description to add those two cases.

Fixed in lastest version :wink:

Release v0.4.2

Clippy

Added whitelist (-w) and blacklist (-b) flags. Add a list of lint names after it to whitelist/blacklist them. It can remove some of the more pedantic lints cough missing work cough

Added colors to the type of lints

Lints

Added suspicious_remix lint. This warns when a recording looks like a remix (or VIP) and prompt to add a “remix of” and “remixer” relationship

Added missing_remixer_rel when a remix lacks a “remixer” relationship

Added missing_remix_rel when a remix lacks a “remix of” relationship

Added soundtrack_without_disambiguation for soundtracks works that have no disambiguation, which is required by the style guidelines

1 Like