mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
Colorized output of beet fetchart, for easier detection of albums with no cover
This commit is contained in:
parent
0466df6215
commit
1a4b15c4a5
1 changed files with 4 additions and 0 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue