Subject: | write method adds VENDOR tag as user comment |
Hi,
As reported by a Debian user in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475931,
Audio-FLAC-Header is unexpectedly modifying the FLAC header. Not only
adding the vendor tag, but also changing the case of the tags. This can
be easily reproduced:
$ metaflac --list id3tagged.flac | grep comment
comments: 6
comment[0]: artist=Mozart
comment[1]: title=Allegro Maestoso
comment[2]: album=Sinfonia Concertante Kv 364
comment[3]: date=
comment[4]: tracknumber=1
comment[5]: genre=
$ perl -MAudio::FLAC::Header -e 'my $flac =
Audio::FLAC::Header->new(shift); $flac->write() or die $!;' id3tagged.flac
$ metaflac --list id3tagged.flac | grep comment comments: 7
comment[0]: VENDOR=reference libFLAC 1.2.1 20070917
comment[1]: ALBUM=Sinfonia Concertante Kv 364
comment[2]: TITLE=Allegro Maestoso
comment[3]: GENRE=
comment[4]: TRACKNUMBER=1
comment[5]: DATE=
comment[6]: ARTIST=Mozart