<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi There<div><br></div><div>In a project we are working on, we use the taglib for reading/writing mp4 and id3 tags/covers. For a more convinient use in our project, we added a few convenience functions for ID3v2 and mp4 tags to the lib. Maybe someone else is interested in that work too. So we d'like to share it here.</div><div>Basically we added a few methods to get additional tags to the TagLib::Tag class. These methods have a default implementation that returns null or 0 if no other implementation is made. In the TagLib:MP4::Tag and the TagLib::ID3v2::Tag these methods are implemented.</div><div>Two things are maybe even interesting to add to the next version of the lib. When reading the cover, the lib tries to detect the image format by reading some bytes from the covr tag in the mp4 header. But on some headers these bytes are just 0. So no image type is found and the lib returns null. We added some code that if these bytes are 0, it tries to detect the image from the image header (jpeg,jfif or png). </div><div>The second thing is that we added in the conversion from ID3 v2.2 to v2.4 the "missing" TCP/TCMP tag. It looks like this tag is not part of the ID3 standard, but iTunes uses it to store it's "is part of a compilation flag". So maybe it could be useful sometimes.</div><div>I attached all the modifications as patch do this mail, but be aware, the code is maybe not as good as it should be. I'm an Objective-C developer. So I'm not so into all that C++ stuff.</div><div><br></div><div></div></body></html>