Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Commit

Permalink
fix "syntax error in expression"
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuettner committed Jan 8, 2022
1 parent b87b08e commit 5010927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AAXtoMP3
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ do

extra_crop_cover=''
cover_width=$(ffprobe -i "${cover_file}" 2>&1 | grep -Po "[0-9]+(?=x[0-9]+)")
if [ "$(( ${cover_width} % 2 ))" == "1" ]; then
if (( ${cover_width} % 2 == 1 )); then
if [ "$((${loglevel} > 1))" == "1" ]; then
log "Cover ${cover_file} has odd width ${cover_width}, setting extra_crop_cover to make even."
fi
Expand Down

0 comments on commit 5010927

Please sign in to comment.