writing lyrics,lyricist,publisher ...

Post Reply
Posts: 2
Joined: Wed Nov 15, 2006 12:50 am
Location: California

writing lyrics,lyricist,publisher ...

Post by elbertdee » Wed Nov 15, 2006 2:05 am

Ok, I have gone through the demos for v 1.7.7
I have gone through the forums for 5 hours now and I am stumped
I would like to write out
the lyrics, lyricists, publisher and some of the other tags that are not the id2v1

I have had no success, I haven't had it blow up , but it won't write. Writing the Artists, title etc no problem.
Reading every possible tag and displaying it is not a problem.
But my brain jyust can not grasp how I am supposed to set things so it will write the lyrics and the publisher etc.

Would some one give me a simple example of how to do the lyrics and the publisher . If I have that I can figure the rest out.

tried playing with the demo.simple.write.php
$TagData['id3v2']['unsynchronised_lyric'] = 'WHAT IS THIS';

but it did not do it.

What am I missing
any help is appreciated.

I am reasonably proficient with PHP
have been an application programmer for many years.
but I just can't figure this part out.

Elbert Dee Walston

Posts: 2
Joined: Wed Nov 15, 2006 12:50 am
Location: California

got some of it

Post by elbertdee » Wed Nov 15, 2006 3:06 am

i figured some out but still having trouble with lyrics
got $TagData['lyricist'] []= "WRITER!";
$TagData['original_lyricist'] [] = 'Write 2';
$TagData['internet_radio_station_name'][] = 'Write number 3';


still would appreciate some help.

why oh why do I figure it out after I finally ask a question

Elbert Dee

Allan Hansen
getID3() v2 developer
Posts: 445
Joined: Sun May 04, 2003 2:22 pm
Location: Holmegaard, Denmark

Post by Allan Hansen » Wed Nov 15, 2006 11:40 am

I am affraid I cannot help you. The current tag writing code is written exclusively by James Heinrich and I have never really looked at it/used it.

However, the next major version og getID3(), 2.0.0, will have new tag writing routines written from scratch. But these are currently under heavy development...

Hopefully another forum member can help you.

Posts: 1
Joined: Mon May 12, 2008 4:00 am

Writing unsynchronised_lyrics

Post by stringtheory » Mon May 12, 2008 4:24 am

This just worked for me writing 1d3v2.4 using getid3 v1.7 stable:
When reading use 'unsynchronised_lyric' but when writing use 'unsynchronised_lyrics' note the latter is plural.

It seems from a bit of scratching around that these long names merely save us trying to remember the frame code in this case 'USLT'
(from the spec at http://www.id3.org/id3v2.4.0-frames
"4.8 USLT Unsynchronised lyric/text transcription").

Just looks like the function getid3_write_id3v2::ID3v2ShortFrameNameLookup
in write.id3v2.php uses plural while the read (which I didn't need to chase up) must use the singular.

Warning: As usual test on copies of songs before you set a loop loose on your painstakingly tagged collection - watch for various combinations of frames that all goes well.

BTW authors: with this getid3 you are spoiling us, I feel like a God even though compared to you guys I'm like a monkey in the cockpit of an A380.

Posts: 1
Joined: Thu Aug 05, 2010 8:04 am
Are you a spambot?: no

Re: writing lyrics,lyricist,publisher ...

Post by jeanlery13 » Thu Aug 05, 2010 8:53 am

I also have the same problem. I cannot figure it out until this time on how this can be done. Hopefully there are some writers here that can help us. This is a bit hard.

Post Reply