I don't like other's output
This commit is contained in:
parent
8448b301c9
commit
b4ee0ccfcf
@ -246,11 +246,11 @@ ConvertFiles() {
|
|||||||
VerboseOutput 2 "Converted: $line"
|
VerboseOutput 2 "Converted: $line"
|
||||||
if [[ $convertart == true ]]; then
|
if [[ $convertart == true ]]; then
|
||||||
mkdir "$temp/$line-images/"
|
mkdir "$temp/$line-images/"
|
||||||
eyeD3 --write-images "$temp/$line-images/" "$temp/$line"
|
eyeD3 --write-images "$temp/$line-images/" "$temp/$line" 1>/dev/null 2>/dev/null
|
||||||
convert "$temp/$line-images/FRONT_COVER.jpg" -resize 200x200 "$temp/$line-images/FRONT_COVER.jpg"
|
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"
|
eyeD3 --remove-all-images "$temp/$line" 1>/dev/null 2>/dev/null
|
||||||
eyeD3 --add-image "$temp/$line-images/FRONT_COVER.jpg:FRONT_COVER" "$temp/$line"
|
eyeD3 --add-image "$temp/$line-images/FRONT_COVER.jpg:FRONT_COVER" "$temp/$line" 1>/dev/null 2>/dev/null
|
||||||
VerboseOutput 2 "Converted cover art: $temp/$line"
|
VerboseOutput 2 "Converted cover art: $line"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user