Renabled AAC for copy with no re-encode step

This commit is contained in:
KrumpetPirate 2018-03-22 14:06:19 -05:00
parent e3d9a9ea35
commit 2ae7e326bb
2 changed files with 10 additions and 11 deletions

View File

@ -17,7 +17,7 @@ if ! [[ $(type -P "$GREP") ]]; then
fi
if [ "$#" -eq 0 ]; then
echo "Usage: bash AXtoMP3.sh [--flac] [--opus ] [--single] AUTHCODE {FILES}"
echo "Usage: bash AXtoMP3 [--flac] [--aac] [--opus ] [--single] AUTHCODE {FILES}"
echo " Note that order does matter!"
exit 1
fi
@ -29,12 +29,12 @@ then
shift
fi
#if [[ "$1" == '--aac' ]]
#then
# codec=copy
# extension=m4b
# shift
#fi
if [[ "$1" == '--aac' ]]
then
codec=copy
extension=m4a
shift
fi
if [[ "$1" = '--opus' ]]
then

View File

@ -30,16 +30,15 @@ conversions in OSX. It is recommended that you install GNU grep using 'brew inst
Thanks to kbabioch, this script has also been packaged in the [AUR](https://aur.archlinux.org/packages/aaxtomp3-git/). Note that you will still need to extract your activation bytes before use.
## Usage
```
bash AAXtoMP3 [--flac] [--opus] [--single] AUTHCODE {FILES}
```bash
bash AAXtoMP3 [--flac] [--aac] [--opus] [--single] AUTHCODE {FILES}
```
* AUTHCODE: **your** Audible auth code (it won't correctly decode otherwise) (required)
* Everything else is considered an input file, useful for batching!
Note that any optional flags have to be inputed *in order* to function correctly.
Additionally, if you have a .authcode file available in the current working directory, it will read the first line of
that line and treat it like your auth_code. When you do this you do not need to specify an AUTHCODE input.
Additionally, if you have a .authcode file available in either your home directory or the current working directory, it will read the first line of that line and treat it like your auth_code. When you do this you do not need to specify an AUTHCODE input.
## Anti-Piracy Notice
Note that this project does NOT crack the DRM. It simply allows the user to