From: Bastian Dehn Date: Sun, 13 Jul 2025 19:19:04 +0000 (+0200) Subject: change cover metablock without if X-Git-Tag: v1.0.0^2~53^2~9 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=e4fc8120f4c9821e060da4475eca78ff32425749;p=albentohandy.git change cover metablock without if --- diff --git a/albentohandy b/albentohandy index 48c5ea4..87315dd 100755 --- a/albentohandy +++ b/albentohandy @@ -220,10 +220,11 @@ read_flac_to_ogg_tags() | vorbiscomment --commentfile - --write $outputfile fi - if [ -f $coverfile ]; then - echo "METADATA_BLOCK_PICTURE=$(base64 --wrap 0 $coverfile)" \ + [ -f $coverfile ] \ + || return 0 + + echo "METADATA_BLOCK_PICTURE=$(base64 --wrap 0 $coverfile)" \ | vorbiscomment --commentfile - --raw --append $outputfile - fi } encoding_flac_to_ogg()