XBMC Community Forum
[RELEASE] xbmclyrics script - automatically grabs lyrics online - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Lyrics Add-ons (/forumdisplay.php?fid=146)
+---- Thread: [RELEASE] xbmclyrics script - automatically grabs lyrics online (/showthread.php?tid=10187)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


- 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
Code:
Pamiętać, zapomnieć - śmiać się czy grać
and this i see in xbmc
Code:
Pamiętać, zapomnieć - śmiać się czy grać



- Nuka1195 - 2007-02-19 22:26

First it's your script Smile

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

Smile yes Smile
:)script is perfectly workingSmile


- Nuka1195 - 2007-02-20 08:19

Great, thank cptspiff when you see him Smile


- 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:

Code:
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: [url]http://forum.xbmc.org/showthread.php?tid=10187[/url]



- EnderW - 2007-02-21 20:02

You may remove SveinT as I and him (or me? Tongue) are the same person. It's no wonder people get confused, but now you know at least Smile

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


- Nuka1195 - 2007-02-22 01:59

aha, i just asked killarny if that was you. Smile


- 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 Smile


- matthuisman - 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

[Image: 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.