Please help me get loujine GM tools working

I am having no success at all getting most of the “loujine GM tools” scripts to do anything at all, and would appreciate some help and advice.

  1. I am using the Brave browser with Tampermonkey under Linux - developer mode enabled.
  2. The scripts load onto the relationships editor page and I see

3. However no matter what recordings are selected, the “apply” button is inert. For example, attempting to use “Clone recording relations”, I paste the source MBID into the box and select those I want to clone to. But clicking “apply” has no effect at all.

4. Clearly the scripts load, and are partially active - the MBID entry under “Clone Recordings” appears to work.

5. “Replace Artists” from a “Release” page is active and working, so there isn’t a fundamental issue with my configuration.

6. The same behaviour happens in other broswers - I last tried Chromium as a check but the behaviour is identical.

This has me completely stumped. Is this a bug, a compatiblity issue or just user error? I would appreciate some advice.

1 Like

I don’t know, I don’t use this, but, maybe it’s this bug?
If so, you can try to install userscripts from that @reosarevok patch:

  1. Go to @reosarevok patched branch: https://github.com/reosarevok/musicbrainz-scripts/tree/replace-getsourceentityinstance
  2. Don’t use the install buttons
  3. Click the userscript file you want (I don’t know which one it is)
  4. Click View raw or Raw, to install

If you have INSTALL USER SCRIPT, you replace steps 3 and 4 by:

  1. Click the monkey icon, to install

I just updated and there is no change in behaviour. Just to emphasize - none of the scripts I have installed appear to do anything from the relationship editor page. (Although tampermonkey certainly thinks they are active).

@Lioncat6 forked the entire repo and applied all open PRs

via Discord:

Noticed that GitHub - loujine/musicbrainz-scripts: Collection of greasemonkey scripts for MusicBrainz has been abandoned for roughly ~2 years so I forked it and applied all open patch PRs
GitHub - Lioncat6/loujine-musicbrainz-scripts: Updated & Fixed versions of @loujine's musicbrainz userscripts
Because of the way userscripts work, you can just click the install buttons in the readme to automatically update them to use my repo instead without having to delete the old ones

5 Likes

Yeah sorry my method didn’t work because it would still take original mbz-loujine-common.js from master branch.

See the next solution, then. :wink:

I hope to see @loujin again, one day, though

1 Like

Aha. After reinstalling from that new version of the github repo, the “clone recording relations” script now seems to be working! Though I need to specify the source using its MBID - the numeric index specification still does nothing.

Anyhow, thank you very much for the help. Hopefully this can be documented somewhere.

I’ve been looking for this answer for years. Thanks @chaban and @Lioncat6

2 Likes

The index is for the destination of the mbid out of the selected recordings.
Index is actually misleading here because it doesn’t start on 0, but on 1.
The index just specifies which of the tracks out of the ones you currently have selected to paste the copied relationships into.

Took me a minute to figure it out too.

1 Like