[RELEASE] CU Lyrics (Script) Addon

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
chavi Offline
Junior Member
Posts: 2
Joined: Dec 2009
Reputation: 0
Post: #271
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....
find quote
evschaapman Offline
Junior Member
Posts: 11
Joined: Oct 2010
Reputation: 0
Post: #272
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.
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,512
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #273
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


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
evschaapman Offline
Junior Member
Posts: 11
Joined: Oct 2010
Reputation: 0
Post: #274
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!
find quote
tboooe Offline
Fan
Posts: 457
Joined: Dec 2010
Reputation: 0
Post: #275
Any update on this? This script used to work now all I get are the API errors regardless of which lyric source I select.
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,512
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #276
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?


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
tboooe Offline
Fan
Posts: 457
Joined: Dec 2010
Reputation: 0
Post: #277
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.
find quote
tboooe Offline
Fan
Posts: 457
Joined: Dec 2010
Reputation: 0
Post: #278
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=t...in&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
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,512
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #279
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=t...in&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=711...tcount=273


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
tboooe Offline
Fan
Posts: 457
Joined: Dec 2010
Reputation: 0
Post: #280
amet Wrote:http://forum.xbmc.org/showpost.php?p=711...tcount=273

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