diff --git a/AAXtoMP3.sh b/AAXtoMP3.sh index b644faa..9c2ccc9 100755 --- a/AAXtoMP3.sh +++ b/AAXtoMP3.sh @@ -33,5 +33,10 @@ while [ $# -gt 0 ]; do echo "Done creating chapters. Single file and chaptered files contained in ${OUTPUT_DIR}." rm tmp.txt + + echo "Extracting cover into ${OUTPUT_DIR}/cover.jpg..." + ffmpeg -v error -activation_bytes $AUTHCODE -i "$FILE" -an -vcodec copy "${OUTPUT_DIR}/cover.jpg" + echo "Done." + shift done