PDA

View Full Version : [RELEASE] xbmclyrics script - automatically grabs lyrics online


Pages : [1] 2

EnderW
2005-02-25, 03:34
xbmclyrics is a script which will grab lyrics from www.lyrc.com.ar for the song you are currently playing. it is not a final release, but as i am going away for some days i decided to release it now. there are a lot of bugs i am sure, please report them.

there is one feature that is planned, but i haven't got it done yet. this is automatic updating of lyrics as song changes. i will add that later. the script looks best with pm1 or pm2 as it uses chokemaniac's panel as base (thanks cm). for easy access i suggest either adding it to the submenu or mapping it to a button using keymap.xml (this is possible, right? ;))

not much more left to say then i guess, i hope you find some use in it. enjoy!

http://enderw.emutalk.net/xbmclyrics.rar

Tomkun
2005-02-26, 05:11
hi,

first of all, great script! i can see this is gonna be a good one, but for now i have found a couple of bugs...

1) the panel doesn't show up. this means it just overlays on the current screen, which can make it difficult to read.

2) it doesn't size correctly for my ntsc tv. i guess it was sized for pal? is there a way to make it automatically resize?

3) if the song lyrics don't exist on the website, it will display the lyrics of a different song by the same artist. i checked the website and it does it too. i don't know if you could fix that in the script somehow?

other that that, this seems to be a great script! well done!
:thumbsup:

Tomkun
2005-02-26, 05:19
ok, referring to point (1) above, i found the problem. i was running the script from a subdirectory in the scripts folder, but the script looks for the image in the scripts folder only. i edited the script to reflect the change and it works fine now. is there a way to make this automatic?

Tomkun
2005-02-26, 06:00
ok, me again.

referring to point (2) above, i have been fiddling about with the settings for my ntsc tv. i have found some good sizes for ntsc. if you have an ntsc tv, change :


self.addcontrol(xbmcgui.controlimage(158,25,520,50 0, 'q:\\scripts\\lyricspanel.png'))

self.textbox = xbmcgui.controltextbox(190,130,400,350, 'font14', '0xffffffff')
self.addcontrol(self.textbox)

self.fadelabel = xbmcgui.controlfadelabel(270,95,255,25, 'font14','0xffffffff')


to


self.addcontrol(xbmcgui.controlimage(158,20,520,42 0, 'q:\\scripts\\xbmclyrics\\lyricspanel.png'))

self.textbox = xbmcgui.controltextbox(190,110,400,290, 'font14', '0xffffffff')
self.addcontrol(self.textbox)

self.fadelabel = xbmcgui.controlfadelabel(270,75,255,15, 'font14','0xffffffff')


it should fit much better! :)

pop
2005-02-26, 12:06
this is mint well done :bowdown:

solexalex
2005-02-26, 14:41
hi ! i did not test your script yet ...
anyway, i changed a couple os things to make it instalable anywhere :
add :
import os
on a new line where you can see other import

add :
self.home=os.getcwd()[:-1]+'\\'
on a new line just after def in the overlay class

replace the line (a couple of lines after) :
self.addcontrol(xbmcgui.controlimage(158,25,520,50 0, 'q:\\scripts\\lyricspanel.png'))
with :
self.addcontrol(xbmcgui.controlimage(158,25,520,50 0, self.home+'lyricspanel.png'))

____
as for the autosize to fit any screen, it is easy to do, but a bit longer... i will do it if none of you made it before.

EnderW
2005-02-27, 22:08
2) it doesn't size correctly for my ntsc tv. *i guess it was sized for pal? *is there a way to make it automatically resize?

3) if the song lyrics don't exist on the website, it will display the lyrics of a different song by the same artist. *i checked the website and it does it too. *i don't know if you could fix that in the script somehow?

other that that, this seems to be a great script! *well done!
:thumbsup:
2.

i am not too sure on how i would implement that. i could put in an "if" check on the resolution, but that's perhaps not the best implementation (by far the easiest though, so i might go with that).

3.

this isn't really something i can do anything about. i might expand the script to work with different sites later, but as it is now it pretty much works just like lyrc.com.ar. if that site gives a wrong, so does the script. lyrc.com.ar has a pretty bad search engine, so it gives wrong quite often if it can't find the actual song.

i will update the script soon (a day or two) with the location fix (thanks solexalex) and probably a size fix.

solexalex
2005-02-28, 02:21
to make your script fit any screen size, try this tricks :
1- get the screensize :
w=xbmc.getwidth()
h=xbmc.getheight()
2- you know that you made the skin in your own format (i guess it is pal format so 720x540 ; ntsc is 720x480). so the sizes you gave in your script are for pal screen.
just calculate a 'ratio' between your screen size and any other size : (your size is the reference)
xratio=float(w/720.0)
yratio=float(h/640.0)
3- now you'll have to tell all objects, taht x;y positions and w/h size have to be modified with the ratio. don't forget to say the result should be integer
examples :
self.addcontrol(xbmcgui.controlimage(int(xratio*15 8),int(yratio*25),int(xratio*520),int(yr
atio*500), self.home+'lyricspanel.png'))
self.fadelabel = xbmcgui.controlfadelabel(int(xratio*270),int(yrati o*95),int(xratio*255),int(yratio*25), 'font14','0xffffffff')
...
notice that xratio apply to x position and width
yratio apply to y positions and height

maybe sometimes, you'll prefer to make a position 'fixed' so play a bit wether you should use ratio for a value or not !

i hope this can be understandable...(i.e can you understand what i'm trying to explain :) )

luciverse
2005-03-01, 11:13
link has expired. :(

erpi99
2005-03-01, 20:03
can it be added to the scriptrunner?

solexalex
2005-03-01, 20:09
erpi99
if you want scripts added inside scriptrunner, you have to request the creator of this script : threezee

EnderW
2005-03-02, 00:03
did a little work on the script today, trying to add support for auto-update of lyrics. however, it seems that xbmc crashes when you call getmusicinfotag() more than once. the weirdest part is that sometimes you can exit the script, and it won't crash until you start a new song. i could be doing something wrong, but i'd have no idea why. anyone else experienced problems using this?

the other things mentioned in this thread will come shortly..

Tomkun
2005-03-02, 09:16
i've used this script a lot and i have never had it crash yet. even if i play two or more songs in a row and look up the lyrics for all of them. i have to say, i am loving this script! i hope you can get everything working that you want.

EnderW
2005-03-02, 15:48
well, it could be bad coding on my part. this is the function in a class spawned by threading.thread:


* *def run(self):
* * * *artist_name = ""
* * * *title_name = ""
* * * *tag = self.overlay.get_player().getmusicinfotag()
* * * *while (self.running):
* * * * * *if tag.gettitle() != title_name:
* * * * * * * *artist_name = tag.getartist()
* * * * * * * *title_name = tag.gettitle()
* * * * * * * *self.overlay.lyrics(artist_name, title_name)
* * * * * *time.sleep(5)

any suggestions?

self.overlay.get_player() returns xbmc.player() from the other class (overlay).

EnderW
2005-03-02, 16:31
ok, i have added the two things as "promised". i have a feeling that it won't look correct on a ntsc tv though, but as i have got none to test with it's rather hard to adjust. if you find correct values. please report and i'll of course fix it...

i have got a new server, so hopefully no downtimes anymore:

http://enderw.emutalk.net/xbmclyrics.rar

Tomkun
2005-03-02, 17:57
i've just tried the new script. but it won't work. i guess as it works on yours it's a problem with the ntsc?

EnderW
2005-03-02, 18:05
it really shouldn't. can you please post the error message? also, are you certain that lyricspanel.png is in the same folder as the script?

solexalex
2005-03-02, 19:20
hi!
not tried yet !
as for the skin, if you want i can modify it to make it fit any screen size.
not very hard to do.

EnderW
2005-03-02, 19:25
hi!
not tried yet !
as for the skin, if you want i can modify it to make it fit any screen size.
not very hard to do.
i was hoping that i had done that already, but if it isn't correct feel free to correct it :)

Tomkun
2005-03-03, 05:21
i have it set up exactly the same way as the previous script. everything is in the same folder. there is no error message, it just won't start. just flashes 'running' for a split second. later on, i will post the log.

Tomkun
2005-03-03, 05:29
ok, here is the log. let me know if you need anything else.
03-03-2005 12:25:47 info stating file q:\system\players\mplayer\steppenwolf - magic carpet ride.mp3.conf
03-03-2005 12:25:47 notice start led control
03-03-2005 12:25:52 debug loadlibrarya('zlib.pyd')
03-03-2005 12:25:52 debug executing entrypoint at: 0x16384ff - dll: zlib.pyd
03-03-2005 12:25:52 debug loadlibrary('zlib.pyd') returning: 0x81cde0
03-03-2005 12:25:52 debug kernel32!getprocaddress(0x81cde0, 'initzlib') => 0x1632210
03-03-2005 12:25:52 info -->python initialized<--
03-03-2005 12:25:52 info
03-03-2005 12:25:52 info file "
03-03-2005 12:25:52 info q:\scripts\xbmclyrics\xbmclyrics.py
03-03-2005 12:25:52 info ", line
03-03-2005 12:25:52 info 1
03-03-2005 12:25:52 info
03-03-2005 12:25:52 info
03-03-2005 12:25:52 info self.setfocus(self.textbox)
03-03-2005 12:25:52 info
03-03-2005 12:25:52 info ^
03-03-2005 12:25:52 info syntaxerror
03-03-2005 12:25:52 info :
03-03-2005 12:25:52 info invalid syntax
03-03-2005 12:25:52 info
03-03-2005 12:25:57 debug freeing fs segment @ 0x7fc8f0
03-03-2005 12:25:57 notice start led control

EnderW
2005-03-03, 13:47
really weird problem. it works perfectly fine here...
that error doesn't make much sense either as it points out line 1 as the place of error. i suggest you try copy the script over once again, just to make sure nothing got broken during transfer (very unlikely though).

i haven't heard from anyone else getting it to run though, but then again i haven't heard from anyone who doesn't either. if anyone can run this script (latest version), please reply...
please state pal or ntsc - and error message if not getting it to work...

ceomr
2005-03-03, 14:45
:thumbsup: reply -> it works fine!
i never had a problem except some audio_files aren't in database

newest mediacenter 03_03_2005
newest python lib

lyrics.py -> last updated: march 2nd 2005

pal -> ceomr mediacenter skin -> integrated script -> mymusicplaylist.xml
but with project mayhem it works fine too

http://www.konsolenumbau.at/ceomr/hilfe/lyrics_test.jpg

debug_log
03-03-2005 13:36:39 info mplayer play:f:\eigene_musik\verschiedenes\singles\auswahl \scorpions - wind of change.mp3 cachesize:256
03-03-2005 13:36:39 info flipping bi-directional subtitles disabled
03-03-2005 13:36:39 info stating file f:\eigene_musik\verschiedenes\singles\auswahl\scor pions - wind of change.mp3.conf
03-03-2005 13:36:39 info stating file q:\system\players\mplayer\f:\eigene_musik\verschie denes\singles\auswahl\scorpions - wind of change.mp3.conf
03-03-2005 13:36:39 notice start led control
03-03-2005 13:36:44 debug loadlibrarya('_ssl.pyd')
03-03-2005 13:36:44 debug executing entrypoint at: 0x17be951 - dll: _ssl.pyd
03-03-2005 13:36:44 debug loadlibrary('_ssl.pyd') returning: 0xc06b00
03-03-2005 13:36:44 debug kernel32!getprocaddress(0xc06b00, 'init_ssl') => 0x1771aa0
03-03-2005 13:36:44 debug loadlibrarya('_sre.pyd')
03-03-2005 13:36:44 debug executing entrypoint at: 0x17fa3cb - dll: _sre.pyd
03-03-2005 13:36:44 debug loadlibrary('_sre.pyd') returning: 0xb4e1a0
03-03-2005 13:36:44 debug kernel32!getprocaddress(0xb4e1a0, 'init_sre') => 0x17fa120

spiff
2005-03-03, 14:51
working nicely here, @ pal 16:9

xbmc cvs 010305
python from sometime ago (however, i believe there has been a while since there were any updates).

Tomkun
2005-03-03, 15:05
no way! i did as you suggested on an offchance, i copied it over again and it works perfectly!!! looks great on my ntsc tv too!

solexalex
2005-03-03, 19:20
yes ! tryed it yesterday night, and it works !
not tryed to get new lyrics automatically for 2 songs... but it works...
nice product !!

EnderW
2005-03-03, 20:16
yes ! tryed it yesterday night, and it works !
not tryed to get new lyrics automatically for 2 songs... but it works...
nice product !!
it won't update lyrics automatically between two songs, due to that i can't load the song information twice without xbmc crashing. i have posted the update code snippet earlier here, so you can have a look at it if you like.

jmarshall
2005-03-03, 20:48
i'm not a python guru by any stretch (have never coded anything in python) but i'd try something like this:


def run(self):
artist_name = ""
title_name = ""
while (self.running):
tag = self.overlay.get_player().getmusicinfotag()
if tag.gettitle() != title_name:
artist_name = tag.getartist()
title_name = tag.gettitle()
self.overlay.lyrics(artist_name, title_name)
time.sleep(5)


reason is that the tag variable may well be invalid once the song has finished, so doing tag.gettitle() is operating on an invalid variable.

cheers,
jonathan

nishil
2005-03-12, 19:09
wickid script mate very very well done :bowdown: :kickass: :thumbsup:

EnderW
2005-03-13, 20:50
wickid script mate very very well done :bowdown: *:kickass: *:thumbsup:
thanks :)


finally another update (and probably last for a long time unless some bugs come up). this update include only one extra feature really, and that is that it will update as the song you are listening to changes. so if you change song using the remote, or the song you're listening to ends it will pick up the new one and display lyrics for that.

enjoy and please report any bugs either here or by mail :)

http://enderw.emutalk.net/xbmclyrics.rar

ent
2005-03-14, 05:44
this is a great script, the new feature really topped it off. it's hard to think of anything you could possibly add though. i suppose if you wanted to go all out you could add support for other lyrics sites if no results are found, but it's not really needed.

gummismurfen
2005-03-15, 18:40
works fine

incognegro
2005-03-16, 20:05
i got a couple features you can add.......how about a manual song look up feature, similar to how xbmc look up album info, if it finds no matches to the song you can enter the song manually and try again. maybe the ability to search another website if no match found (http://www.leoslyrics.com); but im guessing this would slow down the script. if one website was set as primary and another secondary it wouldn't be so bad. i know nothing about python so ill let you do your thing :agree: . other than this, the script would be perfect (it seems bug free!)

Nuka1195
2005-04-14, 05:54
this script rocks, no pun intended.

ultros0
2005-04-28, 06:46
i continuesly get an error message that says:

"unusual page layout, no parsing built in yet..."

i looked at the code tried a few times, playing around with it, i made sure i had a song playing before running script, and of course internet is working w/no port blocks or other firewall oddities.

any ideas?

>> update >>
i followed one of the links in the python script it said servers were updating, anyone able to verify this?

Sebu42
2005-05-04, 13:27
now it should be working again...

colgate
2005-05-24, 21:11
why not create somekind of cache on the hd? where the lyrics already played are stored. when the same music is played again, the script just checks the cache and load the lyric from there?

EnderW
2005-05-24, 23:59
why not create somekind of cache on the hd? where the lyrics already played are stored. when the same music is played again, the script just checks the cache and load the lyric from there?
sure, go ahead :p

seriously, it's a very nice idea but i'm busy with a more important script project right now (most of you know about it i'm sure), besides i got multiple exams coming up very soon. i will put it on the to-do, but you're better off if someone else took the challenge as i won't be able to add for quite a while.

thanks for the suggestion.

colgate
2005-07-26, 19:24
why not create somekind of cache on the hd? where the lyrics already played are stored. when the same music is played again, the script just checks the cache and load the lyric from there?
sure, go ahead :p

seriously, it's a very nice idea but i'm busy with a more important script project right now (most of you know about it i'm sure), besides i got multiple exams coming up very soon. i will put it on the to-do, but you're better off if someone else took the challenge as i won't be able to add for quite a while.

thanks for the suggestion.
so i did :-)

i modified the script to save the lyrics on the hard disk. could it be submited to xbmcscripts.com?

http://s39.yousendit.com/d.aspx?id=1shxaisjvgf1n1er4necvddw6p

smuto
2005-07-27, 12:47
importerror: no module named tdb

any help?

colgate
2005-07-27, 18:20
sorry, i forgot the call for that module. just remove it from the import line or download this new package:

http://s62.yousendit.com/d.php?id=2a20p0113m68015l9ho7cjolcw

badener
2005-07-29, 15:38
works fine, it's a great improvement when you carry your xbox to somebody without internet connection


what i like to suggest is a function to manually search for a song if it is not found

Djsnake
2005-08-06, 02:44
link 4 the new version has expired.. can some one send the new version to xbmclyrics.com?

mhernie
2005-08-09, 20:32
bump.

please update the link for the xbmc script that stores looked up lyrics to the hard drive.

thanks in advance...

Djsnake
2005-08-09, 23:40
bump.

please update the link for the xbmc script that stores looked up lyrics to the hard drive.

thanks in advance...
i want it! :o

EnderW
2005-08-09, 23:55
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

Djsnake
2005-08-10, 01:12
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! :)


i'm thinkin'... why don't change the online database of xbmclyrics?
www.lyrc.com.ar is wierd to submit lyrics...!! :(
are there others lyrics databases?
thx!

EnderW
2005-08-10, 01:36
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 :)
others are free to tinker around with it tho...

Djsnake
2005-08-10, 12:46
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

smuto
2005-08-10, 15:40
xbmclyrics with cache folder q:\albums\lyrics

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

with little skin mod

Djsnake
2005-08-10, 15:48
xbmclyrics with cache folder q:\albums\lyrics

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

with little skin mod
is the same release above?

smuto
2005-08-10, 16:30
from readme
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

Talus
2006-04-23, 23:30
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.

Talus
2006-04-24, 02:28
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.

sCAPe
2006-04-24, 12:16
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.

Talus
2006-04-24, 14:52
whew..it's nice to have confirmation at least. so it's not just me ;)

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

seajay1221
2006-04-25, 04:33
yeah, glad to see it's not just me also. luck to you in fixing this.

Talus
2006-04-25, 14:51
here is the reply i got:

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

sCAPe
2006-04-25, 16:20
perhaps it has something to do with the skin changes?
i think jmarshall changed some things with the line wrapping?

Nuka1195
2006-04-25, 18:23
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:
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:
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)

Talus
2006-04-26, 18:08
the quick and dirty fix worked.

what it does is that it does not wrap the text to the next line if it is too long. so you end up losing the text at the end of long lines of lyrics.

but that is much better than losing an entire line of lyrics due to overlapping ;)

good job! :thumbsup:

Talus
2006-04-26, 18:16
now this certainly isn't the most elegant fix, but it sure helped.

(keeping in mind that i edited the file as posted above to remove word wrapping)

i changed this line:
def showcontrols(self):

self.textbox = xbmcgui.controltextbox(int(self.xratio*190),int(se lf.yratio*130),int(self.xratio*400),int(self.yrati o*350), 'font14', '0xffffffff')
self.addcontrol(self.textbox) # starting in show_text mode

to this:
def showcontrols(self):

self.textbox = xbmcgui.controltextbox(int(self.xratio*190),int(se lf.yratio*130),int(self.xratio*500),int(self.yrati o*350), 'font14', '0xffffffff')
self.addcontrol(self.textbox) # starting in show_text mode

...and it made the lines of text wider so that they extended beyond the borders of the on-screen text box graphic. it also results in the page up/down button being outside of the graphic as well. but at least now less text is cut off from long lines of lyrics.

another option would be to leave the text box size alone and shrink the font size..but for some people, it may make the lyrics more difficult to read. but, you can try this instead.

change:
def showcontrols(self):

self.textbox = xbmcgui.controltextbox(int(self.xratio*190),int(se lf.yratio*130),int(self.xratio*400),int(self.yrati o*350), 'font14', '0xffffffff')
self.addcontrol(self.textbox) # starting in show_text mode

to:
def showcontrols(self):

self.textbox = xbmcgui.controltextbox(int(self.xratio*190),int(se lf.yratio*130),int(self.xratio*400),int(self.yrati o*350), 'font10', '0xffffffff')
self.addcontrol(self.textbox) # starting in show_text mode

..or just change font10 to any font# you want to see if you can find the size that suits you best.

Talus
2006-04-29, 19:19
well, the latest cvs still doesn't fix this issue even with the new python changes.

i have made a few changes that seem to fix the problem, although the fix involves adding a character to the end of each line...in this case i used '/' as is sometimes used in poetry.

anyway, here is the part that is fixed...it seems to be a great temporary fix...not perfect, but i know diddly about python.

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("\r","\\").replace("<br />"," ")
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("\r","\\").replace("<br />"," ")
except:
print lyrics
self.final = "unusual page layout, no parsing built in yet..."
return str(self.final)

Nuka1195
2006-04-29, 19:51
thanks for the fixes.

when posting python scripts, some of the code can be messed up. ( eg. def --init--(self): )

it's better if you could post a zip and link to it. there are many free file hosting sites.

Talus
2006-04-30, 15:23
uploaded here:
http://rapidshare.de/files/19261839/xbmclyrics.zip.html

and please...let me know if it works or not so that i can get confirmation that it is not 'just my system' or if i need to tweak it a bit more.

i used it all day yesterday (it still doesn't make me a better singer :d) and had no problems whatsoever.

Talus
2006-04-30, 16:00
actually, this bug is affecting all sorts of scripts.

e.g. xmbcmail - the text wrapping in e-mails is all screwed up in the exact same way.

e.g. xbmcscripts - the text wrapping in the script descriptions is overlapping also

thor918
2006-04-30, 21:11
hi there. if there is someone that is developing on this script still, please consider to redo the code that detects media change. last time i checked the code. it had a codeloop that where sleeping and checking. there is a much more efficient way to do this.

http://www.xboxmediaplayer.de/cgi-bin....t=20234 (http://www.xboxmediaplayer.de/cgi-bin/forums/ikonboard.pl?act=st;f=21;t=20234)

:d

Talus
2006-05-19, 15:30
just to update:

from the cvs
- 29-04-2006 fixed: [ 1478354 ] python "overlapping of lines"

so no need for these 'fixes' anymore..just update xbmc :d

Rudepooch
2006-07-26, 21:47
Just wondering if there is any work going into this anymore... great script but, 2005?

I am trying to update the image to go with my flavor of mc360... anyone interested?

SleepyP
2006-07-26, 23:09
what do you mean "2005"? the guy just posted not even 2 months ago...
it works just fine for me, and i love it :)

Rudepooch
2006-07-28, 04:50
The version at xbmcscripts is dated 2005... Is there a newer one??

smuto
2006-08-02, 01:15
can sameone take a look?

XBMCLyrics - guibuilder (http://www.geocities.com/smuto_strus/XBMCLyrics_guibuilder.zip)

Nuka1195
2006-08-02, 01:28
Very nice smuto. :)

I like the layout. Nice use of language files also.

The first script using guibuilder. :) Any options you would like for that let me know. I added a fastMethod option, if True it won't use Includes.xml or References.xml. A slight speed improvement if your skin files don't have any <include> tags and all options are set.

smuto
2006-09-17, 22:47
Lyrics - skin MC360 (http://www.smuto.webpark.pl/MC360.xml)

http://www.smuto.webpark.pl/LyricsMC360.jpg

problem
cover art for next song is not update

MajorTom
2006-09-18, 12:48
this is great smuto, hope you can work out the problem with the cover art.

chunk_1970
2006-09-18, 13:20
problem
cover art for next song is not update

The thread update_class is the one that updates the lyrics when the song has changed mind you Im talking about the original script release. If the codes in there it should work..you probably already know that but I have been messing around with thread myself and sometimes they can be fiddly..

smuto
2006-09-18, 14:38
it's nothing to do with script code
i think something is wrong with getInfoImage(...) and guibuilder

hope @Nuka1195 can help

LRa
2006-09-20, 16:36
Hi,
Lately when I query for lyrics, the first page of the lyrics is some mumbo jumbo with a lot of lines with this : google_ad_height=etc.. or google_ad_type=etc...

Any ideas?

Also when it searchs, does it take the name or the band and song from the id tag or from the file name? Is it possible to force for filename?

Many thanks

Ultimato
2006-09-21, 11:54
I have some problem with the script
That's what appear to me:
<table align="left"><tr><td><script
type="text/javascript"><!--
google_ad_client = "pub-5856745585538965";
google_ad_width = 120;

ecc...
After this i see the correct lyric, but it's really a bad view.

EnderW
2006-09-21, 13:59
http://www.xbmcscripts.com/index.php?option=com_docman&task=search_result&Itemid=Array&search_mode=phrase&search_phrase=XBMCLyrics%20without%20cache

Fixed.

If you used an improved version you have to change that script accordingly...anyways, it's only the parsing code that's changed so if you use your brains you'll figure it out.

Script is likely to break as soon as the people change the design on their sites again.

LRa
2006-09-21, 15:16
How can I change the site that the script queries?
I have another site which only asks for the song name. I want to create a dupe of xbmclyrics for this site since it has songs in Hebrew and lyrc.com.ar don't.

Thanks

smuto
2006-10-09, 15:13
scriptmod - just textbox or list (without background, animation, labels)
lyrics.py (http://www.smuto.webpark.pl/MC360Lyrics/lyrics.py)

now u need to create related to the script custom dialogwindow (with background, animation, infolabels, infoimage)
e.g. for MC360
Custom1197_Lyrics.xml (http://www.smuto.webpark.pl/MC360Lyrics/Custom1197_Lyrics.xml)

now u need find a place in skin where u want to run it from

<onclick>XBMC.ActivateWindow(1197)</onclick>
<onclick>XBMC.RunScript(Q:\skin\MC360\extras\lyrics.py)</onclick>

e.g. for MC360 (Now playing window - player control panel mod)
MyMusicPlaylist.xml (http://www.smuto.webpark.pl/MC360Lyrics/MyMusicPlaylist.xml)

@EnderW - thx a lot, i love lyrics in xbmc

HarshReality
2006-10-25, 20:36
I am looking at the XBMCLyrics guibuilder that comes with T3CH and keep getting an error when opening default.xml

smuto
2006-10-28, 13:12
XBMCLyrics with GuiBuilder - fastMethod (http://smuto.w.interia.pl/XBMCLyrics.rar)

this one in fatT3CH is before EnderW fix

HarshReality
2006-10-29, 01:14
OK, so where do I get guibuilder after EW fix?

HarshReality
2006-10-29, 01:15
Okay, so where do I get xbmclyrics w/guibuilder after EW fix?

Sam123
2006-11-22, 11:11
Lyrics - skin MC360 (http://www.smuto.webpark.pl/MC360.xml)

http://www.smuto.webpark.pl/LyricsMC360.jpg

problem
cover art for next song is not update

above problem solved or not?

Sam123
2006-11-24, 17:17
A-ha, got answer!
Just add the image control:
self.controls[0].setImage(xbmc.getInfoImage("MusicPlayer.Cover"))

[Death]
2006-12-04, 20:52
ok what is the latest full rls of this? . got the version in tech rls 2.0.1 , and i must say it has a few bugs , get the html code at top and not displayed proerly, smuto ure stuff looks nice, do u have a full package?

smuto
2006-12-05, 15:29
XBMCLyrics with GuiBuilder - fastMethod (http://smuto.w.interia.pl/XBMCLyrics.rar)


i add Sam123's Cover fix

but remember i'm not phyton coder, from my side all i do it's just mod of EW's script

smuto

smuto
2006-12-05, 16:32
but i have one more problem, mayby sameone from coders can help

script reads lyrics from text file which are stored on HDD

e.g.
Artist Tag - U2
Song Tag - One

LyricsPath
Q:\UserData\lyrics\U2\One.txt'

problem
non latin characters in info tags

e.g. ( for polish one)
Artist Tag - ĄĘść
Song Tag - żńąć

i need part of code which convert characters from tags to set proper path
Q:\UserData\lyrics\AEsc\znac.txt'

kind regards smuto

smuto
2006-12-11, 20:23
Dead certainty i'm not a python coder:no:
i try to follow thor918's tips, but with no luck
hi there. if there is someone that is developing on this script still, please consider to redo the code that detects media change. last time i checked the code. it had a codeloop that where sleeping and checking. there is a much more efficient way to do this.



http://xbmc.org/forum/showthread.php?t=5978
or
http://xbmc.org/forum/showthread.php?t=19493

please XBMCLyrics needs the real improved version

smuto

luna
2006-12-11, 23:20
I have an issue with recent XBMC builds (e.g. 2006-12-08) an this script: it displays lyrics fine, until i skip to a song that has multiple options. Instead of showing the list of options to make a manual choice the script hangs te box requiring a power cycle to recover.
When I use the script on older xbox versions it runs fine.

Any clues?

Cheers,
Luna

SleepyP
2006-12-13, 02:52
not only that, if you accidentally run the script with no media playing, it hangs the system as well :(

smuto
2006-12-29, 00:41
XBMCLyrics with GuiBuilder - fastMethod (http://smuto.w.interia.pl/XBMCLyrics.rar)

Blackbolt Classic skin - that all, what i add
Build SVN 27.12.2006 - script working with no problem

still looking for aktive python dev with free time - XBMCLyrics needs improved updade class

smuto

Nuka1195
2007-02-15, 20:26
Smuto this snuck past me, I didn't know you added a BBC skin, now known as Xbox-Classic.

If you don't mind. I'll add this to the scripting SVN, I'll update it to the 2.1 skinning too.

I wait for your reply.

smuto
2007-02-15, 21:53
sure, but only if u improve more staf:grin:

this script need better
- update class
- language support
- hdd read
- fatX compatibility

i wrote some temporary part of code, just for myself, that all what i can do with my basic python knowledge

smuto

Nuka1195
2007-02-15, 22:35
update class - done :)
language support - if you mean for the lyrics, then maybe different lyrics search sites
hdd -read and fatx ok, i'll look into it when i get a chance.

You've done a very good job with this. I updated the skins to 2.1. The BBC skin now Xbox-Classic skin is great. Why hide the cover art?

Nuka1195
2007-02-16, 02:03
XBMC Lyrics originally by SveinT and updated by Smuto is now in SVN.

Key features:
- Update lyrics now uses the Player on* events.
- Skinnable - You have two options a 4x3 (skin.xml) and 16x9 (skin_16x9.xml). special gfx go in there /gfx/ folder
- Saves lyrics in q:\userdata\lyrics\artistname\song.txt. If you don't want this edit the top of the script and set SAVE_LYRICS = False

http://xbmc-scripting.googlecode.com/svn/trunk/XBMC%20Lyrics


Thanks to Smuto and SveinT

Nuka1195
2007-02-17, 08:24
changed: [XBMC Lyrics] Separated parsers into there own .py file. (So someone could create a parser to parser lyrics from mp3's)
added: [XBMC Lyrics] http://www.lyricwiki.org/ (Default, change it at the top of the script uncomment the other parser and comment this one out "#PARSER = 'lyrc.com.ar'")
added: [XBMC Lyrics] Warning message if no music is playing.
changed: [XBMC Lyrics] Language routine
added: [XBMC Lyrics] English language strings (10-11)

If someone wants to create a new parser:
- Name it "lyrics_parser" and put it in it's own folder under /parsers/
- The Main class needs to be named "Lyrics_Fetcher"
- Two defs are required:
- def get_lyrics( self, artist, song ): <- This returns either the lyrics or a list of tuple selections, with [ 0 ] being added to the ControlList.
- def get_lyrics_from_list( self, item ): <- This returns the lyrics after the user as selected an item from the list. item is the selected tuple from above.

The options at the top of the script you change to suit:
SAVE_LYRICS = False
LYRICS_PATH = 'Q:\\UserData\\lyrics\\'
PARSER = 'lyricwiki'
#PARSER = 'lyrc.com.ar'

I need to know if you have SAVE_LYRICS = False. If a list is returned to you want to save that file anyway to avoid the list next time?

smuto
2007-02-18, 18:28
just love u:) - wiki is much better than - hdd read support

Nuka1195
2007-02-19, 01:36
:grin: you have both, just the file writing is disabled by default.

smuto
2007-02-19, 19:21
yes, i know

now my problems
e.g.
artist - Dżem
song - A jednak czegoś żal

for hdd support i need to replace polish chars
UserData\lyrics\Dzem\A jednak czegos zal.txt
(xbmc convert all chars to utf-8)


#Polish non fatx_compatible chars :
name = name.replace( 'Ą', 'A' ).replace( 'Ę', 'E' ).replace( 'Ć', 'C' ).replace( 'Ĺ', 'L' ).replace( 'Ĺ', 'N' )
name = name.replace( 'Ă', 'O' ).replace( 'Ĺ', 'S' ).replace( 'Ĺ', 'Z' ).replace( 'Ĺą', 'Z' )
name = name.replace( 'ą', 'a' ).replace( 'ę', 'e' ).replace( 'ć', 'c' ).replace( 'Ĺ', 'l' ).replace( 'Ĺ', 'n' )
name = name.replace( 'Ăł', 'o' ).replace( 'Ĺ', 's' ).replace( 'ĹĽ', 'z' ).replace( 'Ĺş', 'z' )
return name

or take a look to my mod
lyrics.py (http://smuto.w.interia.pl/lyrics.py)

for lyricwiki
- scraper returns utf8 formatted strings, but script display it in 8-Bit

smuto

Nuka1195
2007-02-19, 21:21
Ah, ok. Try replacing make_fatx_compatible with the following. If it works I'll add it.


def make_fatx_compatible( self, name, extension ):
name = name.decode( 'utf-8', 'replace' ).encode( 'ascii', 'replace' )
if len( name ) > 42:
if ( extension ): name = '%s_%s' % ( name[ : 37 ], name[ -4 : ], )
else: name = name[ : 42 ]
name = name.replace( ',', '_' ).replace( '*', '_' ).replace( '=', '_' ).replace( '\\', '_' ).replace( '|', '_' )
name = name.replace( '<', '_' ).replace( '>', '_' ).replace( '?', '_' ).replace( ';', '_' ).replace( ':', '_' )
name = name.replace( '"', '_' ).replace( '+', '_' ).replace( '/', '_' )
return name

smuto
2007-02-19, 22:14
it's working, but

try to imagine

my polish song name - "ąężćś"
from your code on hdd i have "_____" , i prefer "aezcs" instead, so this is why i made mod of your script

smuto

smuto
2007-02-19, 22:23
but in this moment most importent is wiki

i can only repeat
- scraper returns utf8 formatted strings, but script display it in 8-Bit

part of lyrics

Pamiętać, zapomnieć - śmiać się czy grać

and this i see in xbmc

Pamiętać, zapomnieć - Ĺmiać się czy grać

Nuka1195
2007-02-19, 22:26
First it's your script :)

Well then all I can say is add all your characters like you posted, then add it to the parser of your choice and name the folder lyricwiki_polish. Then I can add that to svn and you'll just use that for SCRAPER=lyricwiki_polish.

Will that work for you?

Edit: Or you tell me how you want it returned (what encoding) and I'll add the encode() to the return value?

spiff
2007-02-19, 22:48
the script should be working in utf-8. leave it up to the scrapers to convert to utf-8. any general conversion's gonna be awkward

Nuka1195
2007-02-19, 23:48
Ok smuto with cptspiff's help, i think i understand and am working on it.

Edit: Smuto does the other parser work for you? Did it before any of my changes?
Is it the lyrics that are bad or the list of choices?

Edit2: With cptspiff or spiff's help we got it. I'm trying to fix something else then I'll commit.

Nuka1195
2007-02-20, 01:52
Ok Smuto I committed.

Let me know if it works it should.

smuto
2007-02-20, 08:14
:) yes :)
:)script is perfectly working:)

Nuka1195
2007-02-20, 08:19
Great, thank cptspiff when you see him :)

Nuka1195
2007-02-21, 17:31
I'm trying to find out who had anything to do with this script originally. If you did and want your name at the top of the script, please post what you contributed.

Thanks

I have:

Credits: EnderW: Original Author
SveinT:
Stanley87: PM3 Intergration and AD Removal
solexalex:
TomKun:
Smuto: Skinning Mod
Rockstar & Donno: Language Routine
Spiff: Unicode support
Nuka1195: lyricwiki Scraper and Modulization

Please report any bugs: http://xbmc.org/forum/showthread.php?t=10187

EnderW
2007-02-21, 20:02
You may remove SveinT as I and him (or me? :P) are the same person. It's no wonder people get confused, but now you know at least :)

That said, great work on the script. It really needed an update, so I'm happy to see that someone has remade it properly :)

Nuka1195
2007-02-22, 01:59
aha, i just asked killarny if that was you. :)

Nuka1195
2007-02-22, 18:36
Smuto, could you update the polish language file. Keep it in utf-8 if you can.

smuto
2007-02-22, 19:36
of course

btw. what is a proper way to upload language file for any script on xbmc-scripting.googlecode.com

smuto

Nuka1195
2007-02-22, 21:27
go ahead and e-mail it to me and i'll commit it.

I'm not sure when you grabbed it, but I just added more :)

stanley87
2007-02-22, 23:14
Nuka, i will try to hunt down the guys who did the spanish/dutch/french/german language files for XinBox and pass on the xbmc lyrics english lang file and commit it :-D

Coolgamer30
2007-02-22, 23:46
http://i82.photobucket.com/albums/j250/Coolgamer30/XBMCLyricsScript.png
In this screenshot the album cover is on top of a white square. I think the white square should be removed since the album cover doesn't fit inside it very well so it doesn't look very good. Also I think it would look better if the lyrics and song information was moved to the right a little bit since it is right on the edge. Also thanks for updating this script since it was really in need of an update.

Nuka1195
2007-02-23, 01:12
the default skin hasn't been tweaked, it is a copy of Xbox-Classic's skin (The skin I use). If you know anything about skinning, please feel free to fix it and submit it back. :)

Thanks stanley87

smuto
2007-02-28, 11:25
@Nuka1195
can u add runing on Visualisation window as a option to the settings?

smuto

Nuka1195
2007-02-28, 15:49
you don't want the viz to start?

is saving lyrics working for you? I mean are they being converted to ascii or do they display properly. Also if you have a bunch from before, there may be 0 byte files.

edit: committed the new setting, language files will need updating

smuto
2007-02-28, 18:46
i'm currently using xMC skin by leonardo
yesterday i made first step to skining lyrics with this skin
http://xbmc.org/forum/showpost.php?p=126918&postcount=14

with this idea i don't want the viz to start

saving lyrics
never make tests - i have large lyrics collection for previous script and it's working with yours script

but for now i start testing

Nuka1195
2007-03-03, 23:07
I just committed a major change to the language files and the skins.

So skinners and translators, could you please check to make sure I didn't mess you up

Thanks

itstvman
2007-03-07, 01:49
Synchronized lyrics are fantastic and i think it should be a standard option in XBMC instead of the Vortex. Just display the cover, the TAG information and the lyrics (synchronized).
Is there someone who could build that. Sadly i'm just no good with python.

Nuka1195
2007-03-08, 02:56
XBMC Lyrics skins now support animation, you need a new version of XBMC to see them.

Xbox-Classic uses animation for an example.

Skinners, you must make sure each control has a unique ID. and don't change the ones between 3-9.

Translators, could you please check to make sure the language files are ok.

Synchronized lyrics would be cool, but not sure how practical from python it would be.

Nuka1195
2007-03-11, 21:34
changed: [XBMC Lyrics] version to 1.4
added: [XBMC Lyrics] you may now edit your own artist exceptions list for lyricwiki scraper in the gui. (black-controller/back-remote when an artist is not found)
added: [XBMC Lyrics] English language string id (100)
changed: [XBMC Lyrics] True/False settings are now a checkmark (skinners will need to update their settings.xml for settings to work properly)
changed: [XBMC Lyrics] settings pages are now determined by skinner, based on visibility conditions. (This means skinners decide how many settings are on a page, look at the default skin for an example, this currently shouldn't affect XBMC Lyrics, but other scripts are moving to this system so be prepared)
changed: [XBMC Lyrics] default and xbox-classic settings.xml files to match above changes

Updated xbmc lyrics

zippy101
2007-03-12, 17:48
will we ever see this script able to read embedded id3 lyrics?

Nuka1195
2007-03-12, 22:15
added: [XBMC Lyrics] embedded_itunes lyrics scraper. (Only tested with one song embedded using itunes 6.?)


If this doesn't work for you, you will have to play with the regex.

Let me know though, maybe somebody with better regex skills than myself, can create a better one.

Also, the songs need to be on the xbox. Maybe somebody with samba/python experience can make it work over samba.

zippy101
2007-03-13, 14:54
thanks Nuka, where can I get the latest version - the one on xbmcscripts is old.

thanks.

Nuka1195
2007-03-13, 17:25
http://xbmc-scripting.googlecode.com/svn/trunk/XBMC%20Lyrics

I use tortoisesvn.

Also, note that until skinners update their skins, only the default(PMIII) and xbox classics settings will work.

So make sure you're using one of those skins to change settings.

zippy101
2007-03-13, 19:08
It didn't work for me :( . I got the latest version from the svn. I can see in the resources folder there is an ITunes scraper, copied several tracks over to the box with embedded lyrics but they would not display.

Sorry don't know what regex is.

This is a feature I've been asking about for a long time. The reason being is nearly all of my mp3 collection has embedded lyrics, so f I take it somewhere where no internet connection is available I would like to still be able to see them.

If anyone could take up the challenge of getting this feature working, it would make a fantastic script even better.

:)

Nuka1195
2007-03-14, 00:19
you went into settings and selected the embedded-itunes scraper?

If so, upload a song with lyrics and post a link.

And the feature does work with itunes embedded lyrics.

lennon105
2007-03-14, 00:41
Has anyone else had problems running this script in 1080i? When I'm in 1080i the script will freeze as soon as the vis. starts or when the song change. But, in 480p I don't have this problem, the script works great. I have a current SVN build of both script and XBMC.

Just wanted to see if others had any problems...
Thanks

zippy101
2007-03-14, 14:57
Hi Nuka,

Yes I set it to use the itunes scraper - here's a link to one of my files with embedded lyrics that doesn't appear.

http://www.fileupyours.com/files/87523/The%20Verve%20-%20Bitter%20Sweet%20Symphony.mp3

Nuka1195
2007-03-14, 16:51
ah, you picked a good tune, i'll have a look. What did you tag these with.

zippy101
2007-03-14, 17:03
ok to be honest I didnt use Itunes to tag them, used another prog {zortam media studio}, but the lyrics still appear in Itunes under Get Info ==> Lyrics, media player etc.

Does Itunes do something different ? I'll try tagging a track now.

Nuka1195
2007-03-14, 17:28
added: [XBMC Lyrics] embedded_LAME3.92 scraper

Yes it does tag different than your song, but try this one.

edit: I was able to combine the two, so now there is just one scraper "embedded"

zippy101
2007-03-16, 16:22
Works like a charm :)

Thanks to all for their effort on this script

smuto
2007-04-03, 13:13
@Nuka1195 - a PM to u
i updated the language file

smuto

Nuka1195
2007-04-03, 15:52
Thank you :)

Nuka1195
2007-04-06, 02:03
changed: [XBMC Lyrics] Control id="8" is now required. When a scraper is used to fetch the lyrics, it will be enabled. When a song file is found locally (not embedded) it will be disabled.
changed: [XBMC Lyrics] added the control to MC360 skin.

uneek
2007-04-08, 09:17
im having trouble trying to get it to work. i copied the files into the XBMC/Scripts folder, so inside that directory I have the XBMCLyrics folder.

I then copied the xml file into the PAL folder. Went into XBMC and loaded music, right clicked thumbstick and went to Info, pressed up and it showed Lyrics so I hit the green button. But nothing shows?

The music I loaded was over samba, so I then copied something onto the xbox hdd and went through the process again - still nothing?

any ideas? i would really love to use this script

Nuka1195
2007-04-08, 16:50
it's a self contained script, no need to copy any xml anywhere else.

just copy the /XBMC Lyrics/ folder inside the /Build/ folder to q:/scripts/.

That is if your using the version from SVN. if not, can't help you.

jbhe05
2007-04-29, 20:48
I got the latest release off of the SVN repository and I keep getting these errors:
Traceback (most recent call last):
File "Q:\scripts\XBMCLyrics\default.py", line 20, in ?
import gui
File "Q:\scripts\XBMCLyrics\resources\lib\gui.py", line 33, in ?
class GUI(xbmcgui.WindowXMLDialog):
AttributeError: 'module' has no attribute 'WindowXMLDialog'

Any ideas about this? I read the script is self contained and I've run the Build.bat script with no errors and copied the contents of the build folder to the scripts folder of the Xbox.

Thanks in advance!

Nuka1195
2007-04-29, 21:44
update XBMC

saxxon
2007-05-19, 11:17
Hi,
I installed lyrics 1.5 on a april xmbc built with mc360 1.04.
The config window does not get displayed clearly and the lyrics are flickering and sometimes disapearing.

I was looking for a config file to manually config lyrics, couldnt find one....

When i start lyrics with the mayhem skin the xbox hangs and need to be reset.

any suggestions ?

saxxon

Nuka1195
2007-05-19, 17:54
I don't know, it works fine here.

Maybe a debug log and a screenshot of the messed up screen.

I will say if this isn't a build straight from SVN of your own or a T3CH build, I won't spend anytime tracking this down. There are builds out there that the date of build doesn't match the source date.

blackdir
2007-05-24, 19:43
I'm experiencing a strange problem of black screen and than crash with XBMClyrics included in T3C latest (may 20) SVN build: when I run XBMCLyrics and it starts showings the lyrics, the screen turns automatically to black... in this situation when I press whatever key, XBMC crashers with the screen showing something like untuned tv screen. At this point hardware reset is required.

If the lyrics is not found, XBMC works fine with no crash.

I don't use a modchip, just softmod... never had this before (with previous build): is this something that someonelse is experiencing?

thanks,
blackdir

Nuka1195
2007-05-24, 23:07
maybe post a debug log when it happens.

What type of music are you playing? (mp3's...)

a76b492
2007-06-06, 03:25
I really like this script and would like to have a button on my universal remote dedicated to it. I have successfully added the xbmc.runscript command to my keymap.xml. What I would like to do is have the same button stop the script. Is there some code I could add to the script that would check to see if the script is already running and if so kill it?

Nuka1195
2007-06-06, 04:36
add the following to the onAction() event:
print "ACTION:", action.getButtonCode()
run the script and press that button and then press back to exit
the first "ACTION: #" statement is what you want.
then add that number to the following line and get rid of the print statement.

old
if ( action.getButtonCode() in utilities.EXIT_SCRIPT ):

new *remember the parens and comma. so just replace the # with your code
if ( action.getButtonCode() in utilities.EXIT_SCRIPT + (#,) ):

a76b492
2007-06-06, 08:45
Thanks for the code NUKA1195 but I can't seen to get this working. I put the print "ACTION:" command under the def onAction section of the gui.py, ran the script and pushed the button. Where does the script "print" the button code? Nothing pops up on screen and I checked all the logs.

Nuka1195
2007-06-11, 21:16
you need to view the scripts debug window. black button after exiting the script, while your in the scripts window.

a76b492
2007-06-12, 11:37
thanks Nuka1195. I got it working.

Nuka1195
2007-06-19, 18:08
Could anybody confirm that language files other than english were working.

I just committed a change that should fix that. The way it was, other than english strings should not have worked :S

LRa
2007-06-19, 18:37
Could anybody confirm that language files other than english were working.

I just committed a change that should fix that. The way it was, other than english strings should not have worked :S

I'm using two different xbmclyrics, since the newer versions won't find French songs.

Nuka1195
2007-06-19, 18:47
Ok, I actually meant the language files. Would you supply a French language file?

About the songs, Have you tried both scrapers? Do you have a website that has French songs? You may need a new scraper if your songs are not on http://www.lyricwiki.org or http://lyrc.com.ar. Have you checked those websites for your songs?

post a song and artist of ones that don't work.

LRa
2007-06-19, 19:36
Sure.
For example Alain Souchon and antoher - Renaud.
Two very well known French artists. Both sites have a very limited selection of their songs. In spite of that, a much older version of xmbclyrics I have do find all of their songs I look up.

Also http://www.lyricwiki.org and http://lyrc.com.ar don' have Hebrew songs, but even if they did, it wouldn't work, since when xbmclyrics searchs for the songs, the letters a gibbrish and not Hebrew, although Hebrew fonts work as subtitles and while browsing the folders.

Hope that helps.
Thanks

Nuka1195
2007-06-19, 19:46
The version your using for French doesn't use http://lyrc.com.ar ? That's the original site.

Then you'll need a new scraper. Not something I can probably do since it's a language i don't speak. Maybe post a link to the script that does work for you and i can take a look.

Using LyricWiki.org scraper.
Foule Sentimentale

Using lyrc.com.ar scraper

('Alain souchon - Le fil - souchon', 'tema1en.php?hash=675b95819a48c6e3718ddb19267c686c ')
('Alain souchon - J\xb4ai dix ans', 'tema1en.php?hash=e4206d6bd56cdba08f2c8c3470f34f57 ')
('Alain souchon - Ballade de jim', 'tema1en.php?hash=7d4690c9e2d074a75ff547b4d750c870 ')
('Alain souchon - Lulu', 'tema1en.php?hash=a4368f5b87f830f7a4665466cb59adf4 ')
('Alain souchon - Le baiser', 'tema1en.php?hash=d9db21f4b62e872c5169b6271bcf50a1 ')
('Alain souchon - Bidon', 'tema1en.php?hash=a25e7b959482dc0385a6d49cda71b113 ')
('Alain souchon - On avance', 'tema1en.php?hash=51c599866c4b6febb5107f3fb630636b ')
('Alain souchon - Manivelle', 'tema1en.php?hash=635e9a745d2dfe8057e9ecb028a1c2b4 ')
('Alain souchon - Le d\xe9gout', 'tema1en.php?hash=ee7bb9e0215e8ed9eb8575a424555729 ')
('Alain souchon - Rame', 'tema1en.php?hash=fa597f02dd32533445c172b07f9a5c0a ')


Did you change scrapers in settings? (white button on remote)

LRa
2007-06-19, 19:57
Here are two songs that won't work with the new versions:
Alain Souchon - Toto 30 Ans
Renaud - Hexagone
but there are tons of others.

I don't have a controller, which button is it on the remote? (but as far as I know I didn't change the settings).

I can send my older version via email if that would help.

Nuka1195
2007-06-19, 20:31
Try the info or display button.

Sure you can e-mail me the older version, but it should be the same as selecting lyrc.com.ar scraper in settings.

LRa
2007-06-19, 20:38
Try the info or display button.

Sure you can e-mail me the older version, but it should be the same as selecting lyrc.com.ar scraper in settings.

Well I guess the version is so old, that it doesn't have settings(the new version shows the settings when I press the info button).

Could you pm me your email?
Thanks again

LRa
2007-06-19, 20:59
Sorry for double posting, but here's a weird problem I just had.
I was using the new xbmclyrics, and I looked for a song, and it gave me a list of options(same artist different songs). I chose the right song. Then I restarted xbmclyrics and now for this song I get 'no artist found'.

Nuka1195
2007-06-19, 21:17
That's odd, I don't know. If you had save lyrics selected, maybe that file got corrupted.

The script you sent me is the same as selecting lyrc.com.ar as the scraper. I get the same results also, so I didn't change anything when converting.

LRa
2007-06-19, 21:34
That's odd, I don't know. If you had save lyrics selected, maybe that file got corrupted.

The script you sent me is the same as selecting lyrc.com.ar as the scraper. I get the same results also, so I didn't change anything when converting.

Can you trying renaming a file to 'Alain souchon - Toto 30 ans' and see if the new version finds it?

Is it possible to look for lyrics by file name and not id tag?

Nuka1195
2007-06-19, 21:57
The new script with lyrc.com.ar as the scraper.

Tout commence, un sale matin,
Dans le miroir d'une salle de bains.
C'est pas le conquistador,
Ce has been jeune homme bouffi qui dort encore...
Qu'est-ce que c'est que ces coups de canifs
Qui remontent du coin des yeux vers les tifs?
Je vais pas faire un mlodrame
Mais ce sont des rides, Messieurs Dames!
Alors y se dtriore,
Le rose caoutchouc fort qui colle notre corps...
C'est ton ge. Faut pas que tu pleures.
Mon pauvre Toto, trente ans, rien que du malheur.

REFRAIN:
Trente ans, trente ans l'ge mr.
O l'on s'aperoit qu'on peut pas compter sur
L'lasticit du tissu, c'est sr...

Bb rose est tout content,
T'as grimp sur le toboggan.
Maintenant que tu ris moins fort,
Tu vas dgouliner sans faire d'effort...
Arrtez. a va trop vite.
Je deviens tout mou de partout.
a se prcipite.

REFRAIN

T'as beau jogging bois de Boulogne,
T'as beau lifting, la mignonne.
Elle dormira bien mieux.
Chez celui qu'a pas les yeux rouges, pas les pneus.
SOS, docteur, docteur,
SOS docteur pour chanteur,
Retendez-moi la peau, retendez-moi le coeur.
Je suis qu'un pauvre Toto trente ans, rien que du malheur.


Make sure you have version 1.5.

Also no the songs must be tagged properly.

LRa
2007-06-19, 22:29
I do have ver. 1.5. Songs that on the old version still don't work on the new, no idea why.

Anyhow, is there an option to search lyrics by file name and not id3 tag?

Nuka1195
2007-06-19, 22:34
No, there's too many ways to name a file. If you had to change the filename, you may as well tag it correctly.

It's weird that it finds that song, but doesn't include it in the artist song list. For me anyways. If you have that song on windows, look at the properties/summary advanced and see if there's spaces or anything in it screwing it up.

LRa
2007-06-19, 22:43
No, there's too many ways to name a file. If you had to change the filename, you may as well tag it correctly.

It's weird that it finds that song, but doesn't include it in the artist song list. For me anyways. If you have that song on windows, look at the properties/summary advanced and see if there's spaces or anything in it screwing it up.

Problem is tagging thousands of songs.

Nuka1195
2007-06-19, 23:06
Maybe I can add an option, but the songs would have to be named:

Artist - Song Title

I really don't want to add a bunch of code for other formats.

Nuka1195
2007-06-20, 00:30
New version 1.5.1 in SVN.

If an Artist tag is not found it uses filename for searching.

LRa
2007-06-20, 15:01
New version 1.5.1 in SVN.

If an Artist tag is not found it uses filename for searching.

Awesome thanks.
All my songs are named Artist - song title.
I'm not home yet, so I haven't tried it, but is it possible to choose filename searching as default?(something there's garbage in the tags...)

Nuka1195
2007-06-20, 15:48
I've added an option to use filename only for searching.

I'm waiting to commit it, I'm having an issue withe the ok/cancel buttons in the settings dialog not showing.

I imagine they showed for you or you wouldn't have been able to change settings?

LRa
2007-06-20, 16:09
I've added an option to use filename only for searching.

I'm waiting to commit it, I'm having an issue withe the ok/cancel buttons in the settings dialog not showing.

I imagine they showed for you or you wouldn't have been able to change settings?

Ok/Cancel/Update buttons showed fine in 1.5.

Nuka1195
2007-06-20, 17:23
changed: [XBMC Lyrics] Version to 1.5.2 for additional setting.
added: [XBMC Lyrics] Setting to use only filename for lyrics search.
changed: [XBMC Lyrics] Refresh song on certain setting changes. (save lyrics/lyrics path/use filename only)
added: [XBMC Lyrics] English language string id#(206).
changed: [XBMC Lyrics] Default skin setting xml file.

LRa, you may have an older version that's not affected. Would you do a french language file? Also if you use Apple movie Trailers, that could use a french language file also.

If anybody has the missing buttons in settings issue. JMarshall has fixed that in SVN, so update or wait for the next T3CH release. (If you make a change, the first time you move right 'Ok' is selected)

LRa
2007-06-20, 18:03
Sure I could do a French language file. I could also do Hebrew, but I doubt it would be used by anyone.

I'll do it over the weekend and email it to you?

mikko70
2007-06-20, 18:10
I always use in songs name -> Artist (folder) -> Album (folder) -> xx songname.mp3
All works good, but because fatx limit filename so short. I think this naming system is better than Artist - Songname.mp3

But in future releases, if is possible test this naming system also.

Nuka1195
2007-06-20, 20:59
changed: [XBMC Lyrics] Version to 1.5.3 for additional setting.
added: [XBMC Lyrics] Setting to choose filename format. (Artist-Song, Artist/Album/Song, Artist/Album/track song) for now
changed: [XBMC Lyrics] language.py returns a formatted error if an id is invalid.
added: [XBMC Lyrics] English language strings id's (207,2070-2072)
changed: [XBMC Lyrics] Default skin for settings change.

I've tested it, but if others could verify. You might get weird results if you have the wrong format selected.

Language translators, could you please update the language files. Once done I will submit this to xbmcscripts.com.

Here are the existing language files:
finnish
german
polish
spanish
swedish

LRa
2007-06-23, 01:26
Just tried 1.5.3. with the latest tech.
I'm not seeing Ok/Cancel/Update buttons.
Also, after xbmclyrics fetched the lyrics and saved them, the next time I play this song I get no lyrics found.

Nuka1195
2007-06-23, 01:36
see what the file has in it.

You'll have to wait for the next T3CH for the buttons missing.

LRa
2007-06-23, 01:40
see what the file has in it.

What do you mean?
When I query a certain song, it gives me a list. Then I choose the correct song and the lyrics are displayed. But the next time I play the song, I get 'no lyrics found'.

Nuka1195
2007-06-23, 01:59
I meant what does the saved song file have in it.

What settings do you have, did you change any?

Maybe grab a debug log, it doesn't do that for me.

Nuka1195
2007-06-23, 02:51
I just committed a fix and a change. I don't know if it will help with your issue or not.

LRa
2007-06-23, 10:57
I meant what does the saved song file have in it.

What settings do you have, did you change any?

Maybe grab a debug log, it doesn't do that for me.

Scraper : lyrc.ar.com
Save lyrics
Use only filename for search

The saved txt file is empty.

P.S. I've mailed you the French string.

Nuka1195
2007-06-23, 17:41
Thanks for the language file.

I just tried and it works fine here. I don't know why if it finds the lyrics, then doesn't save them it may be an illegal character in the song.

Does it work for any song? Post the song that does that and I'll look at the lyrics.

LRa
2007-06-23, 19:58
I tried few songs in English and no problem with that, but two french songss I tried:
Edith Piaf - La Foule and Edith Piaf - La Vie en Rose
Worked the first time, but afterwards I got no artist found.
Both of these songs have specials characters in them, as most of the French songs.

Nuka1195
2007-06-23, 20:13
Ok, I'll test. The no lyrics found is because the files empty.

It may be another damn unicode thing I missed.

Nuka1195
2007-06-23, 21:04
Ok, try the latest commit. I removed the utf-8 encoding. lyrc.com.ar lyrics are not consistent charsets.

I'll let the scraper return whatever it wants. Spiff told me to let the scraper handle it. :)

Hopefully that won't affect lyricwiki scraper.

Don't forget to delete all your 0 byte lyrics files.

Nuka1195
2007-06-25, 01:14
I changed the script, so if no music is playing the settings dialog launches.

Translators note the language changes.


changed: [XBMC Lyrics] Version to 1.5.4 for additional settings.
added: [XBMC Lyrics] settings (music_path, shuffle)
changed: [XBMC Lyrics] Default skin for new settings.
added: [XBMC Lyrics] playlist module. (This module can actually be used as an autoexec.py file at startup)
added: [XBMC Lyrics] New "Play Music" button to the settings window. If no music is playing it is enabled and calls create_playlist() with your settings (music_path and shuffle)
added: [XBMC Lyrics] English language strings id's(206,209)
changed: [XBMC Lyrics] English language string id(254)

realjobe
2007-06-25, 10:18
Where can i get this new version?
xbmcscripts.com does not have it. :(

ultima_finne
2007-06-25, 18:21
Hi. My friend have setup his own lyrics database, however we can't get it working with the recent xbmc releases, it just doesn't display the text.

If we use xbmc 2.0.1-final then it works great.
The for the lyrics site is.

http://jag.ar.efterbliven.com/lyrics/

can someone see if they can get it working with that site, would be nice to have it working with latest xbmc releases.

//
Ultima Finne

Nuka1195
2007-06-25, 18:25
@realjobe, http://xbmc-scripting.googlecode.com/svn/trunk/XBMC%20Lyrics

I'm currently making some changes, will be in by tomorrow.

ultima_finne, How about you post a song that's in the db, so i don't spend all day getting no results.

ultima_finne
2007-06-25, 18:47
Hey. Here's a link for a song which will be found in the db.

http://www.lifelover.se/mp3/03-I%20Love%20(To%20Hurt)%20You.mp3

Lets hope you get it working :) hehe

//
Ultima Finne

Nuka1195
2007-06-25, 19:00
ok, i'll check it out.

realjobe
2007-06-25, 21:17
@realjobe, http://xbmc-scripting.googlecode.com/svn/trunk/XBMC%20Lyrics

I'm currently making some changes, will be in by tomorrow.

ultima_finne, How about you post a song that's in the db, so i don't spend all day getting no results.

Ok.. So that's where it got the CNN script.. :)
with what tool is it possible to download them nicely? flashGet does not function...

ultima_finne
2007-06-25, 23:40
Hi. My friend have setup his own lyrics database, however we can't get it working with the recent xbmc releases, it just doesn't display the text.

If we use xbmc 2.0.1-final then it works great.
The for the lyrics site is.

http://jag.ar.efterbliven.com/lyrics/

can someone see if they can get it working with that site, would be nice to have it working with latest xbmc releases.

//
Ultima Finne

My friend has configured the database so that it will work perfectly with the old xbmc lyrics script.

and the xbox should search on
http://jag.ar.efterbliven.com/lyrics/lyrics.php
which is not the same page we see if we seach for ourself.

Nuka1195
2007-06-26, 02:02
There's nothing at that page.

Your friend had it working?

If so then he should just be able to change the base url for the lyrc.com.ar scraper:

class LyricsFetcher:
def __init__( self ):
self.base_url = "h ttp://jag.ar.efterbliven.com/lyrics/lyrics.php"

That did not work for me.

Nuka1195
2007-06-26, 16:23
Ok, I think that's it for the language strings. Translators note, you use id#2 for your name. It shows in the credits dialog.


added: [XBMC Lyrics] Credits dialog (Translators, use id#2 for your name)(start,info,C - from the main window)
added: [XBMC Lyrics] Default skins credits xml file
added: [XBMC Lyrics] Additional credits texture (Thanks skinners)
added: [XBMC Lyrics] English language strings id's(1,2,900-903,910-914)

Nuka1195
2007-06-28, 22:35
I would like to tag this version, but I want to wait until all the language files are finished.

Note, there is now a credits page and your name will show up. You use ID#2 for that.

Note2, The language files actually work now. :)

Sorry for anybody's name not listed, they were not in the language file.

I'll wait a week or so, then any that aren't updated, I'll have to remove.
finnish: Mikko70 completed, thanks
polish: smuto, incomplete
german: incomplete
spansih: incomplete
swedish: incomplete
french: incomplete

Also, if anybody could make sure I didn't break file saving for languages that use utf-8. That would be great.

Skinners, you may include the skin xml files with your skin. There have been changes since the last tagged version.

LRa
2007-06-29, 09:33
Finally French song lyrics saving works.

I've mailed you the updated French string.

Nuka1195
2007-06-29, 17:00
LRa, the only language file I have from you is outdated. I may have added more strings since then.

LRa
2007-08-06, 09:18
LRa, the only language file I have from you is outdated. I may have added more strings since then.

Why, is there a new version?

mikko70
2007-08-06, 19:51
http://xbmc-scripting.googlecode.com/svn/trunk/XBMC%20Lyrics/

LRa
2007-08-07, 11:22
Well, the current French xml is indeed outdated. That's weird since I've sent an updated one at 29/06.
I'm forwarding you the file I've sent a month ago.

Nuka1195
2007-08-07, 15:44
LRa, I just committed it, since it's newer, but your missing some very recent new strings.

Also would you make sure I didn't break saving song lyrics for you. I just updated that portion of the script.

Thanks

smuto
2007-08-07, 20:38
i was really busy, but today is a good time for update language file

but
xbmc from 06.08.07
xbmclyrics from 06.08.07

my xbmc runs with 3 profiles

- Default User(my wife) - with xMC skin
- me - with PM III
- my son - with MC360

script work only with default user profile,
here is scripts log window from my profile
http://smuto.w.interia.pl/path.JPG

smuto

Nuka1195
2007-08-07, 22:20
Smuto, I think that's a permissions issue. I will have to pass this on to Spiff.

Thanks for finding it.

LRa
2007-08-09, 14:11
Done.
Anyhow where's the changelog?

LRa
2007-08-15, 23:03
LRa, I just committed it, since it's newer, but your missing some very recent new strings.

Also would you make sure I didn't break saving song lyrics for you. I just updated that portion of the script.

Thanks

BTW, I've just checked and the lyrics saving is broken.

Thanks

Nuka1195
2007-08-16, 14:25
Is the file being created? Is it empty. would you post the artist/song that fails.

LRa
2007-08-19, 01:31
Is the file being created? Is it empty. would you post the artist/song that fails.

NP. But I'll be back from vacation in 2 weeks, so it will have to wait.

LRa
2007-09-04, 06:43
Sorry for the delay.
I tried this song - Alain Souchon - Foule Sentimentale.
First it displays the lyrics, but the next time I play the file it doesn't.

Also, apparently, it doesn't create a lyrics file.

perplexer
2008-01-01, 03:40
Req: additional force update when song changes (make XBMCLyrics Shoutcast-friendly)

Lyrics update works great when playing "normal" tracks, but for Shoutcast streams, the "track" number never increments and "play time" never resets to 0:00. So XBMCLyrics does display the new Artist/Song, but the lyrics do not update automatically.

Can XBMCLyrics check to see if just Artist/Song changes, then request new lyrics?

Nuka1195
2008-01-01, 18:09
the original script worked like that, it is unlikely i'll add that back as it was not very stable.

Maybe you can find an old sript somewhere. Does xbmcscripts archive those?

perplexer
2008-01-01, 18:46
I really would hate to lose all the improvements of 1.5.5. If this change would make the script unstable, how about adding a manual "refresh" button?

EvilDude
2008-03-03, 14:22
I was playing around with the script (wanted to make it more obvious that it is reading from the file, eg show "Embedded" rather than the scraper title.

I downloaded the latest from SVN, and I get this error, in _PC and also on the xbox (also latest svn that I built myself).

23:17:44 M:1462169600 ERROR: Control 101 in window 13000 has been asked to focus, but it can't
23:17:46 M:1461706752 ERROR: Control 101 in window 13000 has been asked to focus, but it can't
23:17:46 M:1461690368 ERROR: Control 101 in window 13000 has been asked to focus, but it can't
23:17:46 M:1461690368 ERROR: Control 101 in window 13000 has been asked to focus, but it can't

I have no idea what is causing this but the script doesn't load properly most of the time in XBMC_PC.

Any ideas?

I was also looking at why the Menu / Prev button didn't work, and found that ACTION_EXIT_SCRIPT was being reset to nothing for some odd reason.. could be related to the earlier error though.

Also, I have a small patch here:
http://pastebin.ca/925930

Just to set the scraper title if its being used, otherwise show Embedded.

Nuka1195
2008-03-03, 17:15
In the top of the skin files i have a defaultcontrol tag, i think this is safe to remove, so that error won't show up, it may cause issues, i'm not sure. the problem is if you have smoothscrolling enabled, that control is not used.

about the "embedded" your patch would not work as is, it should have errored for you if it needed to use the scraper.

I thought about having "file", "embedded", "scrapername" and think it is a nice idea, so i can add that, look for it in the next couple days. it currently disables the scraper name, so it looks dim if a local file was read, but more info might be nice.

EvilDude
2008-03-04, 12:20
Ah, I hadn't tried to use the scraper, but that sounds like a good update.

The error does go away when I delete the defaultcontrol tag, however the latest svn version of the script doesn't seem to be working 100% in XBMC_PC. My XBMC_PC is from the latest t3ch, so perhaps things have changed that are stopping it from working.

Nuka1195
2008-03-09, 19:40
[XBMC Lyrics]
- changed: Version to 1.5.6
- changed: Eliminate sys.path.append() effects linux differently, this should fix any conflicts on linux
- changed: display "file", "embedded" or lyrics scraper title info per song
- added: english string id's(101,102)
- changed: save files differently, hopefully helps with windows
- fixed: default control was not necessarily available in default skins


.

EvilDude
2008-03-10, 14:00
Sounds awesome :) Thanks for the update.

EvilDude
2008-03-11, 13:45
I was testing the script on some of my songs (which all have embedded lyrics), and I found that:

* start the script, shows lyrics and 'Embedded' properly and straight away
* skip to the next song (or wait till song changes), it clears the screen, nothing for a few seconds, and loads the lyrics, but from lyricswiki.org

If I close the script and start it however, it loads the lyrics from embedded fine. I took a look in the python code but couldn't find anything that would cause this. I am not sure when the event is fired, but I think the whole tag may not be loaded at the point when it is called.

I found that adding a xbmc.sleep( 2 ) in the else case for mPlayerChanged improved the chances of it loading it from embedded :P Would you know of any reliable way to know if the full tag was loaded?

Thanks

Nuka1195
2008-03-11, 16:44
search for xbmc.sleep(20) and play with that, remember they're milliseconds, try 30. 20 worked here consitently, but i only have two and they were local. so if you are over the network, that number may need to be larger. 1000 equals one second, so even up to 100 might not slow performance down any.

let me know.

Nuka1195
2008-03-12, 18:36
[XBMC Lyrics]
- changed: increased sleep to 60 msec to hopefully give enough time for MusicPlayer.Lyrics to work consistently over network
- changed: reverted lyrics saving to original format. makes editing files easier


If you used the last revision lyrics script, you may need to delete those saved lyrics files. They got overwritten with a different format.

DrDDT
2008-03-12, 18:49
do you know the oel characters? "\r\n", "\n" or "\r"

I don't.

Is there any way to dump the Lyrics?
I enabled the 'save lyrics' feature, but that might not work for embedded lyrics.

Are the lyrics dumped in raw form in the debug log?

Nuka1195
2008-03-12, 19:30
lyrics won't be saved for embedded lyrics.

can you copy and paste into a decent text editor, that let's you view eol characters?

maybe try the latest svn, i made a minor change in that regards, though i do not think it would affect this.

Nuka1195
2009-01-06, 23:45
i just committed a fix to the lyricwiki api scraper and removed the lyricwiki scraper. so if you did not change your scraper to one other than lyricwiki. you need to.

also there are issues on windows, currently looking into it.

dukegrad
2009-01-11, 18:57
??? i'm probably missing the obvious here... but i updated to latest version (1.6.1) and i can't seem how to get it to show lyrics on song change. if i page down it immediately updates. i would swear that used to work but going back to the beginning of this thread it was an open item back in '05. surely that's been addressed by now and i'm just an idiot not being able to find it, right?

Nuka1195
2009-01-11, 19:40
known issue with xbmc. they're working on it.

idioteque
2009-01-11, 20:38
Does anyone have a DL link to the latest version

Nuka1195
2009-01-11, 21:03
in the addons svn. installer is in a sticky

johneirik
2009-02-17, 00:07
In my mediastream skin, there is a button show lyrics, is there a way to assign this script to that? It's so much work to go via menu and scripts :P

coredalae
2009-02-17, 18:10
In my mediastream skin, there is a button show lyrics, is there a way to assign this script to that? It's so much work to go via menu and scripts :P

by skin settings you can set the lyrics script path.

johneirik
2009-02-17, 21:33
by skin settings you can set the lyrics script path.


Found it, thanks! But which file is the one starting the script? :blush:

mwaterbu
2009-03-29, 01:41
hey, was hoping i could request a feature, if its not too difficult. would it be possible to use the normal scroll method (the bar on the side) for viewing the lyrics, so it would only use up and down on the d pad to scroll? that way, the song could be changed (with left and right on the d pad) without exiting the script.

coredalae
2009-03-29, 05:33
that would actually be awsome mwaterbu. hope it can be done oO

Nuka1195
2009-03-29, 07:31
it's possible, but you aren't using the default skin? there is no scrollbar in the defaulty skin.

if i don't post again in a few days, bump this.

mwaterbu
2009-03-31, 01:55
im using PM3.HD. is there a major difference from the original PM3?

mwaterbu
2009-04-04, 20:08
bump lol

mwaterbu
2009-04-15, 20:17
desperate bump...

Nuka1195
2009-04-15, 23:01
oops i forgot.

this can not be done with python as it will break other features. but can be done skinning. post the skin your using and i'll see what i can do.

mwaterbu
2009-04-16, 04:30
no problem.
im using the PM3.HD skin

Jaco2k
2009-04-16, 14:04
What about an auto-scroll feature "a la" karaoke? ;)

Musta78
2009-07-07, 02:25
Does anyone have a download link to this script? No one seems to work.....

macardi
2009-08-03, 11:28
Due to licensing restrictions the lyricswiki API does not return any lyrics anymore....

Nuka1195
2009-08-03, 16:30
[XBMC Lyrics]

-changed: version -> 1.7.1
-added: old lyricwiki scraper back due to license restrictions by the music industry.


thanks for the headsup, hopefully this will work until i can have a better look. you need to select it in settings.

djmattyg007
2009-08-05, 11:32
Not exactly sure what you're talking about, my scraper still works fine.

Nuka1195
2009-08-05, 16:29
[XBMC Lyrics]
-changed: version -> 1.7.2
-removed: old lyricwiki scraper
-fixed: lyricwikiapi scraper


dj

Unfortunately, due to licensing restrictions from some of the major music publishers we can no longer return lyrics through the LyricWiki API (where this application gets some or all of its lyrics).
The lyrics for this song can be found at the following URL:
http://lyricwiki.org/Bad_Company:Rock_N_Roll_Fantasy

(Please note: this is not the fault of the developer who created this application, but is a restriction imposed by the music publishers themselves.)

xbmcuser01
2009-08-09, 17:09
Due to licensing restrictions the lyricswiki API does not return any lyrics anymore....
Is there a workaround for this (yet)?