changelog for #254

This commit is contained in:
Adrian Sampson 2013-04-21 20:41:01 -07:00
parent 7ffeec86e7
commit aaafba4d28
3 changed files with 6 additions and 3 deletions

View file

@ -348,7 +348,6 @@ class LastGenrePlugin(plugins.BeetsPlugin):
def imported(self, session, task):
"""Event hook called when an import task finishes."""
if task.is_album:
album = session.lib.get_album(task.album_id)
album.genre, src = self._get_genre(album)

View file

@ -29,6 +29,9 @@ Changelog
`Tomahawk`_ collections. And file transfers now have a "Content-Length"
header. Thanks to Uwe L. Korn.
* :doc:`/plugins/lastgenre`: Fix an error when using genre canonicalization.
* :doc:`/plugins/lastgenre`: The ``force`` config option now defaults to true
and controls the behavior of the import hook. (Previously, new genres were
always forced during import.)
.. _Tomahawk: http://www.tomahawk-player.org/

View file

@ -35,8 +35,9 @@ Wikipedia`_.
.. _pylast: http://code.google.com/p/pylast/
.. _script that scrapes Wikipedia: https://gist.github.com/1241307
Switch ``force`` flag to False to keep the original genre when member
of the whitelist.
By default, beets will always fetch new genres, even if the files already have
once. To instead leave genres in place in when they pass the whitelist, set
the ``force`` option to "no".
If no genre is found, the file will be left unchanged. To instead specify a
fallback genre, use the ``fallback`` configuration option. You can, of