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


- harryremon - 2011-09-03

amet Wrote:debug log might know, the folder name would be stripped of special characters

Just was about to update
It's not the name or path the problem, it's the lyrics itself, if the lyrics contain special characters like "à", "è", "é", etc... it gives the error and doesn't show the lyrics, is there a way to fix this ?


- amet - 2011-09-03

harryremon Wrote:Just was about to update
It's not the name or path the problem, it's the lyrics itself, if the lyrics contain special characters like "à", "è", "é", etc... it gives the error and doesn't show the lyrics, is there a way to fix this ?

that shouldnt be the problem, xbmc can handle it fine.


- harryremon - 2011-09-03

amet Wrote:that shouldnt be the problem, xbmc can handle it fine.

Then why is it happening with me Huh
do u need a debug log or something ?


- amet - 2011-09-03

harryremon Wrote:Then why is it happening with me Huh
do u need a debug log or something ?

I did say that debug log might have answers, lets see it please


- harryremon - 2011-09-03

amet Wrote:I did say that debug log might have answers, lets see it please

Yeah, sorry for that.
Here it is:

http://pastebin.com/yJCk41ZU


- amet - 2011-09-03

harryremon Wrote:Yeah, sorry for that.
Here it is:

http://pastebin.com/yJCk41ZU

is that the file you created and saved? try re-saving it as utf-8, or use addon to download the lyrics if they exist.


- harryremon - 2011-09-03

amet Wrote:is that the file you created and saved? try re-saving it as utf-8, or use addon to download the lyrics if they exist.


thanks it worked Smile , I saved it as utf-8 and it worked, so all the files should be saved as utf-8, right?
coz I have lot's of songs that the addon can't find their lyrics, so I have to create them manually.


- amet - 2011-09-03

harryremon Wrote:thanks it worked Smile , I saved it as utf-8 and it worked, so all the files should be saved as utf-8, right?
coz I have lot's of songs that the addon can't find their lyrics, so I have to create them manually.

yeah, thats what xbmc expects.


- harryremon - 2011-09-03

amet Wrote:yeah, thats what xbmc expects.

Thank You so much Rolleyes


- Illidan1337 - 2011-09-14

is there any way for it to fetch songs that start with the track number
for instance if a song is called "05 - Stay True"
the addon will search for that, and say no lyrics found


- perro6969 - 2011-10-16

Hello,
the best lyrics database out there is for sure the one used by http://www.lyricsplugin.com. Recently they are having a partnership with http://www.maxylyrics.com. Is there any chance to add a scraper for this?


Suggestions for improvement - msfc - 2011-10-29

Since switching to the unstable channel with Eden I have finally been able to see CU Lyrics displaying some lyrics.

However the majority of the time it displays "... API failed". At first I thought the problem I had been having with Dharma remained. After it finally displayed some lyrics, I have now concluded that this message really means the lyrics were not found. If so, that is what it should say. "API failed" is very confusing.

CU Lyrics fails to find lyrics for a large number of very popular songs in my collection including all the Beatles songs. I do not know if this is due to case mismatches or special characters, as has been discussed elsewhere in this forum or due to something else. I think CU Lyrics should first try an exact match and if that fails, try a case-insensitive search and other permutations.

Also instead of selecting a single scraper from the provided list, the user should be able to rank the scrapers in order and CU Lyrics should try each scraper in order until it finds the lyrics.

I also found a couple of confusing things in the UI:

- When the option to save the lyrics to a file is set the Source tag at the bottom of the UI always says "File". It should only say this if the lyrics were read from a file without an immediately preceding download. If the lyrics have just been downloaded and saved into the file, it should list the site from where they were downloaded.

- The proximity of "Source" with the up & down arrow buttons made me thing the buttons were for changing the web site to scrape. It was not until the first time lyrics were displayed that I realized their true purpose is paging through the lyrics. I suggest (a) not displaying the label Source until actually displaying a source location and (b) only enabling the arrow buttons when lyrics are displayed.

Thanks for a useful add-on. With the changes suggested above it will become even better.


- DDDamian - 2011-11-25

Love the add-on! Tweaked a few things in the parser section and now have much better luck with scraping.
Please please incorporate auto-scroll....even just based on the simple (lyrics lines)/(song duration) formula proposed earlier!
Thx man!


RE: [RELEASE] CU Lyrics (Script) Addon - kolo2000 - 2012-05-26

Hi I've got a problem with this plugin. Can you help me?
this is my log file.
Code:
08:32:33 T:3244  NOTICE: -----------------------------------------------------------------------
08:32:33 T:3244  NOTICE: Starting XBMC (11.0 Git:20120321-14feb09), Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Mar 21 2012 (compiler 1600)
08:32:33 T:3244  NOTICE: AMD Phenom(tm) 9550 Quad-Core Processor
08:32:33 T:3244  NOTICE: Desktop Resolution: 1680x1050 32Bit at 59Hz
08:32:33 T:3244  NOTICE: Running with administrator rights
08:32:33 T:3244  NOTICE: Aero is enabled
08:32:33 T:3244  NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
08:32:33 T:3244  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
08:32:33 T:3244  NOTICE: special://masterprofile/ is mapped to: C:\Users\Michał\AppData\Roaming\XBMC\userdata
08:32:33 T:3244  NOTICE: special://home/ is mapped to: C:\Users\Michał\AppData\Roaming\XBMC\
08:32:33 T:3244  NOTICE: special://temp/ is mapped to: C:\Users\Michał\AppData\Roaming\XBMC\cache
08:32:33 T:3244  NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
08:32:33 T:3244  NOTICE: Local hostname: Micha�-Komputer
08:32:33 T:3244  NOTICE: Log File is located: C:\Users\Michał\AppData\Roaming\XBMC\xbmc.log
08:32:33 T:3244  NOTICE: -----------------------------------------------------------------------
08:32:33 T:3244  NOTICE: Setup SDL
08:32:33 T:3244  NOTICE: Found screen: Rodzajowy monitor PnP on NVIDIA GeForce 9600 GT, adapter 0.
08:32:33 T:3244  NOTICE: Primary mode: 1680x1050 @ 59.94 - Full Screen
08:32:33 T:3244  NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
08:32:33 T:3244  NOTICE: Additional mode: 1600x1024 @ 60.00 - Full Screen
08:32:33 T:3244  NOTICE: load settings...
08:32:33 T:3244  NOTICE: special://profile/ is mapped to: special://masterprofile/
08:32:33 T:3244  NOTICE: loading special://masterprofile/guisettings.xml
08:32:33 T:3244  NOTICE: Getting hardware information now...
08:32:33 T:3244  NOTICE: Checking resolution 12
08:32:33 T:3244  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
08:32:33 T:3244  NOTICE: Loaded playercorefactory configuration
08:32:33 T:3244  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
08:32:33 T:3244  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
08:32:33 T:3244  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
08:32:33 T:3244  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
08:32:33 T:3244  NOTICE: Default DVD Player: dvdplayer
08:32:33 T:3244  NOTICE: Default Video Player: dvdplayer
08:32:33 T:3244  NOTICE: Default Audio Player: paplayer
08:32:33 T:3244  NOTICE: Disabled debug logging due to GUI setting. Level 0.
08:32:33 T:3244  NOTICE: Log level changed to 0
08:32:33 T:3244  NOTICE: Loading media sources from special://masterprofile/sources.xml
08:32:33 T:3244  NOTICE: Enabled Joystick: Controller (XBOX360 GAMEPAD)
08:32:33 T:3244  NOTICE: Details: Total Axis: 5 Total Hats: 1 Total Buttons: 10
08:32:34 T:3244  NOTICE: initializing playlistplayer
08:32:34 T:3244  NOTICE: DONE initializing playlistplayer
08:32:35 T:4048  NOTICE: -->Python Interpreter Initialized<--
08:32:35 T:3244  NOTICE: CApplication::UpdateLibraries - Starting video library startup scan
08:32:35 T:3244  NOTICE: CApplication::UpdateLibraries - Starting music library startup scan
08:32:35 T:1852  NOTICE: VideoInfoScanner: Starting scan ..
08:32:35 T:1852   ERROR: XFILE::CDirectory::GetDirectory - Error getting F:\biblioteki\videos\seriale/
08:32:35 T:3244  NOTICE: initialize done
08:32:35 T:3244  NOTICE: Running the application...
08:32:35 T:3244  NOTICE: ES: Starting event server
08:32:35 T:2272  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
08:32:35 T:2272  NOTICE: UDP: Listening on port 9777
08:32:35 T:3404  NOTICE: -->Python Interpreter Initialized<--
08:32:35 T:2084  NOTICE: -->Python Interpreter Initialized<--
08:32:35 T:5464  NOTICE: My Music: Scanning for music info using worker thread, operation took 00:00
08:32:35 T:1852  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
08:32:35 T:4604  NOTICE: -->Python Interpreter Initialized<--
08:32:35 T:4048  NOTICE: Artwork Downloader: ## Service - Run at startup: False
08:32:35 T:4048  NOTICE: Artwork Downloader: ## Service - Delayed startup: -- minutes
08:32:35 T:4048  NOTICE: Artwork Downloader: ## Service - Run as service: False
08:32:35 T:4048  NOTICE: Artwork Downloader: ## Service - Time: 00:00
08:32:35 T:3404   ERROR: Error Type: <type 'exceptions.WindowsError'>
08:32:35 T:3404   ERROR: Error Contents: (3, 'System nie mo\xbfe odnale\x9f\xe6 okre\x9clonej \x9ccie\xbfki', 'C:\\Users\\Micha\xc5\x82\\AppData\\Roaming\\XBMC\\addons\\service.qlock\\resources\\layout/*.*')
08:32:35 T:3404   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Micha�\AppData\Roaming\XBMC\addons\service.qlock\default.py", line 113, in <module>
                                                background, dom, lang = getLanguage()
                                              File "C:\Users\Micha�\AppData\Roaming\XBMC\addons\service.qlock\default.py", line 39, in getLanguage
                                                if xbmc.getLanguage() in (os.listdir(__layoutDir__)):
                                            WindowsError: (3, 'System nie mo\xbfe odnale\x9f\xe6 okre\x9clonej \x9ccie\xbfki', 'C:\\Users\\Micha\xc5\x82\\AppData\\Roaming\\XBMC\\addons\\service.qlock\\resources\\layout/*.*')
08:32:35 T:6044  NOTICE: -->Python Interpreter Initialized<--
08:32:35 T:4604  NOTICE:  StorageServer Module loaded RUN
08:32:35 T:4604  NOTICE: StorageClient-0.9.2 Starting server
08:32:35 T:4604  NOTICE: StorageServer-0.9.2 Storage Server starting C:\Users\Michał\AppData\Roaming\XBMC\userdata\Database\commoncache.db
08:32:35 T:2084   ERROR: Error Type: <type 'exceptions.WindowsError'>
08:32:35 T:2084   ERROR: Error Contents: (3, 'System nie mo\xbfe odnale\x9f\xe6 okre\x9clonej \x9ccie\xbfki', 'C:\\Users\\Micha\xc5\x82\\AppData\\Roaming\\XBMC\\addons\\*.*')
08:32:35 T:2084   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Micha�\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 389, in <module>
                                                Main()
                                              File "C:\Users\Micha�\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 82, in __init__
                                                self._fetch_addon_info()
                                              File "C:\Users\Micha�\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 321, in _fetch_addon_info
                                                addons = os.listdir(addonpath)
                                            WindowsError: (3, 'System nie mo\xbfe odnale\x9f\xe6 okre\x9clonej \x9ccie\xbfki', 'C:\\Users\\Micha\xc5\x82\\AppData\\Roaming\\XBMC\\addons\\*.*')
08:32:35 T:4712   ERROR: CRemoteControl::Connect - failed to connect
08:32:37 T:3244   ERROR: Window Translator: Can't find window tv
08:32:48 T:3244   ERROR: Previous line repeats 1 times.
08:32:48 T:3244   ERROR: XFILE::CDirectory::GetDirectory - Error getting F:\biblioteki\Music\aldona\ABBA\Number Ones\../extrafanart/
08:32:51 T:5852  NOTICE: -->Python Interpreter Initialized<--
08:32:51 T:5852   ERROR: Error Type: <type 'exceptions.ImportError'>
08:32:51 T:5852   ERROR: Error Contents: No module named gui
08:32:51 T:5852   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Micha�\AppData\Roaming\XBMC\addons\script.cu.lyrics\default.py", line 23, in <module>
                                                import gui
                                            ImportError: No module named gui
08:33:27 T:3244  NOTICE: Storing total System Uptime
08:33:27 T:3244  NOTICE: Saving settings
08:33:27 T:3244  NOTICE: stop all
08:33:27 T:3244  NOTICE: ES: Stopping event server
08:33:27 T:3244  NOTICE: stopping zeroconf publishing
08:33:28 T:2272  NOTICE: ES: UDP Event server stopped
08:33:28 T:3244  NOTICE: stop player
08:33:28 T:3244  NOTICE: stop sap announcement listener
08:33:28 T:3244  NOTICE: clean cached files!
08:33:28 T:3244  NOTICE: unload skin
08:33:28 T:4604  NOTICE: StorageServer-0.9.2 Closed down
08:33:28 T:3244  NOTICE: stop python
08:33:28 T:3244  NOTICE: stopped
08:33:28 T:3244  NOTICE: destroy
08:33:28 T:3244  NOTICE: closing down remote control service
08:33:28 T:3244  NOTICE: unload sections
08:33:28 T:3244  NOTICE: destroy



RE: [RELEASE] CU Lyrics (Script) Addon - DDDamian - 2012-05-26

You've got a few Python/addon errors in there - I'd suggest a re-install....