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
8 Likes
Almost all recordings
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.
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
Release v0.5.0
You can now set a custom URL for the musicbrainz server in the config file.
New lints should appear soon now that I can have a test environement
Builds are roasting, and will be available soon
2 Likes
Release v0.5.9
- Greatly sped up lint checking when the entities are cached. However this has the disavantage of only refreshing the data if a lint get triggered on the cached data.
- Added
dash_eti
lint. This checks of ETIs that are formated with a dash instead of parenthesis. Ex: “KRUSH TO KILL - sped up => KRUSH TO KILL (sped up)”
Builds are slow cooking, and should be available soon
3 Likes
Release v0.5.11
Not providing a start MBID will now use your Listenbrainz listens as a starting point. So if you just want to let loose on your listens, just do alistral musicbrainz clippy
Lints
Lints now have a documentation page! Feel free to take a look (It’s not complete but shhh)
https://rustynova016.github.io/Alistral/clippy/lints.html
- label_as_artist: check if an artist credit is referring to a label set as article, and prompt to remove it
- missing_artist_link: Check if an artist has missing artist page urls, and link to harmony to add them
- missing_recording_link: Check if a recording has missing track urls, and link to harmony to add them
1 Like