How do I write an id3v2 TXXX tag?

The place for "I can't figure out how to..." questions.
Post Reply
corwin
User
Posts: 4
Joined: Sun Feb 11, 2007 12:12 am
Location: So Ca

How do I write an id3v2 TXXX tag?

Post by corwin » Sun Feb 11, 2007 10:18 am

I've tried many combinations, such as:

$TagData['TXXX'][] = 'fa11eded4ddc63a9c66e0436c913a2a4';
$TagData['text'][] = 'fa11eded4ddc63a9c66e0436c913a2a4';
#$TagData['text']['md5_data'] = 'fa11eded4ddc63a9c66e0436c913a2a4';
$TagData['text']['md5_data'][] = 'fa11eded4ddc63a9c66e0436c913a2a4';
$TagData['text'][]['md5_data'] = 'fa11eded4ddc63a9c66e0436c913a2a4';
$TagData['text'][]['md5_data'][] = 'fa11eded4ddc63a9c66e0436c913a2a4';

$tagwriter->WriteTags() is true even with all those hashes in the $TagData array but they do not get written. The other tags in $TagData such as title, artist, album are written properly.

UPDATE: $TagData['user_text'][] = 'fa11eded4ddc63a9c66e0436c913a2a4'; writes the hash but not the description....

One thing that seems wrong is to write the tag name is 'user_text', but when reading it's 'text'. You should be able to copy the data from a read to write w/o transposing the name.

corwin
User
Posts: 4
Joined: Sun Feb 11, 2007 12:12 am
Location: So Ca

Solution to TXXX tag problem

Post by corwin » Sun Mar 04, 2007 12:52 am

I guess this project is pretty dead. In case anyone was wondering I was able to resolve the issue by using /usr/bin/id3v2 --TXXX "md5_data:fa11eded4ddc63a9c66e0436c913a2a4"

Post Reply