You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chroma: AcoustID evidence no longer affects candidate distance (last working in 2.3.1) #7230
The chroma plugin still proposes AcoustID-based candidates during import, but its fingerprint evidence no longer influences their distance or the recommendation.
AcoustidPlugin.track_distance() (beetsplug/chroma.py, line 223 in 2.14.1) adds a track_id penalty when a candidate's recording is not among the AcoustID matches. Since beets 2.5.0 nothing calls it: track_distance() and distance() in beets/autotag/distance.py no longer call any per-plugin hook. The only plugin-related part left is the data_source penalty. Called directly, the method still returns the penalty.
I compared this with a small script (identical item and candidate, MusicBrainz lookups mocked, AcoustID matches set to recordings that do not include the candidate's recording):
2.3.1: track distance 0.0 -> 0.357 (track_id penalty), recommendation drops from strong to low
2.5.0, 2.5.1 and 2.14.1: no change at all
The last release where this worked is 2.3.1. In 2.4.0 the chroma plugin did not load at all (#6033). That was fixed in 2.5.0, the same release in which #6077 (fix for #6066) removed the plugin distance hooks; chroma was not updated for that change.
The developer docs (docs/dev/plugins/autotagger.rst) still describe overriding album_distance / track_distance, which no longer exist.
PR #7182 already adds new penalty hooks and moves chroma to them.
I used an AI assistant to help trace the code and history; I checked the findings and reproduced them myself and can answer questions.
Setup
OS: Linux (linuxserver/beets Docker image on a NAS)
Python version: 3.12.16
beets version: 2.14.1
Turning off plugins made problem go away (yes/no): n/a (the problem is in the chroma plugin itself)
changed the title [-]chroma: AcoustID fingerprints no longer affect candidate scoring since 2.5.0[/-][+]chroma: AcoustID evidence no longer affects candidate distance (last working in 2.3.1)[/+]on Nov 30, 2026
Activity
[-]chroma: AcoustID fingerprints no longer affect candidate scoring since 2.5.0[/-][+]chroma: AcoustID evidence no longer affects candidate distance (last working in 2.3.1)[/+]