Update lastgenre.rst

This commit is contained in:
Fabrice L. 2014-04-28 10:44:53 +02:00
parent ef3c1cd1ff
commit f6337d2d1f

View file

@ -27,6 +27,8 @@ 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`_.
@ -58,9 +60,9 @@ leaves of the tree represent the most specific genres.
To enable canonicalization, set the ``canonical`` configuration value::
lastgenre:
canonical: ''
canonical: 'true'
Setting this value to the empty string will use a built-in canonicalization
Setting this value to 'true' 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.
@ -108,9 +110,6 @@ 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
----------------