Fix it for real

This commit is contained in:
2021-06-11 20:20:40 +02:00
parent 2f838a67c9
commit 7c33ff2dca

View File

@@ -61,7 +61,7 @@ function read_tag_flac {
fi
local comment_line
comment_line=$(metaflac --list "$file" --block-type=VORBIS_COMMENT | grep -iE ":\s$tag=" | head)
comment_line=$(metaflac --list "$file" --block-type=VORBIS_COMMENT | grep -iE ":\s$tag=" | head -1)
if [[ $? -ne 0 ]]; then
error "Reading tag \"$1\" from \"$file\" failed: metaflac error"
return