Relationships across merge

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 Likes

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)?

4 Likes

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.
6 Likes

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

5 Likes

I believe recording length is averaged from all linked releases.

1 Like

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?

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.

7 Likes

In case anyone reads this old(ish) thread, the above is NOT correct. Edit history from the source is preserved even if it’s older than the creation of the target.

The major reason for preferring the older MBID as the target is simply to accommodate any consumers of MB data who don’t properly handle the redirects created by a merge. The assumption is that such consumers are more likely to have a reference to an older MBID than a newer.

5 Likes