From: Andrew Strong Date: Fri, 3 Apr 2015 04:38:50 +0000 (+1100) Subject: Allows for cleaner handling +/- Comment with WavPack X-Git-Tag: v2.7~60 X-Git-Url: https://git.einval.com/cgi-bin/gitweb.cgi?p=abcde.git;a=commitdiff_plain;h=6fb0f6aa873173e41af3e0fd312203cc26af1182 Allows for cleaner handling +/- Comment with WavPack --- diff --git a/abcde b/abcde index 706cd29..a5bbdaa 100755 --- a/abcde +++ b/abcde @@ -1228,7 +1228,7 @@ do_encode () if [ "$DOTAG" = "y" ]; then # wavpack tagging is done inline using Apev2 tags: $RUN_COMMAND nice $EFFECTIVE_NICE $WVENCODER $WVENCODEROPTS -w Artist="$TRACKARTIST" -w Album="$DALBUM" -w Title="$TRACKNAME" \ - -w Track="$1" -w Genre="$CDGENRE" -w Year="$CDYEAR" -w Comment="$COMMENT" "$IN" -o "$OUT" + -w Track="$1" -w Genre="$CDGENRE" -w Year="$CDYEAR" ${COMMENT:+-w Comment="$COMMENT"} "$IN" -o "$OUT" else $RUN_COMMAND nice $EFFECTIVE_NICE $WVENCODER $WVENCODEROPTS "$IN" -o "$OUT" fi