4 ms·
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/s
by jank199x 11mo 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.html#canonicalization https://beets.readthedocs.io/en/stable/plugins/lastgenre.htm...
- adg33 11mo agoI 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!
- jank199x 11mo agoThere's a whitelist option. Just read the docs, really, lastgenre is very configurable.
- HyprMusic 11mo agoSet 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/beetsplug/lastgenre/genres-tree.yaml https://raw.githubusercontent.com/beetbox/beets/master/beets... Be sure to enable canonical so it converts the specific genres into their parent genre.