[fpc-pascal] Re: ID3v2 - Reading and writing MP3 metadata
luciano de souza
luchyanus at gmail.com
Thu May 9 20:47:43 CEST 2013
Well, the unit you present me seems to only support ID3v1.
I said: "It works only under the ID3v1 pattern!" No. Its not correct.
What I want to say is that only the same tags filled under the ID3v1
pattern is filled when I use the TID3v2 class. So the attached unit
and the mentioned example behaves as the ID3v1 was the active
In my example, "composer" is the single tag present in v2, not present in v1.
Attached is the unit sent to me.
ID3v1 is a very simple pattern. It's enough to read the last 128 byte
of the mp3 file, assigning it to a record. So with simple blockreads
and blockwrites, the work is done without difficulties. ID3v2 is much
After visiting http://www.id3.org, I got some information for
developers. Hum.. The ID3v2 is so complex that I think I was not able
to implement it if it is already available.
2013/5/9, leledumbo <leledumbo_cool at yahoo.co.id>:
> As wikipedia explains, ID3v1 and ID3v2 are completely unrelated and have
> different structure. Without seeing what your friend unit contains, it's
> hard to tell whether he implements both versions correctly or not. But
> you said the version 1 works, and I don't see anything discriminating the
> two version in your sample code (again, this can't be concluded without
> seeing the actual unit code), I guess he only implements version 1.
> Apparently, Cactus Jukebox supports ID3, both version 1 and 2.
> The related unit is here:
> You can see how it's used here:
> View this message in context:
> Sent from the Free Pascal - General mailing list archive at Nabble.com.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
Luciano de Souza
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 19682 bytes
Desc: not available
More information about the fpc-pascal