mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-18 03:08:57 +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
|
fi
|
||||||
|
|
||||||
if [ "$#" -eq 0 ]; then
|
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!"
|
echo " Note that order does matter!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@ -29,12 +29,12 @@ then
|
|||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#if [[ "$1" == '--aac' ]]
|
if [[ "$1" == '--aac' ]]
|
||||||
#then
|
then
|
||||||
# codec=copy
|
codec=copy
|
||||||
# extension=m4b
|
extension=m4a
|
||||||
# shift
|
shift
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
if [[ "$1" = '--opus' ]]
|
if [[ "$1" = '--opus' ]]
|
||||||
then
|
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.
|
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
|
## Usage
|
||||||
```
|
```bash
|
||||||
bash AAXtoMP3 [--flac] [--opus] [--single] AUTHCODE {FILES}
|
bash AAXtoMP3 [--flac] [--aac] [--opus] [--single] AUTHCODE {FILES}
|
||||||
```
|
```
|
||||||
* AUTHCODE: **your** Audible auth code (it won't correctly decode otherwise) (required)
|
* AUTHCODE: **your** Audible auth code (it won't correctly decode otherwise) (required)
|
||||||
* Everything else is considered an input file, useful for batching!
|
* Everything else is considered an input file, useful for batching!
|
||||||
|
|
||||||
Note that any optional flags have to be inputed *in order* to function correctly.
|
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
|
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.
|
||||||
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
|
## Anti-Piracy Notice
|
||||||
Note that this project does NOT ‘crack’ the DRM. It simply allows the user to
|
Note that this project does NOT ‘crack’ the DRM. It simply allows the user to
|
||||||
|
Loading…
Reference in New Issue
Block a user