Author Topic: lyrics plugin - lyricsplugin.com is gone  (Read 13540 times)

y0z

  • Newbie
  • *
  • Posts: 10
    • View Profile
lyrics plugin - lyricsplugin.com is gone
« on: August 07, 2010, 19:47:23 »
The lyrics plugin points to lyricsplugin.com which is no longer working...
When i copy/paste the URL in a browser, the lyrics displays.
From gmb though, I get a blank page with the text http://lyricsvip.com in the middle.
« Last Edit: August 07, 2010, 19:49:18 by y0z »

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #1 on: August 08, 2010, 01:17:18 »
Yes, I saw that. The page it returns use javascript to load the lyrics :(
That probably means they don't want everybody to use their website.
Most of the other sites are not working too, I'll have to take a look at it, suggestions for good sites are welcome.

y0z

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #2 on: August 09, 2010, 08:30:12 »
Tonight, the lyricsplugin.com site is working in gmb...
As for alternate lyric sites, www.lyricsvip.com may be a good choice...
They have a large selection of lyrics.

The first letters of each word must be uppercase and spaces are replaced with a - (dash).
Here are some examples:
http://www.lyricsvip.com/Stone-Temple-Pilots/Lounge-Fly-Lyrics.html
http://www.lyricsvip.com/Stone-Temple-Pilots/Meat-Plow-Lyrics.html
http://www.lyricsvip.com/Stone-Temple-Pilots/Big-Empty-Lyrics.html

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #3 on: August 26, 2010, 02:58:33 »
I haven't seen lyricsplugin.com work again.
lyricsvip.com has a good database, but the search is almost useless, and it's very picky about the url, it is case-sensitive, and though most of the word are capitalized, some small words are sometimes not.
So if I add it it will work for maybe 50% of the songs :(
maybe I'll add it anyway as the few others that still work are not much better.

cesargcomp

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #4 on: August 26, 2010, 06:39:45 »
I sent you the translation - Portuguese (Brazil). In the email, talked about the url letras.com.br using encoding iso-8859-1. The lyrics plugin uses utf-8 (if I remember correctly). Is there any solution? The letter appears in the plugin but there are some characters that have problems.

lyricsplugin.com works perfectly in webcontext. Why?
What is the difference between the plugin Lyrics and the plugin Webcontext/Lyrics ?

Congratulations! The player is very good.

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #5 on: August 27, 2010, 02:37:44 »
thanks for the translation, it's now in git.
lyrics-songs, which I've fixed yesterday, is actually letras.terra.com.br it looks very similar to letras.com.br. I haven't seen encoding problems with letras.terra.com.br. If you see one, please send me a url that has the problem.

webcontext simply embed a web engine (gecko from firefox or webkit) so the pages work just as in a web browser, with all the annoying ads and without the possibility of using plugins such as flashblock... Also it is sometimes not easy to install the required libraries.

the lyrics plugin is partly an extremely simple/bad web engine written by me, partly a lyrics extractor from web pages. And it can also save/load lyrics to a file. It will probably become more a lyrics extractor, though the legality of this is not very clear.

cesargcomp

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #6 on: August 27, 2010, 21:35:28 »
some examples:
words with "ç", "ã", "É", "ó", "á", "í", ...
Directly from the site is perfect. In the lyrics plugin appears "?" to replace those letters.

http://letras.terra.com.br/jota-quest/305574/
http://letras.terra.com.br/jota-quest/312141/
http://letras.terra.com.br/jota-quest/68366/

PS: I used the following lines within the file lyrics.pm.
   letras_terra   =>   ['letras_terra','http://letras.terra.com.br/winamp.php?musica=%s&artista=%a',undef,
             sub { my $no= $_[0]=~m/href="envie_artista.php"/s; $_[0]=~s!^.*.<p>(.*?)</p>.*$!$1!s && !$no; }],

Is this correct or should I change it?

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #7 on: August 28, 2010, 19:59:49 »
It's just that the page use html entities that I've not added to gmb :(
I'll probably use the HTML::Entities perl module in the future to get the full list.

cesargcomp

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #8 on: August 30, 2010, 08:27:23 »
I got it ... Using Google. A redirection to the website of letras.terra.com.br.

Put the following lines to file [a] lyrics.pm [/ u]:

   google   =>   ['google','http://www.google.com/search?btnI=I%27m+Feeling+Lucky&hl=pt-BR&ie=UTF-8&sourceid=navclient&gfns=1&q=%s+%a+site%3Aletras.terra.com.br',undef,
             sub { my $no= $_[0]=~m/site:letras.terra.com.br/s; $_[0]=~s!^.*.id="main_cnt">(.*?)id="pub_9">.*$!$1!s && !$no; }],

Test and tell me if it worked.

PS: I corrected a few lines of translation and resent.

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #9 on: August 31, 2010, 01:19:57 »
it doesn't work well for me.
I'm not sure what you want to achieve, letras.terra.com.br is the site used by the "lyrics-songs" source in gmb (there was some problem when using the lyrics-songs.com url, there was a failed redirection to letras.terra.com.br, so it now use the letras.terra.com.br url directly), and with a recent update (http://git.gmusicbrowser.org/commit/b70c272b88) it now removes everything but the lyrics with this source.

I've commited the translation update, thanks.

cesargcomp

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #10 on: August 31, 2010, 21:52:08 »
Two things that could help us:
1) a button to save the lyrics in the webcontext plugin > lyrics
2) I use the desktop widget and I would like to see the lyrics of the webcontext plugin > lyrics because lyricsplugin it works well.

is it possible?

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #11 on: September 02, 2010, 02:18:26 »
1) a button to save the lyrics in the webcontext plugin > lyrics
This would save the whole page, not just the lyrics, which is not very nice.
Also I'm not even sure that the library for webkit or mozembed allows the saving of the current page, that is the page including the dynamic elements that been loaded by javascript as lyricsplugin now does.

2) I use the desktop widget and I would like to see the lyrics of the webcontext plugin > lyrics because lyricsplugin it works well.
is it possible?
It is already possible to include it in a desktop layout. But of course without the transparency that the lyrics widget can have. I don't know if it is possible to make the webcontext widget transparent, and don't have much hope that it is.

deric

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: lyrics plugin - lyricsplugin.com is gone
« Reply #12 on: November 23, 2010, 20:40:15 »
what about http://www.chartlyrics.com/api.aspx and http://lyricsfly.com/api/ and http://musixmatch.com/lyrics-api-terms/ ?

Would it be possible to sort lyrics sites with priority and in case that the first one doesn't find a lyric, then try the second one etc