From 1a4b15c4a54277038d273b6643a0b1476115814c Mon Sep 17 00:00:00 2001 From: Bruno Tournay Date: Mon, 27 Jan 2014 22:03:42 +0100 Subject: [PATCH] Colorized output of beet fetchart, for easier detection of albums with no cover --- beetsplug/fetchart.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/beetsplug/fetchart.py b/beetsplug/fetchart.py index d9e372f53..8936733d8 100644 --- a/beetsplug/fetchart.py +++ b/beetsplug/fetchart.py @@ -219,8 +219,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))