From 15ad525e0d904dab48d2575f5c2438b3f7d1276f Mon Sep 17 00:00:00 2001 From: Daniel Barber Date: Sat, 22 Feb 2020 12:02:10 -0500 Subject: [PATCH] Mention quality level in docstrings --- beets/art.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/beets/art.py b/beets/art.py index b8b172594..0cb9cdf1b 100644 --- a/beets/art.py +++ b/beets/art.py @@ -107,9 +107,11 @@ def embed_album(log, album, maxwidth=None, quiet=False, compare_threshold=0, def resize_image(log, imagepath, maxwidth, quality): - """Returns path to an image resized to maxwidth. + """Returns path to an image resized to maxwidth and encoded with the + specified quality level. """ - log.debug(u'Resizing album art to {0} pixels wide', maxwidth) + log.debug(u'Resizing album art to {0} pixels wide and encoding at quality + level {1}', maxwidth, quality) imagepath = ArtResizer.shared.resize(maxwidth, syspath(imagepath), quality=quality) return imagepath