Allows encoding with neroAacEnc, thanks to atheren for the patch.
authorandrew@andrews-corner.org <andrew@andrews-corner.org@a0fa61bc-5347-0410-a1a9-7f54aa4e1825>
Thu, 6 Dec 2012 11:42:29 +0000 (11:42 +0000)
committerandrew@andrews-corner.org <andrew@andrews-corner.org@a0fa61bc-5347-0410-a1a9-7f54aa4e1825>
Thu, 6 Dec 2012 11:42:29 +0000 (11:42 +0000)
Closes issue 8.

git-svn-id: http://abcde.googlecode.com/svn/trunk@371 a0fa61bc-5347-0410-a1a9-7f54aa4e1825

abcde

diff --git a/abcde b/abcde
index 03dcfb0..5993b05 100755 (executable)
--- 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.
                                ;;
                        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
                                        $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