Userscript "MusicBrainz relation editor: Copy dates on recording relations" broken

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

@reosarevok’s gist https://gist.githubusercontent.com/reosarevok/e9fc05d7f251379c301b948623b3ef03/raw/e635364e2c3a60578bb349a9a95483711f6c4e4d/gistfile1.js fixes all issues for me

2 Likes

From his merge request fix (with instructions):

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