[RELEASE] CU Lyrics (Script) Addon

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
amet Offline
How do ya like them apples?
Posts: 4,109
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Thumbs Up  [RELEASE] CU Lyrics (Script) Addon
Post: #1
development of cu lyrics has stopped.

as of xbmc frodo, please use cu lrc lyrics:
http://forum.xbmc.org/showthread.php?tid=147340





CU Lyrics Addon script

This is based on XBMC Lyrics script, I have started implementing new script settings and added a new Lyrics scraper.I dont have a lot of time to work on it and test ATM, any feedback is welcomed.

use XBMC.org Add-ons repo to install it and activate it by going to System->Skin->Addon Scripts->Enable Lyrics in Music OSD

[Image: xbmc_subtitles2.jpg]


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: 2012-12-06 20:05 by ronie.)
find quote
Connor32 Offline
Junior Member
Posts: 16
Joined: Feb 2009
Reputation: 0
Post: #2
Hi!

Following your instructions:

Code:
11:38:50 T:2645543792 M:1713983488  NOTICE: -->Python Interpreter Initialized<--
11:38:50 T:2645543792 M:1713983488  NOTICE:
11:38:50 T:2645543792 M:1713983488  NOTICE: Traceback (most recent call last):
11:38:50 T:2645543792 M:1713983488  NOTICE:   File "/home/xbmc/scripts/CU Lyrics/default.py", line 21, in ?
11:38:50 T:2645543792 M:1713983488  NOTICE:
11:38:50 T:2645543792 M:1713983488  NOTICE: __settings__ = xbmc.Settings( path=os.getcwd() )
11:38:50 T:2645543792 M:1713983488  NOTICE: AttributeError
11:38:50 T:2645543792 M:1713983488  NOTICE: :
11:38:50 T:2645543792 M:1713983488  NOTICE: 'module' object has no attribute 'Settings'
11:38:50 T:2645543792 M:1713983488  NOTICE:
11:38:50 T:2645543792 M:1713983488   ERROR: Scriptresult: Error

C.
find quote
amet Offline
How do ya like them apples?
Posts: 4,109
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #3
Connor32 Wrote:Hi!

Following your instructions:

Code:
11:38:50 T:2645543792 M:1713983488  NOTICE: -->Python Interpreter Initialized<--
11:38:50 T:2645543792 M:1713983488  NOTICE:
11:38:50 T:2645543792 M:1713983488  NOTICE: Traceback (most recent call last):
11:38:50 T:2645543792 M:1713983488  NOTICE:   File "/home/xbmc/scripts/CU Lyrics/default.py", line 21, in ?
11:38:50 T:2645543792 M:1713983488  NOTICE:
11:38:50 T:2645543792 M:1713983488  NOTICE: __settings__ = xbmc.Settings( path=os.getcwd() )
11:38:50 T:2645543792 M:1713983488  NOTICE: AttributeError
11:38:50 T:2645543792 M:1713983488  NOTICE: :
11:38:50 T:2645543792 M:1713983488  NOTICE: 'module' object has no attribute 'Settings'
11:38:50 T:2645543792 M:1713983488  NOTICE:
11:38:50 T:2645543792 M:1713983488   ERROR: Scriptresult: Error

C.

XBMC version is too old, try beta1.

http://xbmc.org/download/


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
rudeboyx Offline
Posting Freak
Posts: 750
Joined: Dec 2007
Reputation: 0
Location: Burnley, UK
Post: #4
Hi Amet.

Finally a new lyrics script in the works. unfortunatley i dont get any results. it just pop up saying that no lyrics were found. iv tested it with a few well known pop songs like: Michael Jackson - Bad, Simply Red - Something Got Me Started, etc. It appears to run and display correctly, just not detecting any lyrics.


XBMC r25010 Xbox

I wish you the best of look with this script. I used XBMCLyrics all the time and was devistated when it broke and got dropped. Its the little scripts like this that are the icing on the cake when it comes to XBMC.

I shall be following this thread with great anticipation. Nod
find quote
amet Offline
How do ya like them apples?
Posts: 4,109
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #5
rudeboyx Wrote:Hi Amet.

Finally a new lyrics script in the works. unfortunatley i dont get any results. it just pop up saying that no lyrics were found. iv tested it with a few well known pop songs like: Michael Jackson - Bad, Simply Red - Something Got Me Started, etc. It appears to run and display correctly, just not detecting any lyrics.


XBMC r25010 Xbox

I wish you the best of look with this script. I used XBMCLyrics all the time and was devistated when it broke and got dropped. Its the little scripts like this that are the icing on the cake when it comes to XBMC.

I shall be following this thread with great anticipation. Nod

Maybe post the debug log, I might be able to fish something out of it.

when you play the song does it display the name of the song and the artist in OSD?

Thanks for letting me know about the issues you are having

Zeljko


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
woodyearl Offline
Member
Posts: 56
Joined: Feb 2009
Reputation: 0
Post: #6
Amet Wrote:Maybe post the debug log, I might be able to fish something out of it.

when you play the song does it display the name of the song and the artist in OSD?

Thanks for letting me know about the issues you are having

Zeljko

same here.
find quote
amet Offline
How do ya like them apples?
Posts: 4,109
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #7
woodyearl Wrote:same here.


same answer for you then Smile


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
woodyearl Offline
Member
Posts: 56
Joined: Feb 2009
Reputation: 0
Post: #8
Amet Wrote:same answer for you then Smile

http://pastebin.com/m43d39ee6
find quote
amet Offline
How do ya like them apples?
Posts: 4,109
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #9
woodyearl Wrote:http://pastebin.com/m43d39ee6

Thanks!

I see nothing wrong with the script.Your artist is Ac/Dc and the song is Hard as a rock, correct?

scraper doesnt find anything on lyricwiki

http://lyricwiki.org/index.php?title=Ac/...ction=edit

however, it is case sensitive and artist should be AC/DC, in that case http://lyricwiki.org/index.php?title=AC/...ction=edit would return results


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
woodyearl Offline
Member
Posts: 56
Joined: Feb 2009
Reputation: 0
Post: #10
Amet Wrote:Thanks!

I see nothing wrong with the script.Your artist is Ac/Dc and the song is Hard as a rock, correct?

scraper doesnt find anything on lyricwiki

http://lyricwiki.org/index.php?title=Ac/...ction=edit

however, it is case sensitive and artist should be AC/DC, in that case http://lyricwiki.org/index.php?title=AC/...ction=edit would return results


Figures I do something wrong.
Thanks!
find quote
woodyearl Offline
Member
Posts: 56
Joined: Feb 2009
Reputation: 0
Post: #11
woodyearl Wrote:Figures I do something wrong.
Thanks!

Actually, as I take a closer look, they are listed as Capital. AC/DC.
find quote
amet Offline
How do ya like them apples?
Posts: 4,109
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #12
woodyearl Wrote:Actually, as I take a closer look, they are listed as Capital. AC/DC.

the script doesnt see it as capitals, strange

can you upload that file somewhere for me to download?

EDIT: now that I looked closer, the script does see it as capitals but that changes somewhere along the line. I would appreciate the file so that I can test.


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: 2009-11-29 20:43 by amet.)
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #13
amet, the changing of case is because lyricwiki most time requires it be camel case.

thats why there is an excepetion option, so when it finds AC/DC it won't change it.

this was in the original scraper, looks like it's still there in yours

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #14
just noticed using the old drive letters P:\\, so change those to special://

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
woodyearl Offline
Member
Posts: 56
Joined: Feb 2009
Reputation: 0
Post: #15
Amet Wrote:the script doesnt see it as capitals, strange

can you upload that file somewhere for me to download?

EDIT: now that I looked closer, the script does see it as capitals but that changes somewhere along the line. I would appreciate the file so that I can test.

http://www.mediafire.com/?k5djatz3eow
find quote
Post Reply