This penalty shows up when the tracktotal doesn’t match up. Either
unmatched_tracks is likely to also trigger in
such a case, but it’s useful to distinguish the case where we’re
matching an album where I don’t have the whole thing (tracktotal
matches) from ones where it’s matching what’s probably the wrong album
release (tracktotal doesn’t match).
This would only have an effect when both the items have a tracktotal and
we have medium_totals for the info, and would check against both the
current disk medium_total and the total across all disks, since we don’t
know whether the imported tracks use per disc numbering.
This would let me bump the distance weight to move albums with
mismatched track totals down the candidates list for cases where it’s likely
not the same album release, while letting incomplete albums with the
same total stay farther up the list.
Thoughts? Too much complexity? Could it be optional, or allow plugins to
extend distance calculations? I’m playing around with a prototype now.