merge colorization part of #509

Conflicts:
	beetsplug/fetchart.py
This commit is contained in:
Adrian Sampson 2014-01-27 22:46:58 -08:00
commit 33c40f111c

View file

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