lastgenre: add album.save()

This commit is contained in:
Adrian Sampson 2013-09-25 08:45:18 -07:00
parent a6bf633355
commit bb21ec692e
2 changed files with 3 additions and 0 deletions

View file

@ -329,6 +329,7 @@ class LastGenrePlugin(plugins.BeetsPlugin):
log.info(u'genre for album {0} - {1} ({2}): {3}'.format(
album.albumartist, album.album, src, album.genre
))
album.store()
for item in album.items():
# If we're using track-level sources, also look up each

View file

@ -37,6 +37,8 @@ And some fixes:
* :doc:`/plugins/mpdupdate`: Domain sockets can now begin with a tilde (which
is correctly expanded to ``$HOME``) as well as a slash. Thanks to Johann
Klähn.
* :doc:`/plugins/lastgenre`: Fix a regression that could cause new genres
found during import not to be persisted.
.. _Opus: http://www.opus-codec.org/
.. _@Verrus: https://github.com/Verrus