diff --git a/AAXtoMP3 b/AAXtoMP3 index b53bec6..e8b0ba0 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -15,7 +15,7 @@ if ! [[ $(type -P "$GREP") ]]; then fi if [ "$#" -eq 0 ]; then - echo "Usage: bash AAXtoMP3.sh [--flac] [--single] AUTHCODE {FILES}" + echo "Usage: bash AAXtoMP3.sh [--flac] [--aac] [--single] AUTHCODE {FILES}" exit 1 fi @@ -26,6 +26,13 @@ then shift fi +if [[ "$1" == '--aac' ]] +then + codec=copy + extension=m4b + shift +fi + if [[ "$1" == '--single' ]] then mode=single