Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 24
[RELEASE] xbmclyrics script - automatically grabs lyrics online
#46
awww....sod off now, will ya...had to dig deep into my download cache to find this one again  :d

seriously though, dunno if it works, but if it works fine tell me and i'll update the one on xbmcscripts.com .

http://enderw.emutalk.net/xbmclyrics.zip
xbmcscripts.com administrator
#47
Quote:seriously though, dunno if it works, but if it works fine tell me and i'll update the one on xbmcscripts.com .

thank you! i'll try it tomorrow morning.
if you update xbmcscript.com this release is automatically avaiable in the xbmc install script too?
thx! Smile


i'm thinkin'... why don't change the online database of xbmclyrics?
http://www.lyrc.com.ar is wierd to submit lyrics...!! Sad
are there others lyrics databases?
thx!
Great Success!
#48
the install script gets data directly from the download database, so it's instant, yes.

about changing the lyrics source, it works fine here (dunno about the submission, i don't use it), but there's no chance i will do anything more on that. i am way too busy trying to get this script installer/browser going to do anything else so please don't direct any requests at me Smile
others are free to tinker around with it tho...
xbmcscripts.com administrator
#49
(enderw @ aug. 09 2005,21:55 Wrote:seriously though, dunno if it works, but if it works fine tell me and i'll update the one on xbmcscripts.com .
it doesn't work well..
the one on xbmcscript works fine
Great Success!
#50
xbmclyrics with cache folder q:\albums\lyrics

http://chokemaniac.xbmc.org/viewtopic.php?t=316

with little skin mod
#51
(smuto @ aug. 10 2005,13:40 Wrote:xbmclyrics with cache folder q:\albums\lyrics

http://chokemaniac.xbmc.org/viewtopic.php?t=316

with little skin mod
is the same release above?
Great Success!
#52
from readme
Quote:create a cache directory inside the folder where the script is located. just name it "cache" (lowercase, no quotes). [colgate]

this one from chokemaniac's forum creates lyrics directory inside the albums folder

that only different
#53
this script no longer appears to be wrapping text with the latest cvs? or is it just me?

if a line is too long, it repeats upon itself on the same line now instead of wrapping down to the next line.
#54
after a little more research, it seems as though the lines that are getting superimposed are not necessarily too long/wide to fit on screen.

maybe the font needs to be made smaller or more lines made to fit inside the window?

i've e-mailed the author (or at least the address included in the readme.txt). i'll post back if i get a reply.
#55
i have the same problem with latest cvs build.

some lines are displayed over themselves and cannot be read correctly.

would love to see a fix for this.
My XBOX built into a Sony Hifi CD-Player Case
XBOX Hifi Media Center Picture Gallery

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
#56
whew..it's nice to have confirmation at least. so it's not just me Wink

in the meantime if i get adventurous, i'll try editing the script myself.

my wife enjoys this feature a lot and she is getting ticked that 'i just broke it'. :d



#57
yeah, glad to see it's not just me also. luck to you in fixing this.
#58
here is the reply i got:

Quote:hi,

thanks for the report, but unfortunately i have no idea why that
happens. since the script works on previous xbmc versions i don't
think it's my fault.

enderw



#59
perhaps it has something to do with the skin changes?
i think jmarshall changed some things with the line wrapping?
My XBOX built into a Sony Hifi CD-Player Case
XBOX Hifi Media Center Picture Gallery

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
#60
for a quick and dirty fix. replace the following. there isn't any big change. you might notice some of the paragraphs are split. you could play with this some more to fix that.

this:
Quote: def parse_lyrics(self, lyrics):
try:
query = re.compile('</font><br>(.*)<p><hr size=1', re.ignorecase | re.dotall)
full_lyrics = re.findall(query, lyrics)
self.final = full_lyrics[0].replace("<br />\r\n","\n ")
except:
try:
query = re.compile('</font><br>(.*)<br><br><a href="#', re.ignorecase | re.dotall)
full_lyrics = re.findall(query, lyrics)
self.final = full_lyrics[0].replace("<br />\r\n","\n ")
except:
print lyrics
self.final = "unusual page layout, no parsing built in yet..."
return str(self.final)

to:
Quote: def parse_lyrics(self, lyrics):
try:
query = re.compile('</font><br>(.*)<p><hr size=1', re.ignorecase | re.dotall)
full_lyrics = re.findall(query, lyrics)
self.final = full_lyrics[0].replace("<br />\r","\n ")
except:
try:
query = re.compile('</font><br>(.*)<br><br><a href="#', re.ignorecase | re.dotall)
full_lyrics = re.findall(query, lyrics)
self.final = full_lyrics[0].replace("<br />\r","\n ")
except:
print lyrics
self.final = "unusual page layout, no parsing built in yet..."
return str(self.final)
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 24

Logout Mark Read Team Forum Stats Members Help
[RELEASE] xbmclyrics script - automatically grabs lyrics online1