diff --git a/README.md b/README.md index dd07450..3593cf3 100644 --- a/README.md +++ b/README.md @@ -31,27 +31,16 @@ Thanks to kbabioch, this script has also been packaged in the [AUR](https://aur. ## Usage ``` -bash AAXtoMP3 {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 {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