CU LRC LYRICS...not working on xbmc4xbox

Discussion of plugin / script development for XBMC4Xbox
Post Reply
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

CU LRC LYRICS...not working on xbmc4xbox

Post by byron »

I've been working on some stuff to get lyrics/subtitles to self install from musicOSD/videoOSD (http://www.xbmc4xbox.org.uk/forum/viewt ... =15&t=2939) and finally got it to work...much thanks to DanDar3. XBMC Subtitles runs, the version of CU LRC LYRICS (1.0.7) from the repo that we access (frodo?) runs but doesn't work, and CU Lyrics is deprecated (broken). So I took the liberty of trying to get the latest version (3.0.0) to run but it won't (found here if anyone cares to see the git page).

http://pastebin.com/xPWiinCU

Had to dig for it, but found this post from a ways back...

http://www.xbmc4xbox.org.uk/forum/viewt ... epo#p22268

So...I was really hoping someone might be willing to port/maintain the latest version of this script in the xbmc4xbox reop so that our project could benefit from the lyrics. Just a thought, never hurts to ask I guess :)
User avatar
Dom DXecutioner
Posts: 587
Joined: Thu Jul 05, 2012 11:59 pm
Location: California
Has thanked: 249 times
Been thanked: 226 times
Contact:

Re: CU LRC LYRICS...not working on xbmc4xbox

Post by Dom DXecutioner »

Purely out of curiosity, since I don't use addons and have no immediate use for this, I looked at the debug log...

Code: Select all

22:04:10 M: 17657856    INFO: -->Python script returned the following error<--
22:04:10 M: 17637376   ERROR: Error Type: <type 'exceptions.AttributeError'>
22:04:10 M: 17637376   ERROR: Error Contents: 'module' object has no attribute 'Monitor'
22:04:10 M: 17633280   ERROR: Traceback (most recent call last):
                                              File "Q:\scripts\CU LRC Lyrics\default.py", line 48, in <module>
                                                culrc_run('manual')
                                              File "Q:\scripts\CU LRC Lyrics\default.py", line 26, in culrc_run
                                                import gui
                                              File "Q:\scripts\CU LRC Lyrics\resources\lib\gui.py", line 473, in <module>
                                                class MyMonitor(xbmc.Monitor):
                                            AttributeError: 'module' object has no attribute 'Monitor'
22:04:10 M: 17633280    INFO: -->End of Python script error report<--
22:04:10 M: 17633280    INFO: Python script stopped
One drawback I noticed is that the addon is calling xbmc.Monitor(), which - glancing at the repo, we don't have... you can browse the python documentation to learn more about it.

As for the addon, it seems that this is meant to be used a service (i think multi-threading, which the xbox cannot handle - tho someone correct my on this if I'm wrong); the addon uses the xbmc.Monitor() onSettingsChanged, to capture this event and run some function... i didn't really look too deep into to try to understand it but feel free to do so.

Looks like you'll have to submit a ticket to request for this feature; though, frankly, it seems a bit involved; doesn't hurt to try tho.
Image
Post Reply