Bug 85961 - Lyrics support in id3v2
Summary: Lyrics support in id3v2
Status: RESOLVED INTENTIONAL
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 131567 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-25 20:56 UTC by Simon
Modified: 2008-03-12 15:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2004-07-25 20:56:23 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

It would be great to see lyrics displayed in the context browser. Lyrics as stored in the id3v2-tag for mp3 files, I don't know anything about ogg-files though. Should this be implemented, then it might be worth considering automatic lyrics downloading for the future!
Comment 1 Allan Sandfeld 2004-12-09 16:17:44 UTC
I think most lyrics are stored in the Lyric3 tag. 

Btw. this wish is probably better to move to TagLib, until implemented there it amarok cannot do much.
Comment 2 John F Schnittker 2006-02-10 18:30:30 UTC
I am casting my maximum (20) votes because I think Synchronized Lyrics will benefit: Foreign-Language-Learners, Karoke Fans, Audiobook Fans, and the Hearing Impaired.

Technical Update: 

The ID3 standard body deprecated Lyrics3 in favor of the new ID3v2 "USLT" and "SYLT" frames. We now have "SYLT" for Synchronised lyrics/text, and "USLT" for Unsychronised lyrics/text transcription. The embedding process is similar to Lyrics3, only the data is structured somewhat differently:

http://www.id3.org/id3v2.3.0.html#sec4.9

Implementations have started appearing:

WinAMP SYLT Lyrics Plugin
http://sites.rapidus.net/gpatrick/en/indexen.html

XMMS-SingIt (still early development)
http://stud.fbi.fh-darmstadt.de/~glogow/

IStar Composer:
http://www.scriptsoftware.com/composer/
"SYLT" for Synchronised lyrics/text, and "USLT" for Unsychronised lyrics/text transcription:
Comment 3 John F Schnittker 2006-04-06 14:45:35 UTC
Apparently Taglib does provide the underlying functionality needed to read the SYLT/USLT frames, as discussed in bug #77926 

Although it's not "generic" API, the SYLT/USLT frame contents could be accessed with code something like this: 

 TagLib::MPEG::File f("foo.mp3"); 
 if(f.ID3v2Tag() && !f.ID3v2Tag()->frameListMap()["SYLT"].isEmpty()) 
   std::cout << f.ID3v2Tag()->frameListMap()["SYLT"].front() << std::endl; 
 
 ...or... 
 
 TagLib::Vorbis::File f("foo.ogg"); 
 if(!f.tag()->fieldListMap()["SYLT"].isEmpty()) 
   std::cout << f.tag()->fieldListMap()["SYLT"].front() << std::endl; 

Thanks,

John
Comment 4 Alexandre Oliveira 2006-04-06 16:01:40 UTC
Yes, we access disc number and composer that way, so anyone interested on this can see metabundle.cpp for examples.
USLT was planned, I didn't do it because I had no time, considering other priorities.
I don't plan adding SYLT, though. I think it'd would be better off as a script.
Comment 5 John F Schnittker 2006-04-24 01:35:13 UTC
I have added USLT lyrics to my mp3 files with Kid3.

How to create an Amarok script to display the USLT frame ?

Thanks!

Comment 6 John F Schnittker 2006-09-01 18:09:29 UTC
For those interested in synchronized lyrics, please vote for new Bug 133012 (wishlist) for ID3v2.4 "SYLT" synchronized lyrics support in Amarok.

Thanks!
Comment 7 Stefan Gruber 2006-09-29 23:04:05 UTC
There is already an existing script for Amarok, which reads/writes the USLT tag for ID3v2.4.

Lyrics ID3:
http://kde-apps.org/content/show.php?content=39570

Stifi
Comment 8 Michael Gorven 2006-10-10 22:10:36 UTC
This would be a great feature because iPod's can display lyrics stored in the USLT field of MP3 files. It would be nice to have an option to store lyrics in the ID3v2 tag as well as the database, as well as a way to save all lyrics in the database to the respective file.
Comment 9 Martin Aumueller 2006-10-21 11:52:47 UTC
*** Bug 131567 has been marked as a duplicate of this bug. ***
Comment 10 Stefan Gruber 2006-12-12 23:21:01 UTC
The lyrics script on kde-apps has moved to this address:
http://kde-apps.org/content/show.php?content=49274
Comment 11 Harald Sitter 2008-01-05 15:02:45 UTC
Closing as WONTFIX:
* would be redundant to save the lyrics in the DB and the tags (otherwise we would have to write covers, ratings, scores and stuff as well to the tags)
* there is already a script available
Comment 12 domi 2008-01-07 22:42:23 UTC
As said Michael here (http://bugs.kde.org/show_bug.cgi?id=131567#c6), setting a flag in iPod database is needed to have the lyrics on the screen. gtkpod (0.99.10 with libgpod 0.5.2) is already able to do that (of course if lyrics are already stored in ID3v2 tag). It would be nice if someone could implement this feature, maybe using the idea from gtkpod code (I don't know how to do it, I'm sorry but I'm not a developer..).

Bye
Scido

Comment 13 Dario Panico 2008-03-12 15:13:46 UTC
#11 
* would be redundant to save the lyrics in the DB and the tags (otherwise we would have to write covers, ratings, scores and stuff as well to the tags)
and why don't we write all these informations on the files? As long as lyrics, covers and ratings are managed by portable players why amarok can't make things easier?
* there is already a script available 
which is not part of the amarok porject, is not in a normal installation of amarok and doesn't work everytime (but that's not an amarok problem)