Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 26
[RELEASE] CU Lyrics (Script) Addon
1. Is it possible to change the script so that it first will try one scraper, if no lyrics found -> automatically try second scraper, not found --> third scraper ? After lyricswiki started having problems I often have to change between 'time' and 'mode' and this is cumbersome. Ideally this switch could be performed the script, or atleast with a 1 button select ?

2. Is it possible to implement an option to record scrolling ? If I play a song and manually scroll, the timings for the manual scroll could be stored in a text file and the next time you play the song CU Lyrics will use these timings to scroll. (PS: I know about LRC lyrics, but CU Lyrics is the add-on I prefer).

Thanks,
Thomas
thomash72 Wrote:1. Is it possible to change the script so that it first will try one scraper, if no lyrics found -> automatically try second scraper, not found --> third scraper ? After lyricswiki started having problems I often have to change between 'time' and 'mode' and this is cumbersome. Ideally this switch could be performed the script, or atleast with a 1 button select ?

2. Is it possible to implement an option to record scrolling ? If I play a song and manually scroll, the timings for the manual scroll could be stored in a text file and the next time you play the song CU Lyrics will use these timings to scroll. (PS: I know about LRC lyrics, but CU Lyrics is the add-on I prefer).

Thanks,
Thomas

1. is possible, I will look into it and how it could be implemented

2. is probably possible but it would be reinventing the wheel as thats what LRC lyrics does. so I say "no" from me Smile
Hi,

Amet, on which repo do you find lyricstime and the like? They only 2 available on the official repo are CU lyrics and LRC lyrics (which doesn't seems to work either...).

I tried XBMC lyrics from the googlecode repository, doesn't seems to work.........

Thanks.

Jean-Philippe
jhoude Wrote:Hi,

Amet, on which repo do you find lyricstime and the like? They only 2 available on the official repo are CU lyrics and LRC lyrics (which doesn't seems to work either...).

I tried XBMC lyrics from the googlecode repository, doesn't seems to work.........

Thanks.

Jean-Philippe

Lyricstime is part of CU Lyrics, open addon settings and select it
Hi Amet,

I am a new user of CU. When I go to Settings->Addons->Lyrics->Cu Lyrics->Configuration I don't see any option for changing the scraper. This is where I found the option for LRC.

Is this option elsewhere in CU?

Best,
Heinlein
Heinlein2302 Wrote:Hi Amet,

I am a new user of CU. When I go to Settings->Addons->Lyrics->Cu Lyrics->Configuration I don't see any option for changing the scraper. This is where I found the option for LRC.

Is this option elsewhere in CU?

Best,
Heinlein

it should be there, "select scraper"... if not, what version are you using?
amet Wrote:it should be there, "select scraper"... if not, what version are you using?

You mean, the version of CU? I downloaded the latest one.

As for XBMC, I am on the Dharma beta 3 as I was having trouble with beta 4 on my PC. Maybe I should move to the Dharma stable release? You think this might be the reason I can't see the scraper option? I didn't move to the stable release because beta 3 is working fine for me and I didn't want to mess with it. Smile
Heinlein2302 Wrote:You mean, the version of CU? I downloaded the latest one.

As for XBMC, I am on the Dharma beta 3 as I was having trouble with beta 4 on my PC. Maybe I should move to the Dharma stable release? You think this might be the reason I can't see the scraper option? I didn't move to the stable release because beta 3 is working fine for me and I didn't want to mess with it. Smile

Rc 3 has a different repo, you will not receive any addon updates until you move to Stable
amet Wrote:Rc 3 has a different repo, you will not receive any addon updates until you move to Stable

I see. Thank you for the quick responses Amet. I moved to the stable release and I see the scraper option now.

Great add-on btw. Thanks!!
i can't manage to get lyrics working. read quite a lot of this plugin and i really would like to use it.

looking at the logfile from my atv2 i can see the following entries:
14:02:25 T:264122368 M:121081856 NOTICE: Current Song: Abba:Take A Chance On Me
14:02:25 T:264122368 M:121081856 NOTICE: Current: Artist: Abba, Title: Knowing Me , Knowing You
14:02:25 T:264122368 M:121081856 NOTICE: song: Artist: Abba, Title: Take A Chance On Me
14:02:25 T:264122368 M:121217024 NOTICE: SCRAPER-DEBUG-lyricstime: LyricsFetcher.get_lyrics_thread Artist: Abba, Title: Take A Chance On Me
14:02:25 T:264122368 M:121208832 NOTICE: Search url: http://www.lyricstime.com/abba-take-a-ch...yrics.html
14:02:25 T:264122368 M:121208832 NOTICE: LyricsFetcher::get_lyrics_thread (158) ['ascii' codec can't decode byte 0xf6 in position 31: ordinal not in range(128)]
14:02:25 T:264122368 M:121208832 NOTICE: Next Song: Abba:Mamma Mia
14:02:26 T:264122368 M:121208832 NOTICE: SCRAPER-DEBUG-lyricstime: LyricsFetcher.get_lyrics_thread Artist: Abba, Title: Mamma Mia
14:02:26 T:264122368 M:121208832 NOTICE: Search url: http://www.lyricstime.com/abba-mamma-mia-lyrics.html
14:02:26 T:264122368 M:121208832 NOTICE: LyricsFetcher::get_lyrics_thread (158) ['ascii' codec can't decode byte 0xf6 in position 46: ordinal not in range(128)]
14:02:36 T:242094080 M:121724928 ERROR: ClearBlock: Trying to clear non existent block /var/mobile/Library/Preferences/XBMC/addons/script.cu.lyrics

any idea ?
pat2000 Wrote:i can't manage to get lyrics working. read quite a lot of this plugin and i really would like to use it.

looking at the logfile from my atv2 i can see the following entries:
14:02:25 T:264122368 M:121081856 NOTICE: Current Song: Abba:Take A Chance On Me
14:02:25 T:264122368 M:121081856 NOTICE: Current: Artist: Abba, Title: Knowing Me , Knowing You
14:02:25 T:264122368 M:121081856 NOTICE: song: Artist: Abba, Title: Take A Chance On Me
14:02:25 T:264122368 M:121217024 NOTICE: SCRAPER-DEBUG-lyricstime: LyricsFetcher.get_lyrics_thread Artist: Abba, Title: Take A Chance On Me
14:02:25 T:264122368 M:121208832 NOTICE: Search url: http://www.lyricstime.com/abba-take-a-ch...yrics.html
14:02:25 T:264122368 M:121208832 NOTICE: LyricsFetcher::get_lyrics_thread (158) ['ascii' codec can't decode byte 0xf6 in position 31: ordinal not in range(128)]
14:02:25 T:264122368 M:121208832 NOTICE: Next Song: Abba:Mamma Mia
14:02:26 T:264122368 M:121208832 NOTICE: SCRAPER-DEBUG-lyricstime: LyricsFetcher.get_lyrics_thread Artist: Abba, Title: Mamma Mia
14:02:26 T:264122368 M:121208832 NOTICE: Search url: http://www.lyricstime.com/abba-mamma-mia-lyrics.html
14:02:26 T:264122368 M:121208832 NOTICE: LyricsFetcher::get_lyrics_thread (158) ['ascii' codec can't decode byte 0xf6 in position 46: ordinal not in range(128)]
14:02:36 T:242094080 M:121724928 ERROR: ClearBlock: Trying to clear non existent block /var/mobile/Library/Preferences/XBMC/addons/script.cu.lyrics

any idea ?

yes, "Björn Ulvaeus" crashes it... will look into it
I see a problem with the lyrics load from the hd. XBMC don't show the lyric.

The log show
Quote:14:23:15 T:5292 M:4294967295 DEBUG: CApplication::ExecuteXBMCAction : Translating XBMC.RunScript($INFO[Skin.String(LyricScript_Path)])
14:23:15 T:5292 M:4294967295 DEBUG: CApplication::ExecuteXBMCAction : To XBMC.RunScript(script.cu.lyrics)
14:23:15 T:5292 M:4294967295 INFO: initializing python engine.
14:23:15 T:5292 M:4294967295 DEBUG: new python thread created. id=7
14:23:15 T:6232 M:4294967295 DEBUG: thread start, auto delete: 0
14:23:15 T:6232 M:4294967295 DEBUG: Python thread: start processing
14:23:15 T:6232 M:4294967295 DEBUG: msg: 'import site' failed; use -v for traceback
14:23:15 T:6232 M:4294967295 NOTICE: -->Python Interpreter Initialized<--
14:23:15 T:6232 M:4294967295 DEBUG: XBPyThread:Tonguerocess - The source file to load is C:\Users\Andreas\AppData\Roaming\XBMC\addons\script.cu.lyrics\default.py
14:23:15 T:6232 M:4294967295 DEBUG: XBPyThread:Tonguerocess - Setting the Python path to C:\Users\Andreas\AppData\Roaming\XBMC\addons\script.cu.lyrics;C:\Users\Andreas\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;D:\Program Files (x86)\XBMC\addons\script.module.pil\lib;D:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;D:\Program Files (x86)\XBMC
14:23:15 T:6232 M:4294967295 DEBUG: XBPyThread:Tonguerocess - Entering source directory C:\Users\Andreas\AppData\Roaming\XBMC\addons\script.cu.lyrics
14:23:15 T:6232 M:4294967295 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
14:23:15 T:6232 M:4294967295 DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\unicodedata.pyd)
14:23:16 T:5292 M:4294967295 DEBUG: ------ Window Deinit (MusicOSD.xml) ------
14:23:16 T:6232 M:4294967295 NOTICE: Current Song: Enrique Iglesias:Tonight (I'm Lovin' You) (With Ludacris)
14:23:16 T:5292 M:4294967295 DEBUG: ------ Window Init (D:\Program Files (x86)\XBMC\addons\skin.confluence.xbmc-pc\720p\script-XBMC_Lyrics-main.xml) ------
14:23:16 T:5292 M:4294967295 INFO: Loading skin file: D:\Program Files (x86)\XBMC\addons\skin.confluence.xbmc-pc\720p\script-XBMC_Lyrics-main.xml
14:23:16 T:5292 M:4294967295 ERROR: convert_checked failed from UTF-8 to UTF-16LE, errno=42
14:23:16 T:6232 M:4294967295 NOTICE: GUI-DEBUG: myPlayerChanged event:2, force_update:False
14:23:17 T:6232 M:4294967295 ERROR: xbp__wfopen = untested
14:23:17 T:6232 M:4294967295 WARNING: msvcrt.dll: dll_fstati64 called, TODO: add 'int64 <-> long' type checking
14:23:17 T:6232 M:4294967295 WARNING: Previous line repeats 1 times.
14:23:17 T:6232 M:4294967295 NOTICE: Traceback (most recent call last):
File "C:\Users\Andreas\AppData\Roaming\XBMC\addons\script.cu.lyrics\resources\lib\gui.py", line 81, in get_lyrics
lyrics, error = self.get_lyrics_from_file( song, next_song )
File "C:\Users\Andreas\AppData\Roaming\XBMC\addons\script.cu.lyrics\resources\lib\gui.py", line 121, in get_lyrics_from_file
lyrics.lyrics = unicode(lyrics_file.read(), "utf-8" )
UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 76: unexpected code byte
14:23:17 T:6232 M:4294967295 NOTICE: Next Song: Milow:You And Me (In My Pocket)
14:23:17 T:6232 M:4294967295 ERROR: xbp__wfopen = untested
14:23:17 T:6232 M:4294967295 WARNING: msvcrt.dll: dll_fstati64 called, TODO: add 'int64 <-> long' type checking
14:23:17 T:6232 M:4294967295 WARNING: Previous line repeats 1 times.
14:23:17 T:6232 M:4294967295 NOTICE: Traceback (most recent call last):
File "C:\Users\Andreas\AppData\Roaming\XBMC\addons\script.cu.lyrics\resources\lib\gui.py", line 81, in get_lyrics
lyrics, error = self.get_lyrics_from_file( song, next_song )
File "C:\Users\Andreas\AppData\Roaming\XBMC\addons\script.cu.lyrics\resources\lib\gui.py", line 121, in get_lyrics_from_file
lyrics.lyrics = unicode(lyrics_file.read(), "utf-8" )
UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 115: unexpected code byte
Thanks for your help
Regards Zippolighter
Hi,

I am using Xbmc 10.1 on linux debian (squeeze/sid) with CU Lyrics 1.0.1

I can't get the CU lyrics addon working for any song. I always get a "Fetching lyrics from LyricWiki.org API failed"

Here is a sample of debug.log

Code:
14:27:09 T:2694101872 M:1438183424  NOTICE: SCRAPER-DEBUG: LyricsFetcher.get_lyrics_thread Artist: Melodians, Title: Rivers Of Babylon
14:27:09 T:2694101872 M:1438183424  NOTICE: Search url: http://lyrics.wikia.com/api.php?artist=melodians&song=rivers%20of%20babylon&fmt=xml
14:27:11 T:2694101872 M:1438486528  NOTICE: Title:[The_Melodians:Rivers_Of_Babylon]
14:27:16 T:2694101872 M:1438081024  NOTICE: LyricsFetcher::get_lyrics_thread (176) [list index out of range]


Any idea ?
Setup :
- NAS running Kodi on Ubuntu with Celeron G1840 (Haswell)
- AVR Denon AVR 3700 H
- TV Samsung UE85AU8005K
Try other scraper, lyrics wiki is very bad lately.
I'm getting 'fetching lyrics from ***********.com API failed' with all the fetchers.
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 26

Logout Mark Read Team Forum Stats Members Help
[RELEASE] CU Lyrics (Script) Addon1