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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Lyrics Add-ons (https://forum.kodi.tv/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


- alsaadie - 2011-02-23

Im getting the same problem "Fetching lyrics from Lyricsmode.com API faile", i tried to change the scrapper to lyricsWiki and lyricstime with no luck.

Anything i can do?


ERROR : "Fetching lyrics from Lyricsmode.com API failed" - brookes - 2011-02-23

alsaadie Wrote:Im getting the same problem "Fetching lyrics from Lyricsmode.com API faile", i tried to change the scrapper to lyricsWiki and lyricstime with no luck.

Anything i can do?

i am getting the same error message.

Here is my log:
http://pastebin.com/EKHHVemG


- tboooe - 2011-02-23

It seems a lot of people are having the same issues. The weird thing is that these feature worked fine for me a few months ago. Has the add-on been updated recently? Perhaps a bug was introduced?


- brookes - 2011-02-23

tboooe Wrote:It seems a lot of people are having the same issues. The weird thing is that these feature worked fine for me a few months ago. Has the add-on been updated recently? Perhaps a bug was introduced?

same here. worked up until a few months ago.


- amet - 2011-02-23

brookes Wrote:i am getting the same error message.

Here is my log:
http://pastebin.com/EKHHVemG

script points to http://www.lyricstime.com/mumford-&-sons-but-my-heart-told-my-head-lyrics.html

and there is nothing there, nothing I can do about that Sad


- brookes - 2011-02-23

amet Wrote:script points to http://www.lyricstime.com/mumford-&-sons-but-my-heart-told-my-head-lyrics.html

and there is nothing there, nothing I can do about that Sad

Apols for time waste. Could have sworn it used to give a specific message like "no lyrics found" as opposed to "API failed".

Thanks for responding and super useful script.


- amet - 2011-02-23

brookes Wrote:Apols for time waste. Could have sworn it used to give a specific message like "no lyrics found" as opposed to "API failed".

Thanks for responding and super useful script.

hehe, I could have gotten lazy and just used one string for all error responses Smile


- tboooe - 2011-02-24

amet Wrote:script points to http://www.lyricstime.com/mumford-&-sons-but-my-heart-told-my-head-lyrics.html

and there is nothing there, nothing I can do about that Sad

I still get the error even when the song is found. For example, first checked to make sure lyricstime had data for The Style Council, "My Ever Changing Moods". When I run the addon, I get the api error.


- alsaadie - 2011-02-24

brookes Wrote:i am getting the same error message.

Here is my log:
http://pastebin.com/EKHHVemG

Hi,
Sorry guys, its working now, i believe the problem was in the CU lyrics website, it was not reachable for sometimes.
Dear Amet,
What is the absolute link, so i will check the reachability of the site when i face the same issue next time


Regards


- cotestatnt - 2011-02-28

Hello.
I had the same problem and this is a possible solution. It's work for me.

Try to edit the lyricsScraper.py in the script folder at line 174 and 176 like this:

Code:
try:
       lyricText = content.split("<lyrics")[1].split("</lyrics")[0]
except:
       lyricText = content.split("<lyric")[1].split("</lyric")[0]



- tboooe - 2011-03-01

alsaadie Wrote:Hi,
Sorry guys, its working now, i believe the problem was in the CU lyrics website, it was not reachable for sometimes.
Dear Amet,
What is the absolute link, so i will check the reachability of the site when i face the same issue next time


Regards

Not sure what happened but this script is working great again! Thank you!


API failed - fschnack - 2011-03-04

I get constant "API failed" errors. In the debug log I've found the following:


23:39:36 T:956 M:830808064 NOTICE: -->Python Interpreter Initialized<--
23:39:37 T:956 M:830181376 NOTICE: Current Song: Pink Floyd:Coming Back to Life
23:39:37 T:956 M:829853696 NOTICE: GUI-DEBUG: myPlayerChanged event:2, force_update:False
23:39:38 T:956 M:830533632 ERROR: xbp__wfopen = untested
23:39:38 T:956 M:830533632 NOTICE: SCRAPER-DEBUG: LyricsFetcher.get_lyrics_thread Artist: Pink Floyd, Title: Coming Back to Life
23:39:38 T:956 M:830529536 NOTICE: Search url: http://lyrics.wikia.com/api.php?artist=pink%20floyd&song=coming%20back%20to%20life&fmt=xml
23:39:39 T:956 M:830148608 NOTICE: Title:[Pink_Floyd:Coming_Back_To_Life]
23:39:44 T:956 M:831434752 NOTICE: LyricsFetcher::get_lyrics_thread (176) [list index out of range]


Wierd, eh? Is there something I can do to fix it?

Thanks!!


- amet - 2011-03-04

Try using other scraping service, lyricstime or lyricsmode


- Imaginos - 2011-03-05

Hello, long time since I've been here Wink

I have exactly the same issue since xbmc 10.0 at least, here's an exemple of debug :


01:44:14 T:672 M:1205972992 NOTICE: SCRAPER-DEBUG: LyricsFetcher.get_lyrics_thread Artist: Angra, Title: Nothing to say
01:44:14 T:672 M:1206095872 NOTICE: Search url: http://lyrics.wikia.com/api.php?artist=angra&song=nothing%20to%20say&fmt=xml
01:44:15 T:672 M:1205268480 NOTICE: Title:[Angra:Nothing_To_Say]
01:44:17 T:672 M:1204244480 NOTICE: LyricsFetcher::get_lyrics_thread (176) [list index out of range]
01:44:17 T:672 M:1204248576 NOTICE: Next Song: Angra:Silence and distance
01:44:17 T:672 M:1204248576 ERROR: xbp__wfopen = untested
01:44:17 T:672 M:1204248576 NOTICE: SCRAPER-DEBUG: LyricsFetcher.get_lyrics_thread Artist: Angra, Title: Silence and distance
01:44:17 T:672 M:1204248576 NOTICE: Search url: http://lyrics.wikia.com/api.php?artist=angra&song=silence%20and%20distance&fmt=xml
01:44:18 T:672 M:1204273152 NOTICE: Title:[Angra:Silence_And_Distance]
01:44:18 T:3144 M:1204273152 ERROR: CRemoteControl::Connect - failed to connect
01:44:20 T:672 M:1203843072 NOTICE: LyricsFetcher::get_lyrics_thread (176) [list index out of range]
01:44:23 T:3144 M:1204011008 ERROR: CRemoteControl::Connect - failed to connect

As you can see, both url give results but the script fails.
My xbmc is on a win7 32, i also tried to shut down the firewall (just in case).


- amet - 2011-03-05

Please read what I said , change the scraper in settings as the lyricswiki is not working well.

Also, do not paste the log into a message use pastebin.com