XBMC Community Forum
[RELEASE] CU Lyrics (Script) Addon - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Lyrics Add-ons (/forumdisplay.php?fid=146)
+---- Thread: [RELEASE] CU Lyrics (Script) Addon (/showthread.php?tid=62853)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


- chavi - 2011-01-29 14:34

frank75 Wrote:Get this when i try to fetch lyrics:

-Fetching lyrics from Lyricsmode.com API failed-
Same on LyricsWiki and lyricstime.

I have set not save, and save lyrics. But stil no contact.

Anyone have an idea?

Thx in advance

I've found the problem. It's in the line:

lyricText = content.split("<lyrics>")[1].split("</lyrics>")[0]

in the script.cu.lyrics/resources/lib/scrapers/lyricwiki/lyricsScraper.py

The lyricwiki page not have an "<lyrics&gt" string, it is "&ltlirics>". An solution may be doing:

content=content.replace("<","&lt;");
content=content.replace(">","&gt;");

before the above line.

My problem is that calling cu lyrics a second time results in a xmbc segmentation fault....


- evschaapman - 2011-02-01 14:43

Hi Amet,

I see that you have already been talking about the CU Lyrics API error message. I have the same error suddenly, as you know it worked great after our last post. I also changed the settings from wiki to time, but for me it still gives the same error. And for any song I have selected. Any ideas how I can fix this? I am not into programming unfortunately.

file http://pastebin.com/rDh7LSAi

CU

And many thanks.


- amet - 2011-02-01 23:53

evschaapman Wrote:Hi Amet,

I see that you have already been talking about the CU Lyrics API error message. I have the same error suddenly, as you know it worked great after our last post. I also changed the settings from wiki to time, but for me it still gives the same error. And for any song I have selected. Any ideas how I can fix this? I am not into programming unfortunately.

file http://pastebin.com/rDh7LSAi

CU

And many thanks.

go into CU Lyrics addon settings and use a different service to scrape the lyrics, try lyricsmode or lyricstime


- evschaapman - 2011-02-03 23:48

Thanks Amet for the reply. I did check this before,but with no luck. However I tryed again. Following results:
* After selecting lyricsmode, it suddenly retrieved one song lyric, however it was not correct. I thought, maybe others might have been fixed and so I changed back to another, it did not work, same API error. So, back to lyricsmode, but unfortunately suddenly again same API error.

Any other ideas? :-)

Thanks again for your quick reply!


- tboooe - 2011-02-14 04:38

Any update on this? This script used to work now all I get are the API errors regardless of which lyric source I select.


- amet - 2011-02-14 07:40

tboooe Wrote:Any update on this? This script used to work now all I get are the API errors regardless of which lyric source I select.

update on what?? is it not working for you? log?


- tboooe - 2011-02-14 22:51

amet Wrote:update on what?? is it not working for you? log?

Sorry for not being more clear. Yes, this script stopped working for whatever reason recently. I will post a log later today.


- tboooe - 2011-02-15 05:38

Here is the relevant error in my log:

19:32:14 T:3360 M:911314944 NOTICE: SCRAPER-DEBUG: LyricsFetcher.get_lyrics_thread Artist: The Cranberries, Title: Uncertain
19:32:14 T:3360 M:911314944 NOTICE: Search url: http://lyrics.wikia.com/api.php?artist=the%20cranberries&song=uncertain&fmt=xml
19:32:14 T:3360 M:910934016 NOTICE: Title:[The_Cranberries:Uncertain]
19:32:15 T:3360 M:910327808 NOTICE: LyricsFetcher::get_lyrics_thread (176) [list index out of range]
19:32:15 T:1412 M:910397440 ERROR: Control 101 in window 13000 has been asked to focus, but it can't


- amet - 2011-02-15 08:28

tboooe Wrote:Here is the relevant error in my log:

19:32:14 T:3360 M:911314944 NOTICE: SCRAPER-DEBUG: LyricsFetcher.get_lyrics_thread Artist: The Cranberries, Title: Uncertain
19:32:14 T:3360 M:911314944 NOTICE: Search url: http://lyrics.wikia.com/api.php?artist=the%20cranberries&song=uncertain&fmt=xml
19:32:14 T:3360 M:910934016 NOTICE: Title:[The_Cranberries:Uncertain]
19:32:15 T:3360 M:910327808 NOTICE: LyricsFetcher::get_lyrics_thread (176) [list index out of range]
19:32:15 T:1412 M:910397440 ERROR: Control 101 in window 13000 has been asked to focus, but it can't

http://forum.xbmc.org/showpost.php?p=711272&postcount=273


- tboooe - 2011-02-15 16:53

amet Wrote:http://forum.xbmc.org/showpost.php?p=711272&postcount=273

Thank you for the reply. I have tried every other lyric scraper available in the configurations and always get the same API error.