PDA

View Full Version : XBMC Lyrics script skins


Nuka1195
2007-04-16, 02:55
I have moved XBMC Lyrics script to the new WindowXMLDialog() format.

This means changes to script skins are necessary and I am unable to change all skins. The default skin should be a good example of the changes needed. I moved Slate, Xbox-Classic, xTV and MC360 skins into a broken skins folder, so they are still in SVN.

Basically, control ID's are now important and have changed, so has the xml name and placement. They work just like XBMC skins now, where they go into a /PAL/ folder for example. You also need to keep all gfx with your XBMC skin. All <include> tags and defaults work automatically. You may include the xml file with your skin or I can still include it with the script, should work either way.

This change improves performance in loading and adds more abiilty for skinners to customize.

The xml names are:
script-XBMC_Lyrics-main.xml (main script gui)
script-XBMC_Lyrics-settings.xml (settings gui)

ID's for script-XBMC_Lyrics-main.xml are:
100 - lyrics textbox
101 - [optional] page control for textbox
110 - lyrics listcontrol (used for smooth scrolling)
120 - song list listcontrol
200 - scraper label

ID's for script-XBMC_Lyrics-settings.xml are:
20 - script title label
30 - script version label
201-220 - settings button
221-240 - matching value control for above settings button (201 = 221)
250 - ok button
251 - cancel button
252 - update button
253 - credits button (not used)

Look to the default skin for a good way to use grouplists of groups for settings. Only 5 settings right now are used 201-205 & 221-225.

You of course may add additional controls and animations.

if you have any questions let me know.

Also note Apple Movie Trailers will be moving to this format also, so be prepared :)

CHI3f
2007-04-16, 03:13
I am unable to change all skins.

But you love skinning

Nuka1195
2007-04-16, 03:19
:)

Jezz_X
2007-04-16, 06:31
Does it still have the ability to use seperate ones for 16x9 by putting them in a 16x9 dir ? if not it really needs it

Nuka1195
2007-04-16, 14:57
yes it does, same as XBMC.

So you may include them with your XBMC skin, or I can keep them with the script if I have a "minor" change, which I'm not expecting.

You should be able to add buttons to do different things using your <onclick> tags too.