From: andrew@andrews-corner.org Date: Thu, 6 Dec 2012 11:42:29 +0000 (+0000) Subject: Allows encoding with neroAacEnc, thanks to atheren for the patch. X-Git-Url: https://git.hcoop.net/clinton/abcde.git/commitdiff_plain/0c77cbf2d0bd91907c43230a02f725f252e92004 Allows encoding with neroAacEnc, thanks to atheren for the patch. Closes issue 8. git-svn-id: http://abcde.googlecode.com/svn/trunk@371 a0fa61bc-5347-0410-a1a9-7f54aa4e1825 --- diff --git a/abcde b/abcde index 03dcfb0..5993b05 100755 --- a/abcde +++ b/abcde @@ -1151,7 +1151,10 @@ do_encode () ;; m4a) # Tag the file at encode time, as it can't be done after encoding. - if [ "$DOTAG" = "y" ]; then + if [ "$AACENC" = "neroAacEnc" ] ; then + DOTAG=y + $RUN_COMMAND nice $ENCNICE $AACENC $AACENCOPTS -if "$IN" -of "$OUT" + elif [ ! "$DOTAG" = "y" ]; then $RUN_COMMAND nice $EFFECTIVE_NICE $AACENCODER $AACENCODEROPTS --artist "$TRACKARTIST" --album "$DALBUM" --title "$TRACKNAME" --track "$1" --genre "$CDGENRE" --year "$CDYEAR" --comment "$COMMENT" -o "$OUT" "$IN" else