diff --git a/AAXtoMP3 b/AAXtoMP3 index 8eff27b..25feb46 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -962,7 +962,23 @@ do if [ -f "${cover_file}" ]; then log "Adding cover art" - mp4art --add "${cover_file}" "${output_file}" + # Create temporary output file name - ensure extention matches previous appropriate output file to keep ffmpeg happy + cover_output_file="${output_file%.*}.cover.${output_file##*.}" + # Copy audio stream from current output, and video stream from cover file, setting appropriate metadata +