From 58ecfbc72b4dc1df753ec1233e4f006e2fb418a5 Mon Sep 17 00:00:00 2001 From: fabh2o Date: Sun, 26 Sep 2021 18:28:59 +0200 Subject: [PATCH 1/2] remove useless / in output_folder definition --- AAXtoMP3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AAXtoMP3 b/AAXtoMP3 index a77242a..be49717 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -658,9 +658,9 @@ do # If we defined a target directory, use it. Otherwise use the location of the AAX file if [ "x${targetdir}" != "x" ] ; then - output_directory="${targetdir}/${currentDirNameScheme}/" + output_directory="${targetdir}/${currentDirNameScheme}" else - output_directory="$(dirname "${aax_file}")/${currentDirNameScheme}/" + output_directory="$(dirname "${aax_file}")/${currentDirNameScheme}" fi # Define the output_file From 68a91bbbbbaf3df3b78c9637f7f003e25f3bd458 Mon Sep 17 00:00:00 2001 From: fabh2o Date: Sun, 26 Sep 2021 18:30:44 +0200 Subject: [PATCH 2/2] --aac is identical to -e:m4a --- AAXtoMP3 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/AAXtoMP3 b/AAXtoMP3 index be49717..1713aea 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -44,8 +44,6 @@ while true; do case "$1" in # Flac encoding -f | --flac ) codec=flac; extension=flac; mode=single; container=flac; shift ;; - # Apple m4a music format. - -a | --aac ) codec=copy; extension=m4a; mode=single; container=m4a; shift ;; # Ogg Format -o | --opus ) codec=libopus; extension=opus; container=ogg; shift ;; # If appropriate use only a single file output. @@ -55,7 +53,7 @@ while true; do # This is the same as --single option. -e:mp3 ) codec=libmp3lame; extension=mp3; mode=single; container=mp3; shift ;; # Identical to --acc option. - -e:m4a ) codec=copy; extension=m4a; mode=single; container=mp4; shift ;; + -e:m4a | -a | --aac ) codec=copy; extension=m4a; mode=single; container=mp4; shift ;; # Similar to --aac but specific to audio books -e:m4b ) codec=copy; extension=m4b; mode=single; container=mp4; shift ;; # Change the working dir from AAX directory to what you choose.