mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-17 18:58:58 +01:00
Fixed : in Title causing protocol error
This commit is contained in:
parent
ad6a2cd746
commit
ce2a341ebb
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
AudibleActivation.txt
|
||||
ACTIVATION
|
||||
|
@ -12,7 +12,7 @@ while [ $# -gt 0 ]; do
|
||||
GENRE=`grep -a -m1 -h -r "genre" tmp.txt | head -1 | cut -d: -f2- | xargs`
|
||||
BITRATE=`grep -a -m1 -h -r "bitrate" tmp.txt | head -1 | rev | cut -d: -f 1 | rev | egrep -o [0-9]+ | xargs`
|
||||
BITRATE="${BITRATE}k"
|
||||
OUTPUT="$TITLE"
|
||||
OUTPUT=`echo $TITLE | sed -e 's/\:/-/g' | xargs -0`
|
||||
OUTPUT_DIR="${GENRE}/${ARTIST}/${TITLE}"
|
||||
|
||||
ffmpeg -v error -stats -activation_bytes $AUTHCODE -i "${FILE}" -vn -c:a libmp3lame -ab $BITRATE "${OUTPUT}.mp3"
|
||||
|
Loading…
Reference in New Issue
Block a user