mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-17 18:58:58 +01:00
Renabled AAC for copy with no re-encode step
This commit is contained in:
parent
e3d9a9ea35
commit
2ae7e326bb
14
AAXtoMP3
14
AAXtoMP3
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user