[RELEASE] CU Lyrics (Script) Addon

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
amet Offline
Retired Team-Kodi Member
Posts: 4,087
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #316
hendoben Wrote:I'm getting 'fetching lyrics from ***********.com API failed' with all the fetchers.

log? my crystal ball just broke Smile
find quote
oddity Offline
Junior Member
Posts: 26
Joined: Nov 2008
Reputation: 0
Post: #317
I also always get a script error whenever I try to run CULyrics, regardless of which scraper I pick.

I've pasted my whole log here
http://pastebin.com/KtHj26af

Thanks very much for any help...
find quote
ronie Offline
Team-Kodi Member
Posts: 9,413
Joined: Jan 2009
Reputation: 165
Post: #318
oddity Wrote:I also always get a script error whenever I try to run CULyrics, regardless of which scraper I pick.

I've pasted my whole log here
http://pastebin.com/KtHj26af

Thanks very much for any help...

if i'm not mistaken there was a bug in xbmc recently that could cause this.
upgrade to the latest xbmc nightly build and you should be fine. :-)

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
oddity Offline
Junior Member
Posts: 26
Joined: Nov 2008
Reputation: 0
Post: #319
ronie Wrote:upgrade to the latest xbmc nightly build and you should be fine. :-)

I am using the latest build (or the one from yesterday anyway)
find quote
ronie Offline
Team-Kodi Member
Posts: 9,413
Joined: Jan 2009
Reputation: 165
Post: #320
oddity Wrote:I am using the latest build (or the one from yesterday anyway)

i may be wrong, since i'm not a windows user
but your logfile says:
Quote:18:05:54 T:236 M:774270976 NOTICE: Starting XBMC, Platform: Windows 7, 32-bit build 7600. Built on May 2 2011 (Git:20110501-be6ae84, compiler 1600)

latest available nightly was build on may 8.

the bug i was refering to was fixed on may 3.

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
oddity Offline
Junior Member
Posts: 26
Joined: Nov 2008
Reputation: 0
Post: #321
ronie Wrote:latest available nightly was build on may 8.

the bug i was refering to was fixed on may 3.

Ronie, i'm an idiot and you are completely right.
Thanks heaps for your help - much appreciated Smile
find quote
xbmcuser01 Offline
Senior Member
Posts: 150
Joined: Jun 2009
Reputation: 0
Location: The Netherlands
Post: #322
Okay, hmm, get it, hmmmmm. Confused So a bug in pre-May 3 versions makes the CULyrics pluging not work. Hmmmm. Any idea when a post May 8 version will be available for Ubuntu Lucid 10.04 then?

And when did the plugin still work? January? March? Because I'll downgrade then... I thought I'd frozen the XBMC version that worked and was stable for me. But I didn't. I appears that I accidentally updated XBMC together w/ a system update (w/ Synaptic). Unfortunately the XBMC version that's currently available for Lucid is the March 9 (2011) build. Aaarrgghh!

P.S. Why does XBMC update and update and update all the time whilst breaking some piece of functionality every darn time?
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,087
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #323
xbmcuser01 Wrote:Okay, hmm, get it, hmmmmm. Confused So a bug in pre-May 3 versions makes the CULyrics pluging not work. Hmmmm. Any idea when a post May 8 version will be available for Ubuntu Lucid 10.04 then?

And when did the plugin still work? January? March? Because I'll downgrade then... I thought I'd frozen the XBMC version that worked and was stable for me. But I didn't. I appears that I accidentally updated XBMC together w/ a system update (w/ Synaptic). Unfortunately the XBMC version that's currently available for Lucid is the March 9 (2011) build. Aaarrgghh!

P.S. Why does XBMC update and update and update all the time whilst breaking some piece of functionality every darn time?

how is this CU lyrics issue? **sigh**
find quote
xbmcuser01 Offline
Senior Member
Posts: 150
Joined: Jun 2009
Reputation: 0
Location: The Netherlands
Question   
Post: #324
amet Wrote:how is this CU lyrics issue? **sigh**
What exactly do you mean? How things are w/ the issue? Or What the issue exacly is...? Confused
find quote
ninjum Offline
Junior Member
Posts: 1
Joined: Jun 2011
Reputation: 0
Location: Spain
Post: #325
hello greetings to the forum, the first thing I feel my English I'm using a translator to post Blush , second I have a problem with cu lyrics that find the letters I get "fetching lyrics from ***********. com API failed "as someone else commented earlier but I can not find the solution yet. This is my log

Code:
17:25:35 T:116 M:4294967295  NOTICE: -----------------------------------------------------------------------
17:25:35 T:116 M:4294967295  NOTICE: Starting XBMC, Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Mar  8 2011 (Git:e9e9099, compiler 1500)
17:25:35 T:116 M:4294967295  NOTICE: AMD Athlon(tm) II X4 635 Processor
17:25:35 T:116 M:4294967295  NOTICE: Desktop Resolution: 1366x768 32Bit at 60Hz
17:25:35 T:116 M:4294967295  NOTICE: Running with restricted rights
17:25:35 T:116 M:4294967295  NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
17:25:35 T:116 M:4294967295  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
17:25:35 T:116 M:4294967295  NOTICE: special://masterprofile/ is mapped to: C:\Users\ninjum\AppData\Roaming\XBMC\userdata
17:25:35 T:116 M:4294967295  NOTICE: special://home/ is mapped to: C:\Users\ninjum\AppData\Roaming\XBMC
17:25:35 T:116 M:4294967295  NOTICE: special://temp/ is mapped to: C:\Users\ninjum\AppData\Roaming\XBMC\cache
17:25:35 T:116 M:4294967295  NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
17:25:35 T:116 M:4294967295  NOTICE: Log File is located: C:\Users\ninjum\AppData\Roaming\XBMC\xbmc.log
17:25:35 T:116 M:4294967295  NOTICE: -----------------------------------------------------------------------
17:25:35 T:116 M:4294967295  NOTICE: Setup SDL
17:25:35 T:116 M:4294967295  NOTICE: Found screen: Monitor PnP genĂ©rico on ATI Radeon 3000 Graphics, adapter 0.
**************************************************
**************************************************
- Full Screen #2
17:25:35 T:116 M:4294967295  NOTICE: Previous line repeats 2 times.
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1776x1000 @ 25.00i - Full Screen #2
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1776x1000 @ 30.00i - Full Screen #2
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1920x1080 @ 30.00i - Full Screen #2
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1920x1080 @ 25.00i - Full Screen #2
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1920x1080 @ 29.97i - Full Screen #2
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 640x480 @ 59.94 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 640x480 @ 70.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 640x480 @ 73.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 640x480 @ 75.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 800x600 @ 56.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 800x600 @ 60.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 800x600 @ 70.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 800x600 @ 72.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 800x600 @ 75.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1024x768 @ 60.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1024x768 @ 70.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1024x768 @ 72.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1024x768 @ 75.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1280x720 @ 59.94 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1280x720 @ 60.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1280x768 @ 75.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1280x800 @ 60.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1280x800 @ 75.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1280x960 @ 60.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1360x768 @ 60.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1360x768 @ 62.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1360x768 @ 75.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: Additional mode: 1366x768 @ 60.00 - Full Screen
17:25:35 T:116 M:4294967295  NOTICE: load settings...
17:25:35 T:116 M:4294967295  NOTICE: special://profile/ is mapped to: special://masterprofile/
17:25:35 T:116 M:4294967295  NOTICE: loading special://masterprofile/guisettings.xml
17:25:35 T:116 M:4294967295  NOTICE: Getting hardware information now...
17:25:35 T:116 M:4294967295  NOTICE: Checking resolution 12
17:25:35 T:116 M:4294967295  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
17:25:35 T:116 M:4294967295  NOTICE: Loaded playercorefactory configuration
17:25:35 T:116 M:4294967295  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
17:25:35 T:116 M:4294967295  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
17:25:35 T:116 M:4294967295  NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
17:25:35 T:116 M:4294967295  NOTICE: Default DVD Player: dvdplayer
17:25:35 T:116 M:4294967295  NOTICE: Default Video Player: dvdplayer
17:25:35 T:116 M:4294967295  NOTICE: Default Audio Player: paplayer
17:25:35 T:116 M:4294967295  NOTICE: Loading media sources from special://masterprofile/sources.xml
17:25:35 T:116 M:4294967295  NOTICE: initializing playlistplayer
17:25:35 T:116 M:4294967295  NOTICE: DONE initializing playlistplayer
17:25:36 T:116 M:4294967295  NOTICE: initialize done
17:25:36 T:116 M:4294967295  NOTICE: Running the application...
17:25:36 T:116 M:4294967295  NOTICE: ES: Starting event server
17:25:36 T:2068 M:4294967295  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
17:25:36 T:2068 M:4294967295  NOTICE: UDP: Listening on port 9777
17:26:06 T:888 M:4294967295  NOTICE: -->Python Interpreter Initialized<--
17:26:06 T:888 M:4294967295  NOTICE: Current Song: Warcry:Aire
17:26:06 T:888 M:4294967295  NOTICE: GUI-DEBUG: myPlayerChanged event:2, force_update:False
17:26:07 T:888 M:4294967295   ERROR: xbp__wfopen = untested
17:26:07 T:888 M:4294967295  NOTICE: SCRAPER-DEBUG: LyricsFetcher.get_lyrics_thread Artist: Warcry, Title: Aire
17:26:07 T:888 M:4294967295  NOTICE: Search url: [url]http://lyrics.wikia.com/api.php?artist=warcry&song=aire&fmt=xml[/url]
17:26:08 T:888 M:4294967295  NOTICE: Title:[WarCry:Aire]
17:26:18 T:888 M:4294967295  NOTICE: LyricsFetcher::get_lyrics_thread (176) [list index out of range]
17:26:18 T:888 M:4294967295  NOTICE: Next Song: Warcry:Junto a mi
17:26:18 T:888 M:4294967295   ERROR: xbp__wfopen = untested
17:26:18 T:888 M:4294967295  NOTICE: SCRAPER-DEBUG: LyricsFetcher.get_lyrics_thread Artist: Warcry, Title: Junto a mi
17:26:18 T:888 M:4294967295  NOTICE: Search url: [url]http://lyrics.wikia.com/api.php?artist=warcry&song=junto%20a%20mi&fmt=xml[/url]
17:26:18 T:888 M:4294967295  NOTICE: Title:[index.php?title=WarCry:Junto_A_Mi&amp;amp;action=edit]
17:26:26 T:888 M:4294967295  NOTICE: LyricsFetcher::get_lyrics_thread (176) [list index out of range]
17:26:26 T:116 M:4294967295   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\ninjum\AppData\Roaming\XBMC\addons\script.cu.lyrics
17:26:36 T:116 M:4294967295  NOTICE: Storing total System Uptime
17:26:36 T:116 M:4294967295  NOTICE: Saving settings
17:26:36 T:116 M:4294967295  NOTICE: stop all
17:26:36 T:116 M:4294967295  NOTICE: ES: Stopping event server
17:26:37 T:2068 M:4294967295  NOTICE: ES: UDP Event server stopped
17:26:37 T:116 M:4294967295  NOTICE: stop sap announcement listener
17:26:37 T:116 M:4294967295  NOTICE: clean cached files!
17:26:37 T:116 M:4294967295  NOTICE: unload skin
17:26:37 T:116 M:4294967295   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\ninjum\AppData\Roaming\XBMC\addons\script.cu.lyrics
17:26:37 T:116 M:4294967295   ERROR: Previous line repeats 1 times.
17:26:37 T:116 M:4294967295  NOTICE: stop python
17:26:37 T:116 M:4294967295  NOTICE: stopped
17:26:37 T:116 M:4294967295  NOTICE: destroy
17:26:37 T:116 M:4294967295  NOTICE: unload sections

When you remove a piece log (I do not care Wink ) because I was over 10000 characters and would not let me send Sad ( where the **** is displayed where it is cut )

thanks
(This post was last modified: 2011-06-09 21:42 by ninjum.)
find quote
Darts Offline
Junior Member
Posts: 47
Joined: Oct 2006
Reputation: 0
Location: Ottignies
Post: #326
Hello!

I'm using 9th of July nightly on Win7 x64 and I'm quite unable to use CU lyrics :
When asked to display some it hangs XBMC for about 20 seconds (music keeps playing though) then displays the lyrics but still hangs after that.
I have to kill the process.

The debug log does not indicate much I'm afraid :
Code:
11:09:04 T:4720 M:2191634432  NOTICE: -->Python Interpreter Initialized<--
11:09:04 T:4720 M:2189488128  NOTICE: Current Song: Arid:All I did (was get close to you)
11:09:05 T:4720 M:2184572928  NOTICE: SCRAPER-DEBUG-lyricsmode: LyricsFetcher.get_lyrics_thread Artist: Arid, Title: All I did (was get close to you)
11:09:05 T:4720 M:2184572928  NOTICE: Search url: http://www.lyricsmode.com/lyrics/a/arid/all_i_did_(was_get_close_to_you).html
11:09:25 T:4720 M:2191646720  NOTICE: Next Song: Arid:You are
11:09:25 T:4720 M:2191646720  NOTICE: SCRAPER-DEBUG-lyricsmode: LyricsFetcher.get_lyrics_thread Artist: Arid, Title: You are
11:09:25 T:4720 M:2191646720  NOTICE: Search url: http://www.lyricsmode.com/lyrics/a/arid/you_are.html
Now I tried several things such as :
- Switch from Aeon MQ2 to confluence
- Uninstall the script & delete the userdata/culyrics
- Deactivate all options (smooth scroll, save lyrics, use embedded) and change the scrapper.
All without luck.

I also quick browse the last pages of this thread, am I correct in assuming there is a bug between the last nightlies and CU Lyrics 2.0?

Our greatest glory is not in never falling but in rising up every time we fall.
find quote
dillinger Offline
Junior Member
Posts: 5
Joined: Feb 2011
Reputation: 0
Location: Norway
Post: #327
Just wanted to drop by and say thanks for this great plugin. It works great on my end. Two suggestions, if I may:

Is it possible for the error-message (the one that appears when no lyrics are found) to disapear after a few seconds?

As a metalhead, I usually use darklyrics.com to check up on lyrics. It's the largest site for lyrics within the genre. Any chance of incorporating that site into the plugin? I have no understanding of programming, but I'm guessing doing something like that would take a lot of time and effort. I don't wanna come off as ungrateful for your awesome work, just figured I'd put it out there in case it was not too much work.
find quote
tungmeister Offline
Fan
Posts: 466
Joined: Jan 2009
Reputation: 8
Location: Sheffield, UK
Post: #328
Would it be possible to get the script to exclude punctuation such as question marks and exclamation marks as including them results in lyric retrieval failure for example a tracks name is "Oh my Golly!" which the script will produce http://www.lyricstime.com/pixies-oh-my-g...yrics.html as the lyric URL when in actuality the correct URL is http://www.lyricstime.com/pixies-oh-my-g...yrics.html resulting in the API failed message.

Edit: Quick fix for anyone else having this issue, go to line 153 of %appdata%\roaming\XBMC\addons\script.cu.lyrics\resources\lib\scrapers\lyricstime​\lyricsscraper.py and change it to:
Code:
song_search = urllib.urlopen(url.replace("--","-").replace("?","").replace("!","")).read()
(This post was last modified: 2011-08-16 02:13 by tungmeister.)
find quote
harryremon Offline
Member
Posts: 58
Joined: Nov 2010
Reputation: 0
Location: Cairo,Egypt
Post: #329
I'm having a problem with special characters in the file name, I created a folder with the artist name in the lyrics folder (where I found the other lyrics) (\\XBMC\userdata\addon_data\script.cu.lyrics\lyrics)
and I placed a txt file with the lyrics in it and I named it exactly (copy & paste) like the song title (O Luce Che Brilla Nell 'Oscurita.txt) but when I lunch CU lyrics it just shows this message "Failed fetching lyrics". is it the apostrophe or something ?

Not knowing is not a sin.... knowing and not sharing is
[Image: widget]

XBMC-HID Bluetooth Remote Control for Sony Ericsson
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,087
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #330
harryremon Wrote:I'm having a problem with special characters in the file name, I created a folder with the artist name in the lyrics folder (where I found the other lyrics) (\\XBMC\userdata\addon_data\script.cu.lyrics\lyrics)
and I placed a txt file with the lyrics in it and I named it exactly (copy & paste) like the song title (O Luce Che Brilla Nell 'Oscurita.txt) but when I lunch CU lyrics it just shows this message "Failed fetching lyrics". is it the apostrophe or something ?

debug log might know, the folder name would be stripped of special characters
find quote
Post Reply