Fix issue with binary interpretation of id3 tag by grep
This commit is contained in:
@@ -108,10 +108,10 @@ function read_tag_id3 {
|
||||
fi
|
||||
|
||||
local substr_idx=6
|
||||
local line=$(grep -E "^$rfc822tag:\s" <<<"$id3v2_content_rfc822" | head -1)
|
||||
local line=$(grep -aE "^$rfc822tag:\s" <<<"$id3v2_content_rfc822" | head -1)
|
||||
if [[ -z $line ]]; then
|
||||
rfc822tag=${id3v2_map_alt[$tag]}
|
||||
line=$(grep -E "^$rfc822tag:\s" <<<"$id3v2_content_rfc822" | head -1)
|
||||
line=$(grep -aE "^$rfc822tag:\s" <<<"$id3v2_content_rfc822" | head -1)
|
||||
substr_idx=5
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user