Track artists are performers but what role do they have on works?
Performers are not always lyricists or composers of the works they perform.
And even if they are, you would have to say whether they are lyricist and/or composers, so, it’s not really a straightforward copy any more.
Also as you have already selected some artists for tracks, the last 10 artists are in your recently used artists drop down selector when you want to add a new work-arist relationship.
Coz i am working with soundtrack and production music, so in these cases its mostly the same people. +Also i am checking PROs.
And i know about recently used, but its still a double work to assign them second time + high probability of human error when many of them or large release.
@loujin: IIUC, the actual idea @Darkloke needs is a way to turn track / recording artists into work composers. I guess you don’t have anything for that either? Track artist into composer might actually be useful for classical too sometimes, although I guess it’s often easy enough to batch-add.
@loujin, sorry if i am being too persistent on this topic, but how hard it would be to create such script? It will easy my editing on MB a lot, that’s why i am so curious.
Not hard, but the problem is maintaining the scripts in the future, especially scripts I don’t have a use for myself. So just writing it now doesn’t mean I will update it in the future or fix bugs, let that be clear.
Thank you, @loujin, but i have now rather a stupid question - how to use it? xD Lets say i have added a new release and now want to create new works and assign (copy using your script) writers there. I open a relationship editor: https://musicbrainz.org/release/eacdecf4-22dd-42ad-94c5-5a6a93400051/edit-relationships
Now i select one (or all) recording(s), click batch-create new works and then click an “apply” button from your script to transfer writer credits? Or should i before using your script attach (by submitting) these newly created works to recordings to form a link between them?
Anyway nothing is happening for me either way. The only thing i see after click an “apply” button is editor comment: —
GM script: “MusicBrainz relation editor: Set writer relation from recording artist” (2021.4.4)
I am using tampermonkey on chrome if that matters.
Normally you should first select the recordings you want (with the usual checkboxes) then click Apply. But it seems the script is not working on the release you linked, because there’s no explicit artist credit in the recordings. I’ll have to find another way to find the recording artists
Edit: should be fixed now with version 2021.4.5. Note that the script will need 1 second per recording because I have to use the API to get the necessary info
Thank you, @loujin. This script will be useful a lot.
The only question - is it possible to add credits not as “writers”, but as “composers”? I suppose this line determine that, but i wasnt able to figure how to modify it:
target: credit.artist,
As far as I remember you have to add something like dialog.relationship().linkTypeID(168) just before the dialog.accept() line. I can’t check right now
@loujin: if it’s relatively trivial, could this be expanded to copy rels from one medium to another? Use case being stuff like this release that has stereo + multichannel recordings with the same content:
I found a relatively easy way to define a range of “source” recordings to take relations from and applied on the other selected recordings (i.e. defining source as “1-4” on 12 selected recordings will apply the relations on recordings 5-8, and again on 9-12). So no management by medium, still have to count tracks to be used
That’s version 2022.1.28
Oh and there’s an info box 🛈 next to the input box to remind you of what syntax is recognized
I don’t think the other option (clone recording relations) can copy rels from N recordings of a separate release to N recordings on yours, only N to N recordings on the same release or 1 to N from a different release.
Thanks for the explanation, I might give it a shot at copying recordings on a Recording tab from one release to another, that would help with compilations that combine more than one release.