fetchart colors (#508): simplify, new colors

Also a changelog entry.
This commit is contained in:
Adrian Sampson 2014-01-27 22:51:58 -08:00
parent 33c40f111c
commit 620f0f8727
2 changed files with 4 additions and 6 deletions

View file

@ -221,13 +221,9 @@ def batch_fetch_art(lib, albums, force, maxwidth=None):
if path:
album.set_art(path, False)
album.store()
message = 'found album art'
if config['color']:
message = ui.colorize('red', message)
message = ui.colorize('green', 'found album art')
else:
message = 'no art found'
if config['color']:
message = ui.colorize('turquoise', message)
message = ui.colorize('red', 'no art found')
log.info(u'{0} - {1}: {2}'.format(album.albumartist, album.album,
message))

View file

@ -42,6 +42,8 @@ Other little fixes:
* :doc:`/plugins/fetchart`: The ``beet fetchart`` command can now associate
local images with albums (unless ``--force`` is provided). Thanks to
brilnius.
* :doc:`/plugins/fetchart`: Command output is now colorized. Thanks again to
brilnius.
1.3.2 (December 22, 2013)