URL tag not showing

Post Reply
Joined:Fri Jun 05, 2009 3:06 pm
Are you a spambot?:no
URL tag not showing

Post by diego » Fri Jun 05, 2009 3:25 pm

Hello, and thanks in advance for the help. Also congratulations, getID3() library is really great software.

Im experiencing a problem with the url_user tag. I run a code that writes different tags to a mp3 file. The tags are being writen ok, also the url_user tag. When i do a read tags, and echo this information, url_user tag shows. But, if i read the mp3 tag information with a different software, then URL tags does not show (i really care now for the url_user tag, even other URL tags are not showing). I presume there is a problem with URL encoding, can this be the problem??

The software we using to read the mp3 tags is Tag & Rename, ver 3.4.6.

Here the code used to write the tags, using getID3() library:

$tagwriter = new getid3_writetags;

$tagwriter->filename = $filename;
$tagwriter->tagformats = array('id3v2.3');

$tagwriter->overwrite_tags = true;
$tagwriter->tag_encoding = "UTF-8"; // also tried with $TaggingFormat
$tagwriter->remove_other_tags = true;

... different tags come here, all working ok

$TagData['url_user'][] = 'http://www.sampleurl.com/';

$tagwriter->tag_data = $TagData;

if ($tagwriter->WriteTags()) { ... succesfull

Thank you very much.

Post Reply