[mythtv] [mythtv-commits] Ticket #4479: Add Lyrics visualization to MythMusic

Michael Rice mikerice1969 at gmail.com
Thu Feb 28 07:07:49 UTC 2008


On 2/26/08, Rob Smith <kormoc at gmail.com> wrote:
> On Mon, Feb 25, 2008 at 11:08 PM, Petr Stehlik <pstehlik at sophics.cz> wrote:
> >  I had a quick look at two or three different scripts for grabbing the
> >  lyrics and they all seem to use the same method - pass the song name to
> >  google.com, sometimes with " lyrics" added to the query... Then they try
> >  to parse the html output somehow.
>
> For what is it worth, Amarok uses scripts to sites like these:
> http://lyriki.com/
> http://letras.terra.com.br/
> http://www.leoslyrics.com/
>
> and lots more. Not sure if they'd allow us to do the same, but might
> be worth looking into rather then scraping google

The script is described here:
http://lyriki.com/Help:Wiki-Lyrics_Script

The script is part of kde-apps.  I tried the command line interface
out on a few random artist/titles and it quickly returned the lyrics
to stdout.  I would think we could use this without too much trouble.
It appears ruby is the only dependency which I apparently already had
installed anyway.

Using the TagLib 1.5 UnsynchronizedLyricsFrame I expect downloading
and saving in the MP3 file would be fairly easy... we'd just need a
bit of user interface.


More information about the mythtv-dev mailing list