Best place to adjust match results


#1

hi there.
I’ve just started playing with beets and I’m looking for a way to alter results coming from discogs / mb; before they get compared with files and eventually applied. since most of my existing tags are lower-case (just like it that way), I’d like to lower the incoming results.
what’s the best place to do it? or the best way to write a plugin for it?
i’m playing with templates, but it looks like they are good for paths right now.
thanks!


#2

Yep! We don’t have an exposed way to modify results “on the fly” like this in a configuration file or similar, so a plugin would be the right thing. Given an appropriate place to hook in, what you’ll want to modify is the candidates field on ImportTask objects.


#3

Thanks. Will give it a try.