Topic: Compilation flag from Plugin
Is there any way from a plugin that I can see if a release is a compilation or not? I was expecting to be able to use metadata["compilation"] or similar, but this doesn't seem to be set.
At the moment I have a convoluted function which parses the release info and checks the percentage of tracks that have the album artist set as a contributing artist for that track. If that percentage is below a certain threshold (I think I'm using 70% at the moment) then the release is considered to be a compilation. However if there's a more reliable way of doing this via the info scraped from MusicBrainz, I'd definitely prefer it over my method.