vzell
April 18, 2025, 8:59am
1
A couple of days ago the userscript for copying dates to relationships from Loujine used to work. I now get the following error in the developer console:
and nothing happens when pressing the “Copy dates” button.
Any java script gurus out here have an idea whats going on ? And what has changed recently on the MB side which could explain the new behaviour ?
3 Likes
I am seeing similar issues on some of @loujin ’s other scripts. Particularly “Guess related works” and “Clone recording relations to selected recordings”. @aerozol created an issue on github: Clone recording relationships not working in Beta · Issue #114 · loujine/musicbrainz-scripts · GitHub
Hopefully someone can work it out since these are extremely helpful scripts!
2 Likes
vzell
April 19, 2025, 8:43am
4
2 Likes
From his merge request fix (with instructions):
master
← reosarevok:replace-getsourceentityinstance
opened 06:50PM - 12 Apr 25 UTC
MB beta removed `MB.getSourceEntityInstance` and it broke at least Guess Works, … but it can be replaced with `MB.relationshipEditor.state.entity` (tested and it works fine). Suggested by @mwiencek.
4 Likes
Replacing instruments has also quit working for me when I tried today. Worked recently. Use it all the time to change membranophone to drums.
Update: Did the substitute .js suggestion and now it works fine.
2 Likes