Subject: | _get_v2tag behavior seems to have changed |
I've been using Apache::MP3 which uses MP3::Info's get_mp3tag($file) to
get id3 tag info. It seems that in version 1.21, the behavior of
_get_v2tag has changed. The POD says of get_mp3tag:
"If VERSION is not supplied, or is false, the ID3v1 tag is read if
present, and then, if present, the ID3v2 tag information will override
any existing ID3v1 tag info."
However, what I am seeing is that the v2 tag is being pushed onto an
array reference with the v1 tag. Apache::MP3 is assuming that the tag
data will always be a scalar as the documentation seems to imply. Thus,
I get ARRAY(0x...) instead of a title or artist name on the web page.
I see that _get_v2tag attempts to merge duplicate entries, but that
isn't working because on most of my mp3s the v1 and v2 tags differ
because of trailing whitespace or NULLs. get_mp3tag tries to strip that
data too late (after the v2 tag has been parsed and it's already an
array ref).