Function reconcile

Source
pub fn reconcile(data: &mut UserData, catalog: &Catalog) -> Attachment
Expand description

Reconciles personal references without guessing from a filename alone.

Existing references capture optional file evidence. Missing tracks move only to one matching basename, size, metadata and stream identity, with no personal data already at the destination for that owner. Legacy references lacking evidence remain waiting. Album references using a former disc folder migrate to the release’s canonical folder only when their resolution is unambiguous. Artist MBID aliases follow the same unique-identity rule as direct lookup; canonical keys and conflicting personal records retain their precedence. No annotation, play or counter is deleted.