I edited http://musicbrainz.org/release/218cecee-c862-39ce-bbb2-25e0bad1a6c4 and added a new medium by selecting the tracklist from http://musicbrainz.org/release/eaf48a41-0137-4979-8ff8-aa93de879a40. It seems that it resulted in duplicate tracklists:
The tracklist shouldn't have been duplicated, the medium should just link to the old tracklist.
Hmm, I got the impression that track lists are through away material anyway... it's not that anything is gained if the same one would be used. As soon as you edit one, a new one is created. Or am I wrong?
Identical tracklists are supposed to be automatically reused.
You are correct, hrglgrmpf, but there should not be duplicates.
Ok, thanks for the explanation! So this is mostly a database specific bug and will not change edit behavior in any way if fixed...
So to check if I am understanding correctly: the intended functionality, is that tracklists be split automatically if an edit is made to one release?
If so, it seems like it would be better if a tracklist could be locked, so as not to split on such edits: they would be made to the tracklist itself, and cascade. It seems very messy to have releases with identical tracklists being allowed to maintain different database tracklists. If there was a mistake in the original, it has to be changed multiple times (some of which could fail etc. etc.)
@Ger: I also thought about that... I wonder however if it is technically possible (not too hard), and what the UI for such a feature should be...
Ger: The plan is to have that as an option when editing the medium, at the moment that option is assumed to be "edit this tracklist independently"
Few examples here too: http://forums.musicbrainz.org/viewtopic.php?id=2958
Ok, so the problem are subsecond track durations. The release editor is only able to store seconds, so if you load a tracklist that has durations set by a CD TOC, the release editor will round them to the nearest second, which will no longer match the original tracklist.
I can see these possible options:
1) Make the release editor capable of storing milliseconds. This seems like a lot of work for very little benefit.
2) Round all track durations to the nearest second and start storing them as seconds in the next schema change.
3) Ignore the problem for now and start storing durations as seconds in the next schema change.
Regardless of the choice, I think I'd prefer to change the tracklist page to show all releases that have tracklists with the same recordings, not necessarily the same track durations or even track titles. That would make tracklists even more "anonymous" objects, but I think it's not big loss.
See discussion at http://chatlogs.musicbrainz.org/musicbrainz-devel/2011/2011-09/2011-09-19.html#T19-35-16-137339
I have two tracklists:
where I set the durations via the same disc id, but they are not merged. Is this related to this bug, or a new bug?
Call it a new bug for now and relate it to this ticket please
Done, see MBS-3858