fix read_tag_flac
This commit is contained in:
@@ -56,7 +56,7 @@ function read_tag_flac {
|
||||
fi
|
||||
|
||||
local comment_line
|
||||
comment_line=$(metaflac --list "$file" --block-type=VORBIS_COMMENT | grep -F "$tag=")
|
||||
comment_line=$(metaflac --list "$file" --block-type=VORBIS_COMMENT | grep -E ":\s$tag=")
|
||||
if [[ $? -ne 0 ]]; then
|
||||
error "Reading tag \"$1\" from \"$file\" failed: metaflac error"
|
||||
return
|
||||
@@ -227,7 +227,9 @@ function cuesplit_all {
|
||||
}
|
||||
|
||||
function mv_wrap {
|
||||
echo "mv" "$@"
|
||||
printf "mv"
|
||||
printf " \"%s\"" "$@"
|
||||
echo
|
||||
}
|
||||
|
||||
function tagmove_single {
|
||||
@@ -285,7 +287,6 @@ function tagmove_get_media_type {
|
||||
file -b --mime-type "$file" | cut -d'/' -f1
|
||||
;;
|
||||
esac
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user