murdos / musicbrainz-userscripts

Collection of userscripts for MusicBrainz, by various authors
554 stars 92 forks source link

Bandcamp importer: add a threshold to identify various artist releases #190

Open culinko opened 6 years ago

culinko commented 6 years ago

Hi, I have a feature request :)

Currently, for the release to be identified as a Various Artist release, every single track has to contain the "-" sign. I was wondering, would it be possible to change the threshold to something like 90% of the tracks instead? An example that comes to mind is Monstercat compilation albums which usually don't contain the "-" sign on the last two tracks which are album mixes.

So https://music.monstercat.com/album/monstercat-012-aftermath looks like this: 012

I'd like it to behave similar to https://music.monstercat.com/album/monstercat-006-embrace (which doesn't have any album mixes): 006

I haven't found any disadvantages between the threshold of 90% and 100% tracks that contain the "-" sign yet. What do you think about this suggestion?

zas commented 5 years ago

@culinko : this "feature" is just here to help in "most cases", in fact we have no easy way to determine what is the title and what's the artist from Bandcamp list, hence this "wild guess".

It fails in various cases, and since we don't have any user settings for the userscript yet, not easy to tune.

Though your suggestion of 90% may actually work, it needs extensive tests, if you can't propose a patch, i'll try to find time to work on it.