If folder already created, do not error.
This commit is contained in:
parent
f4bf02fd11
commit
b1f47c0b06
@ -252,7 +252,7 @@ ConvertFiles() {
|
|||||||
lame -b ${bitrate} $source/$line $temp/$line 1>/dev/null 2>/dev/null
|
lame -b ${bitrate} $source/$line $temp/$line 1>/dev/null 2>/dev/null
|
||||||
VerboseOutput 2 "Converted: $line"
|
VerboseOutput 2 "Converted: $line"
|
||||||
if [[ $convertart == true ]]; then
|
if [[ $convertart == true ]]; then
|
||||||
mkdir "$temp/$line-images/"
|
mkdir -p "$temp/$line-images/"
|
||||||
eyeD3 --write-images "$temp/$line-images/" "$temp/$line" 1>/dev/null 2>/dev/null
|
eyeD3 --write-images "$temp/$line-images/" "$temp/$line" 1>/dev/null 2>/dev/null
|
||||||
convert "$temp/$line-images/FRONT_COVER.*" -resize 200x200 "$temp/$line-images/FRONT_COVER.jpg" 1>/dev/null 2>/dev/null
|
convert "$temp/$line-images/FRONT_COVER.*" -resize 200x200 "$temp/$line-images/FRONT_COVER.jpg" 1>/dev/null 2>/dev/null
|
||||||
eyeD3 --remove-all-images "$temp/$line" 1>/dev/null 2>/dev/null
|
eyeD3 --remove-all-images "$temp/$line" 1>/dev/null 2>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user