Skip to content

Commit 12e7358

Browse files
committed
lastgenre: Docs hint on canonical without whitelist
1 parent 094df84 commit 12e7358

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/plugins/lastgenre.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ contains about any genre contained in the tree) with canonicalization because
7070
nothing would ever be matched to a more generic node since all the specific
7171
subgenres are in the whitelist to begin with.
7272

73+
If you use canonicalization *without* a whitelist, the plugin will simply map
74+
every genre to its top-most root category in the tree (e.g., ``Viking Metal`` →
75+
``Metal``). This is a great way to keep your library broad without needing to
76+
maintain a manual list of allowed genres.
77+
7378
.. _tree of nested genre names: https://raw.githubusercontent.com/beetbox/beets/master/beetsplug/lastgenre/genres-tree.yaml
7479

7580
.. _yaml: https://yaml.org/

0 commit comments

Comments
 (0)