top | item 45874600

(no title)

jank199x | 3 months ago

I assume lastgenre with canonicalization[0] enabled is what you need, along with count=1 if multiple genres are an issue.

[0] https://beets.readthedocs.io/en/stable/plugins/lastgenre.htm...

discuss

order

adg33|3 months ago

I think I'm using that already.

Limiting to one genre I don't think will fix it - what I want is to define the allowable values for genre, and then limit to one.

It's probably better with the limit one though!

HyprMusic|3 months ago

Set whitelist to a file path and then add a file with each genre that you want to keep on a new line. You can use the top-level genres in this file to base it off (except the whitelist isn't YAML, just a genre per line): https://raw.githubusercontent.com/beetbox/beets/master/beets...

Be sure to enable canonical so it converts the specific genres into their parent genre.

jank199x|3 months ago

There's a whitelist option. Just read the docs, really, lastgenre is very configurable.