From 4f7e738f82326dfe255bbfe668c33315cfe67e35 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sat, 2 Feb 2013 12:56:08 -0800 Subject: [PATCH] changelog and doc fixes for #88 --- docs/changelog.rst | 3 +++ docs/plugins/lastgenre.rst | 13 +++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 064b59daa..aff3f80b8 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -10,6 +10,9 @@ New configuration options: is when considering a candidate. * :ref:`none_rec_action` lets you skip the prompt, and automatically choose an action, when there is no good candidate. Thanks to mrmachine. +* :doc:`/plugins/lastgenre`: A new configuration option lets you choose to + retrieve artist-level tags as genres instead of album- or track-level tags. + Thanks to Peter Fern. Other new stuff: diff --git a/docs/plugins/lastgenre.rst b/docs/plugins/lastgenre.rst index 4b44bfb41..cdd3dfd82 100644 --- a/docs/plugins/lastgenre.rst +++ b/docs/plugins/lastgenre.rst @@ -51,8 +51,7 @@ be turned into coarser-grained ones that are present in the whitelist. This works using a tree of nested genre names, represented using `YAML`_, where the leaves of the tree represent the most specific genres. -To enable canonicalization, first install the `pyyaml`_ module (``pip install -pyyaml``). Then set the ``canonical`` configuration value:: +To enable canonicalization, set the ``canonical`` configuration value:: lastgenre: canonical: '' @@ -62,20 +61,18 @@ tree. You can also set it to a path, just like the ``whitelist`` config value, to use your own tree. .. _YAML: http://www.yaml.org/ -.. _pyyaml: http://pyyaml.org/ + Genre Source ------------ -When looking up genres for albums, you may specify whether you want to retrieve -the genre from the album, or from the artist by setting the ``source`` -configuration value:: +When looking up genres for albums or individual tracks, you may prefer to use a +genre tag from the *artist* instead of the individual entity. To do so, set the +``source`` configuration value to "artist", like so:: lastgenre: source: artist -Currently the only available option is 'artist', any other value for ``source`` -will default to retrieving genres from the album. Running Manually ----------------