Added support for ID3 v2.2 tags to the cMP3ID3v2.cls. Thanks to Peter Pietzk for the samples.
Corrected out-of-memory runaway error which occurred reading corrupted tags. The code now behaves sensibly when it detects a tag with an invalid length.
Stripped trailing nulls from ID3v1 tags to make them easier to compare with their ID3v2 counterparts.
Fixed problem with tags with trailing nulls in ID3v2. A logic bug in the code caused these tags to return an empty string in the last version.
Reading and Writing MP3 ID3v1 and ID3v2 Tags
Two classes to simplify MP3 Tag handling
This article describes the MP3 ID3v1 and ID3v2 tags and provides a sample application which can read and write both types from MP3 files, along with two reusable classes wrapping up the tag functionality.
The Physical Location of this Article has Moved/article.asp?id=3490