Updated README

This commit is contained in:
KrumpetPirate 2018-02-18 00:34:33 -06:00
parent da3ca76930
commit ed084692a2

View File

@ -31,27 +31,16 @@ Thanks to kbabioch, this script has also been packaged in the [AUR](https://aur.
## Usage
```
bash AAXtoMP3 <AUTHCODE> {INPUT_FILES}
bash AAXtoMP3.sh [--flac] [--aac] [--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!
You can also convert the output to FLAC encoding instead of MP3 by doing the following *in order*:
```
bash AAXtoMP3 --flac <AUTHCODE> {INPUT_FILES}
```
Note that FLAC encoding is typically a little faster, at the cost of compatibility with some players.
If you wish to convert to a single file you can add --single to the input. This will prevent chaptered content from being extracted.
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.
Here is the full usage (NOTE: Order matters!)
```
bash AAXtoMP3 [--flac] [--single] AUTHCODE {FILES}
```
## Anti-Piracy Notice
Note that this project does NOT crack the DRM. It simply allows the user to
use their own encryption key (fetched from Audible servers) to decrypt the