From 6fb0f6aa873173e41af3e0fd312203cc26af1182 Mon Sep 17 00:00:00 2001 From: Andrew Strong Date: Fri, 3 Apr 2015 15:38:50 +1100 Subject: [PATCH] Allows for cleaner handling +/- Comment with WavPack --- abcde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1