diff --git a/AAXtoMP3 b/AAXtoMP3 index 6a7c82a..6475fc5 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