diff --git a/docs/plugins/lastgenre.rst b/docs/plugins/lastgenre.rst index eb3b6210c..7a4d19a51 100644 --- a/docs/plugins/lastgenre.rst +++ b/docs/plugins/lastgenre.rst @@ -27,8 +27,6 @@ internal whitelist, but you can set your own in the config file using the lastgenre: whitelist: /path/to/genres.txt -... or go for no whitelist altogether by setting it to "false". - The genre list file should contain one genre per line. Blank lines are ignored. For the curious, the default genre list is generated by a `script that scrapes Wikipedia`_. @@ -60,9 +58,9 @@ leaves of the tree represent the most specific genres. To enable canonicalization, set the ``canonical`` configuration value:: lastgenre: - canonical: 'true' + canonical: '' -Setting this value to 'true' will use a built-in canonicalization +Setting this value to the empty string will use a built-in canonicalization tree. You can also set it to a path, just like the ``whitelist`` config value, to use your own tree. @@ -110,6 +108,9 @@ the ``min_weight`` config option:: lastgenre: min_weight: 15 +However, if no tag with a weight greater then ``min_weight`` is found, the +plugin uses the next-most-popular tag. + Running Manually ----------------