And I remember and
Instead of treated, we get tricked. - Jay-Z
It’s inevitable that my own musical tastes will color improvements to Kapell’s enrichment, since it’s the stuff I play most often. Today it was Sharon Jones and The Dap Kings’ 100 Days, 100 Nights giving not just a lack of enrichment, but a full-on MusicBrainz match failure.
Turns out, when implementing matching, I handled connector symbols but I neglected to properly include connector words like “and”. Oops. Adding support for this yielded 6,087 Apple to MusicBrainz album matches.
Excitingly (?!) this yielded another bug! 100 Days, 100 Nights was also a single. This resulted in a release-group collision — singles and albums are release groups in MusicBrainz. The code bailed when this happened, since it’s unclear what to do. Now, we use Apple’s “type” to break the tie, preferring a match between Apple and MusicBrain’s album types. This tie unjammed 10,272 lonely albums.