mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-18 03:08:57 +01:00
Add support for copying to m4b (no reencode)
This commit is contained in:
parent
de01589b94
commit
1132602f65
9
AAXtoMP3
9
AAXtoMP3
@ -15,7 +15,7 @@ if ! [[ $(type -P "$GREP") ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$#" -eq 0 ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -26,6 +26,13 @@ then
|
|||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$1" == '--aac' ]]
|
||||||
|
then
|
||||||
|
codec=copy
|
||||||
|
extension=m4b
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "$1" == '--single' ]]
|
if [[ "$1" == '--single' ]]
|
||||||
then
|
then
|
||||||
mode=single
|
mode=single
|
||||||
|
Loading…
Reference in New Issue
Block a user