2007-04-16, 01: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
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