From b777bde0afbf7433e1dcda1250fca9cb6a734a89 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sat, 11 Oct 2014 15:05:01 -0700 Subject: [PATCH] Fix #1006: errant info-level log Introduced in e99df7bc65dc69d92dafb2df390812d0e2beeb3f. --- beetsplug/embedart.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/beetsplug/embedart.py b/beetsplug/embedart.py index c20375489..7276dd527 100644 --- a/beetsplug/embedart.py +++ b/beetsplug/embedart.py @@ -113,15 +113,17 @@ def embed_item(item, imagepath, maxwidth=None, itempath=None, """ if compare_threshold: if not check_art_similarity(item, imagepath, compare_threshold): - log.warn('Image not similar, skipping it.') + log.warn(u'Image not similar; skipping.') return try: - log.info(u'embedart: writing %s', displayable_path(imagepath)) + log.debug(u'embedart: embedding {0}'.format( + displayable_path(imagepath) + )) item['images'] = [_mediafile_image(imagepath, maxwidth)] except IOError as exc: log.error(u'embedart: could not read image file: {0}'.format(exc)) else: - # We don't want to store the image in the database + # We don't want to store the image in the database. item.try_write(itempath) del item['images']