mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-18 03:08:57 +01:00
Merge pull request #40 from voltagex/aac
Add support for copying to m4b (no reencode)
This commit is contained in:
commit
da3ca76930
9
AAXtoMP3
9
AAXtoMP3
@ -15,7 +15,7 @@ if ! [[ $(type -P "$GREP") ]]; then
|
||||
fi
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: bash AAXtoMP3.sh [--flac] [--single] AUTHCODE {FILES}"
|
||||
echo "Usage: bash AAXtoMP3.sh [--flac] [--aac] [--single] AUTHCODE {FILES}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -26,6 +26,13 @@ then
|
||||
shift
|
||||
fi
|
||||
|
||||
if [[ "$1" == '--aac' ]]
|
||||
then
|
||||
codec=copy
|
||||
extension=m4b
|
||||
shift
|
||||
fi
|
||||
|
||||
if [[ "$1" == '--single' ]]
|
||||
then
|
||||
mode=single
|
||||
|
Loading…
Reference in New Issue
Block a user