mirror of
https://github.com/taglib/taglib.git
synced 2025-07-19 05:24:25 -04:00
Rebuild TRDC from v2.3 fields
This fixes an issue that was reported to me via email with the recording date being thrown away from v2.3 tags.
This commit is contained in:
@ -687,7 +687,7 @@ public:
|
||||
tf = static_cast<ID3v2::TextIdentificationFrame *>(bar.ID3v2Tag()->frameList("TDRC").front());
|
||||
CPPUNIT_ASSERT(tf);
|
||||
CPPUNIT_ASSERT_EQUAL(TagLib::uint(1), tf->fieldList().size());
|
||||
CPPUNIT_ASSERT_EQUAL(String("2012"), tf->fieldList().front());
|
||||
CPPUNIT_ASSERT_EQUAL(String("2012-04-17"), tf->fieldList().front());
|
||||
tf = dynamic_cast<ID3v2::TextIdentificationFrame *>(bar.ID3v2Tag()->frameList("TIPL").front());
|
||||
CPPUNIT_ASSERT(tf);
|
||||
CPPUNIT_ASSERT_EQUAL(TagLib::uint(8), tf->fieldList().size());
|
||||
|
Reference in New Issue
Block a user