From bfa2615942951cb2f9de04aba4742efef3ba7423 Mon Sep 17 00:00:00 2001 From: luke bonham Date: Mon, 20 Oct 2014 18:05:47 +0200 Subject: [PATCH] #67 mpdcover lightened --- scripts/mpdcover | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mpdcover b/scripts/mpdcover index f6cf0d6..6f9062c 100755 --- a/scripts/mpdcover +++ b/scripts/mpdcover @@ -2,7 +2,7 @@ # # A simple cover fetcher script for current playing song on mpd. # -# Author : Wolfgang Mueller +# Original author: Wolfgang Mueller # # Adapted for Lain internal use. # https://github.com/copycat-killer/lain @@ -58,7 +58,7 @@ cover="${cover:=$DEFAULT_ART}" # check if art is available if [[ -n $cover ]]; then if [[ -n $COVER_RESIZE ]]; then - convert "$cover" -thumbnail $COVER_RESIZE -gravity "center" -background "$COVER_BACKGROUND" -extent $COVER_RESIZE "$TEMP_PATH" + convert "$cover" -scale $COVER_RESIZE -gravity "center" -background "$COVER_BACKGROUND" "$TEMP_PATH" cover="$TEMP_PATH" fi else -- 2.39.5