Reading tag ID3V2 by frame name (doesn't work)

The place for "I can't figure out how to..." questions.

Reading tag ID3V2 by frame name (doesn't work)

Postby splinty » Thu Apr 29, 2010 4:37 am

Hello guys.
I have mp3's with some extended tags, which can be successfully read by taggers like Tag&Rename. Tag called UID1. As it's well known standart tag also has 4-character name TIT2, TPE1, ALBT etc.
Does anybody know how read that tag by 4-character name?

I'v tried
Code: Select all
echo @$ThisFileInfo['tags']['id3v2']['TIT2'][0]."\n";
echo @$ThisFileInfo['tags']['id3v2']['UID1'][0]."\n";

It returns empty string.
Any advices would be very appreciable!
Sors mea Jesus!
splinty
User
 
Posts: 3
Joined: Wed Apr 28, 2010 10:02 pm

Re: Reading tag ID3V2 by frame name (doesn't work)

Postby splinty » Thu Apr 29, 2010 6:20 am

The anwer is
echo $ThisFileInfo['id3v2']['UID1'][0]['data']."\n"

print_r($ThisFileInfo); tell everything :)
thank You for library, guys!
Sors mea Jesus!
splinty
User
 
Posts: 3
Joined: Wed Apr 28, 2010 10:02 pm


Return to Support 1.7.x

Who is online

Users browsing this forum: No registered users and 2 guests

cron