Relationships across merge


#1

In the notes to a proposed recording merge I said that, to my understanding, relationships from a source recording are moved to the target as part of the merge. However I don’t have a definitive source for that statement. Can anyone confirm or deny?

I think the following are not copied in a merge:

  • name, artist credit, and length (target’s values are preserved)
  • disambiguation comment
  • annotation? (just a guess, but it seems similar to disambiguation)

And, as I understand it, any edit history from the source that’s before the creation date of the target is also lost, which is why merging into the older MBID is preferred.


#2

The Documentation says that the following informations are carried to the target recording:
https://musicbrainz.org/doc/How_To_Merge_Recordi…

“Basic information like name, artist and length are carried over from the selected recording (this one you merge into) and every other information like identifiers (AcoustID) or releases are added from the other recordings.”
What about the relationships to Artists (the musicians of the recording)?


#3

You are almost correct. Unique relationships are moved over from the source to the target recording. The relationships are however merged if identical relationships already exists on the target recording. I.e. the same relationship (“artist performed electric guitar” or similar) will not be merged if the source relationship has a date and the target relationship doesn’t have a date.

  • The target’s recording name, artist AC and disambiguation is preserved.
  • The recording length is automatically calculated but I’m not sure which length that is preserved if there only are two releases.
  • Annotation - not sure, they are merged in release merges so that might also be the case here.

#4

Annotations should be combined, I think, if both have one, with some separator.


#5

I believe recording length is averaged from all linked releases.


#6

So if both source and target have a credit for “Jimi Hendrix performed electric guitar”, but only the source has a date, will the merged recording have only the credit with no date? Or it will have both dated and no-date credits because they’re not identical?


#7

I just remembered there’s a test server for just this kind of thing.

Annotations are combined, as reosarevok thought. The annotation from the target release comes first, followed by a horizontal line and then the source annotation.

Artist credits that are identical except for one having a date and the other no date, are merged into a single credit that includes the date.

Artist credits that differ by instrument “credited as” are not merged. So if one release had “guitar: Jimi Hendrix” and the other had “guitar [lead guitar]: Jimi Hendrix”, both will appear as separate relationships on the merged recording.

Artist credits are merged when one has the artist “credited as” specified and one does not. So credits for “guitar: Jimi Hendrix” and “guitar: James “Jimi” Hendrix” would result in a single credit with the as-credited name. If both source and target have ‘credited as’, the as-credited name from the target is used.