mirror of
https://github.com/beetbox/beets.git
synced 2026-02-24 16:23:04 +01:00
lastgenre: add album.save()
This commit is contained in:
parent
a6bf633355
commit
bb21ec692e
2 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue