[RELEASE] CU Lyrics (Script) Addon

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
harryremon Offline
Member
Posts: 58
Joined: Nov 2010
Reputation: 0
Location: Cairo,Egypt
Post: #331
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 ?

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
How do ya like them apples?
Posts: 4,107
Joined: Jul 2009
Reputation: 39
Location: Novi Sad / Dubai
Post: #332
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.


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
(This post was last modified: 2011-09-03 22:34 by amet.)
find quote
harryremon Offline
Member
Posts: 58
Joined: Nov 2010
Reputation: 0
Location: Cairo,Egypt
Post: #333
amet Wrote:that shouldnt be the problem, xbmc can handle it fine.

Then why is it happening with me Confused
do u need a debug log 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
How do ya like them apples?
Posts: 4,107
Joined: Jul 2009
Reputation: 39
Location: Novi Sad / Dubai
Post: #334
harryremon Wrote:Then why is it happening with me Confused
do u need a debug log or something ?

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


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
harryremon Offline
Member
Posts: 58
Joined: Nov 2010
Reputation: 0
Location: Cairo,Egypt
Post: #335
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

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
How do ya like them apples?
Posts: 4,107
Joined: Jul 2009
Reputation: 39
Location: Novi Sad / Dubai
Post: #336
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.


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
harryremon Offline
Member
Posts: 58
Joined: Nov 2010
Reputation: 0
Location: Cairo,Egypt
Post: #337
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.

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
How do ya like them apples?
Posts: 4,107
Joined: Jul 2009
Reputation: 39
Location: Novi Sad / Dubai
Post: #338
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.


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
harryremon Offline
Member
Posts: 58
Joined: Nov 2010
Reputation: 0
Location: Cairo,Egypt
Post: #339
amet Wrote:yeah, thats what xbmc expects.

Thank You so much Rolleyes

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

XBMC-HID Bluetooth Remote Control for Sony Ericsson
find quote
Illidan1337 Offline
Junior Member
Posts: 7
Joined: Aug 2011
Reputation: 0
Post: #340
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
find quote
perro6969 Offline
Senior Member
Posts: 109
Joined: May 2010
Reputation: 0
Post: #341
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?
find quote
msfc Offline
Junior Member
Posts: 41
Joined: Nov 2010
Reputation: 0
Post: #342
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.
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #343
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!

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
kolo2000 Offline
Junior Member
Posts: 3
Joined: May 2012
Reputation: 0
Post: #344
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\\resour​ces\\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\\resour​ces\\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
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #345
You've got a few Python/addon errors in there - I'd suggest a re-install....

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
Post Reply