Merge pull request #40 from voltagex/aac

Add support for copying to m4b (no reencode)
This commit is contained in:
KrumpetPirate
2018-02-18 00:29:17 -06:00
committed by GitHub

View File

@ -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