Getting TXXX info from id3v2

The place for "I can't figure out how to..." questions.
Post Reply
lindestinel
User
Posts: 2
Joined: Tue Dec 21, 2004 12:56 pm

Getting TXXX info from id3v2

Post by lindestinel » Tue Dec 21, 2004 1:11 pm

Hi there,

I'm trying to get user text information from mp3s. I need the couple (description, value) but I'm not sure how to get it.
If I look at $ThisFileInfo['tags']['id3v2']['text'], I have only the value, and if I look at $ThisFileInfo['id3v2']['TXXX'] only the description.

So, is it safe to consider that $ThisFileInfo['id3v2']['TXXX'][$x]['description'] is the description for $ThisFileInfo['tags']['id3v2']['text'][$x] ? Or is there another way to do it ?

James Heinrich
getID3() v1 developer
Posts: 1477
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Post by James Heinrich » Tue Dec 21, 2004 8:00 pm

I believe it's safe to assume that, yes. I don't have a sample file with a TXXX field with a description present, so I haven't seen what it looks like. If you want to send me (at least) the first 100kB of the file as a sample for my test library, I'd appreciate it: info@getid3.org

lindestinel
User
Posts: 2
Joined: Tue Dec 21, 2004 12:56 pm

Post by lindestinel » Wed Dec 22, 2004 6:38 am

Ok, I'll send the sample, it's just a musicbrainz tagged file and it works well with it.
I think $ThisFileInfo['id3v2']['TXXX'][$x] should also contain the value to remove any ambiguities. In fact I thought it was weird to not have it.

seaeye
User
Posts: 3
Joined: Sun Jan 15, 2006 11:28 pm

Post by seaeye » Sat Apr 08, 2006 8:34 pm

hi.

do you think that it would be possible to fix the problem?
i face same issue too. TXXX fields have no "data" entries available.
... and of course I'm ready to send samples.

thanks!

.a

Post Reply