A new MusicBrainz user script was released

Another small script with a single purpose. If you press the Escape key it will deselect checkboxes, by default only the ones used for merging in lists. It should be easy enough to extend with CSS selectors to match other checkboxes if you like.

It came to be before it was possible to open merges in a new tab with an extra button (and as I have learned later it seems CTRL+Click doesn’t work in Firefox for buttons)

4 Likes

Thank you Chaban. Edit notes with “My mistake” are history now

I’ve taken a liking to the scripts made by @RustyNova but unfortunately the ones for Beatport were also broken and seemed no longer maintained so tried fixing them. Additionally I combined them so you don’t need two scripts. One script to rule them all.

The code has been heavily refactored and optimized with the help of “AI”. API calls to MusicBrainz were optimized to allow querying up to 100 URLs at once and sending a proper user agent. Rate limits should be history.

Not really. It’s just that I took a break from metadata inserts, and beatport was mostly for me to insert whole labels (Only did Subsidia), so I didn’t see it break.
But thanks anyways. Working with userscripts is pretty infuriating to me…

2 Likes

5 posts were split to a new topic: Overcoming API rate limiting

Can you please move this off-topic discussion somewhere else? Thank you :blush:
This is supposed to be purely an announcement thread. (I receive an email for every post in here because I want to stay informed on new userscripts, not to follow random discussions.)

5 Likes

I’ve been looking for a way to perform clicks in multiple tabs for a long time until @yomo12 showed up and demonstrated the Broadcast Channel API :star_struck:

Inspired by this I went and made a more general purpose script. For now it supports submitting edits on MB pages that end with “/edit” or “add-cover-art” and added support for MagicISRC.
However I recommend using this on the beta version only for the time being since it has better rate limit handling

You can use the multi tab submission feature either from your userscript manager’s context menu or bookmarklets:

MusicBrainz: Submit Edit (All Tabs)
javascript:(function(){ new BroadcastChannel('mb_edit_channel').postMessage('submit-edit'); })();

MagicISRC: Submit ISRCs (All Tabs)
javascript:(function(){ new BroadcastChannel('magicisrc_submit_channel').postMessage('submit-isrcs'); })();

Don’t forget to also install the auto login script for ISRC importers whose security I’ve since tightened

3 Likes

Now we need to figure out how to close all submitted tabs :smile:

cc @dvirtz

3 Likes

You can register another broadcast message and call window.close() I guess

1 Like

I’ve got you covered. Automatic tab closing is now implemented. However this won’t work on MagicISRC beta.

4 Likes

Thanks!

Added this function into my Open All Recordings Script.

2 Likes

@chaban while I have you here, I think you missed my reply on this edit note. Can you post the fix you made for my script Wikipedia to Wikidata?

Thank you

1 Like

@Muxxer has released a “Metal-Archives MusicBrainz Integration” userscript:

2 Likes

I recently hung out with ChatGPT to fling clueless prompts and nonsense code back and forth until some kind-of-working scripts came out.

MusicBrainz Elephant Tags

Adds a button to submit and remember tag strings. Ctrl+click to forget them again [github]

This one came out good! Press the brain icon to submit and save the entered tag or series of tags. Reuse them later with just a click. ctrl+click on a saved tag set to remove it again. Entirely inspired by @jesus2099’s excellent Elephant Editor script.

image

4 Likes

MusicBrainz RYM Link Checker

Pretty much exactly what @Muxxer was working on for Metal Archives (coincidentally), this script is also inspired by @murdos’ Discogs importer.

This one came out eeeeh. It searches for matching artist/release-group/label entities on a bunch of different RYM pages, and displays icons indicating if a found MB entity has a URL relationship to the RYM entity. Sometimes it works! [github]

image

3 Likes

aerozol inspired me… I spent some time with ChatGPT and the result is this \ o /

MusicBrainz: Show Quebec Flag Everywhere

The script adds a Quebec flag where the area is shown (like country flags).

2 Likes

Quick-and-dirty script for batch removing cover art. Not pretty but works so far.
Should be especially useful for those who work on the Pseudo-Releases that have cover art report

4 Likes

A userscript that injects the external URLs on recordings (streaming, purchase, etc. links) into the tracklist in release pages. Something I desperately needed with all the recording links’ seeding I’ve been doing recently.

It’s AI-made and there’s still space for improvements. The slowness of the “(Re)Load all links” functionality was sadly a necessary evil due to the request limits onto the MB API. Nevertheless it helps me summarize mine or others’ work without all the clutter of new tabs or getting lost in the editing histories.

Upon page load, you can toggle the sets of URLs on recordings individually.

Alternatively, you can initiate the loading for all recordings within the release by clicking on “Load all links”.

7 Likes

Yet another small script for Harmony. It allows redoing the current lookup with an MBID from the clipboard for more comfortable updating of existing releases.

image

3 Likes

Quick-and-dirty script for Harmony. When updating a release it sets the packaging to “none” and adds the barcode. It will be deleted once proper updating is implemented in Harmony and thus unlisted at Greasy Fork.

2 Likes