musicbrainz/picard — pull request #331 by Sophist-UK (2014-05-23 13:58:25+00:00)
Title: Improve acoustid matching

This PR enhances the acoustid matching process as follows:

1. Fix the join-phrase code so that artist string used for comparison is same as used in MB / Picard normally.
(Previously appending ';' to next node rather than MB provided text to this node.)

2. Add tracknumber to the matching routine. (Note: I do not have sufficient tracks for testing to be able to tweak the values here - I have added this with the same weight as totaltracks.)

3. Check the number of sources for each release returned by acoustid server and eliminate those that have a very small number of sources cf. the maximum.

Note: This should eliminate false fingerprints, but it will also eliminate true fingerprints of recordings on rarely submitted acoustids. We could perhaps do further checking for e.g. similar artists or similar titles to (say) any recordings which have more than 20% of the maximum and include these back in again. Feedback on this welcome.