ATTENTION! Changes for skin compatibility post XBMC DHARMA
1) They Moved
The big one skins are no longer stored in the seperate "skins" dir they are now considered as Addons by XBMC and are located in your userdata "addons" folder.
For Sanity and easy location we would like you to name your skins folder skin.(skinname) eg: "skin.confluence" this isn't actually needed but its good practice all the stuff xbmc needs is in addon.xml

2) Changes to skin.xml
This file is actually deleted and not used anymore in its replacement is addon.xml Its pretty similar to skin.xml but with a few extra bit needed for addons.
<?xml version="1.0" encoding="UTF-8"?>
  provider-name="Jezz_X, Team XBMC">
    <import addon="xbmc.gui" version="2.11"/>
  <extension point=""
  <extension point="xbmc.addon.metadata">
    <summary>Confluence skin by Jezz_X. (XBMC's default skin)</summary>
    <summary lang="nl">Confluence skin door Jezz_X</summary>
    <summary lang="zh">Jezz_X开发的Confluence皮肤</summary>
    <description>Confluence is the default skin for XBMC 9.11 and above. It is a combination of concepts from many popular skins, and attempts to embrace and integrate their good ideas into a skin that should be easy for first time XBMC users to understand and use.</description>
    <description lang="nl">Confluence is de standaard skin voor XBMC 9.11 en hoger. Het combineert de concepten van andere populaire skins, waarbij het tracht hun goede ideëen te integreren in een skin die gemakkelijk in gebruik is.</description>
    <description lang="zh">在XBMC 9.11之后的版本中Confluence是默认皮肤。它集合了许多流行皮肤的创意,力求把这些优点融合到一个皮肤中,使得首次使用XBMC的用户能更容易上手。</description>
    <disclaimer>Confluence is the default skin for XBMC, removing it may cause issues</disclaimer>
    <disclaimer lang="nl">Confluence is de standaard XBMC skin, het verwijderen van Confluence kan leiden tot problemen.</disclaimer>
    <disclaimer lang="zh">Confluence是XBMC的默认皮肤,删除它可能导致故障。</disclaimer>
Its all pretty self explanitory if you allready make stuff for xbmc but here is a basic run down
id = This has to be a unique id that is used for your skin in the addon manager internally. In this case for simplicity and sanity its the same as the folder name.
version Is used by the update manager so it can tell if the skin has changed version and tell people there is an update possible keep this in the 0.0.0 format (MajorVersion.MinorVersion.Other)
name Is the Title displayed though XBMC for your skin it can have spaces and pretty much any valid character in it
<requires> this is needed so xbmc knows what it needs the only real thing to change here is the internal xbmc skinning engine compatibility version number of your skin
<extension point="" the stuff included in here is pretty much what was included in the old skin.xml
<extension point="xbmc.addon.metadata"> This is all the fluff (meta data) that XBMC will display when people see your skin in the addon manager

3) skin XML file changes

New Files Added:
AddonBrowser.xml This is the main Browser window for installing and removing addons Its pretty much like other media windows (video, music) example here
DialogAddonInfo.xml Is an information dialog for the addons that lets you view the meta data for addons and enable, disable, update, and check the change log example :
DialogAddonSettings.xml This window is a renamed DialogPluginSettings.xml with a few extra id's to allow groups of settings new controls are 8 for a default slider control for the window, 9 for a grouplist for the catagory buttons, 13 the default button template for catagorys (works like SettingsCatagory.xml) example:
DialogTextViewer.xml pretty much a renamed DialogScriptInfo.xml and is basically a big textbox and header used for viewing stuff like change logs of addons

Old Files removed:
DialogPluginSettings.xml replaced by DialogAddonSettings.xml
DialogScriptInfo.xml replaced by DialogTextViewer.xml
MusicOSDVisSettings.xml replaced by DialogAddonSettings.xml
MyScripts.xml has been merged into the MyPrograms addons
DefaultScript.png not needed since they all use DefaultAddon.png if they have no icon of their own

Current Files with Changes:
DialogSelect.xml Has had a new container added with an id="6" This is used for selecting the new addons in parts of the skin and contains a little extra meta data than the old dialogselect view. You now get ListItem.(icon, label, label2) where Icon = addons icon, Label = addons name, label2 = addon summary
MusicOSD.xml <control type="selectbutton" id="503"> is no longer needed and has been replaced by DialogSelect to select vizualizations

4) New Command to use
Skin.SetAddon(setting_title,addon_extention_point) This is used Instead of Skin.SetFile() to set links to addons like scripts example "Skin.SetAddon(VideoScript_Path,xbmc.python.script)" will open up DialogSelect.xml with a list of all addons with the script extention point and set it into the "VideoScript_Path" skin string

Addon.Default.OpenSettings(xbmc.player.musicviz) this is used to replace the old "<onclick>ActivateWindow(121)</onclick>" or "<onclick>ActivateWindow(VisualisatioSettings)</onclick>" commands from MusicOSD.xml file to open up the Settings for Visualizations

5) changelog.txt (not needed but desired)
This is basically a text file to place in the root of your skins dir (next to addon.xml) that will be read and shown when users click the button in Addon Information. Its probably best to keep this in nice plain text easy for end users to understand and doesn't really need to contain every detail of changes you have made

6) Extra Images (not needed but desired)
You can now add these image in your skins root folder (next to addon.xml)
icon.png is the thumbnail that will show for your skin in all things addon related (try not to make it huge because it will effect where it is hosted 512x512 is plenty big)
fanart.jpg Is a fanart image for your skin (don't feel you "need" to have one because heaps of 1080p will slow down repo browsing as it downloads them for every single addon)

7) Extra Icons
DefaultAddon.png Default icon used for addons before their proper icon has downloaded
DefaultAddonNone.png Icon used for the "None" value when selecting addons in DialogSelect.xml (eg: picking a screensaver)

8) Player.SeekOffset
New string added. Can be used to indicate the seek offset after a seek press (eg user presses BigStepForward, player.seekoffset returns +10:00, user presses StepBackward, player.seekoffset returns -0:30)

9) Scripts window can be removed
Replace with Programs window, linked via ActivateWindow(Programs,Addons,return). Note that Addons works as a quick path in all windows that can have addons (music,videos,pictures,programs) and the return parameter works everywhere now.
Thread Rating:
  • 0 Vote(s) - 0 Average

Messages In This Thread
ATTENTION! Changes for skin compatibility post XBMC DHARMA - by Jezz_X - 2010-05-30, 10:35
[No subject] - by jmarshall - 2010-05-30, 10:42
[No subject] - by Hitcher - 2010-05-30, 11:09
[No subject] - by Waffa - 2010-05-30, 11:10
[No subject] - by Jezz_X - 2010-05-30, 11:14
[No subject] - by Arnaud - 2010-05-30, 11:27
[No subject] - by Hitcher - 2010-05-30, 11:27
[No subject] - by Jezz_X - 2010-05-30, 11:31
[No subject] - by Waffa - 2010-05-30, 11:33
[No subject] - by Jezz_X - 2010-05-30, 11:53
[No subject] - by Waffa - 2010-05-30, 11:59
[No subject] - by Hitcher - 2010-05-30, 12:03
[No subject] - by Waffa - 2010-05-30, 12:07
[No subject] - by Jezz_X - 2010-05-30, 12:22
[No subject] - by Jezz_X - 2010-05-30, 12:27
[No subject] - by Hitcher - 2010-05-30, 17:22
[No subject] - by ronie - 2010-05-30, 17:44
[No subject] - by Hitcher - 2010-05-30, 17:54
[No subject] - by Waffa - 2010-05-30, 18:50
[No subject] - by Jezz_X - 2010-05-30, 20:40
[No subject] - by Waffa - 2010-05-30, 20:59
[No subject] - by Hitcher - 2010-05-30, 23:02
[No subject] - by `Black - 2010-05-31, 00:00
[No subject] - by jmarshall - 2010-05-31, 02:37
[No subject] - by Jezz_X - 2010-05-31, 04:03
[No subject] - by jmarshall - 2010-05-31, 04:25
[No subject] - by Jezz_X - 2010-05-31, 04:40
[No subject] - by mcborzu - 2010-05-31, 06:04
[No subject] - by Jezz_X - 2010-05-31, 06:04
[No subject] - by Rad_ - 2010-05-31, 09:34
[No subject] - by Jezz_X - 2010-05-31, 10:57
[No subject] - by spiff - 2010-05-31, 11:32
[No subject] - by Jezz_X - 2010-05-31, 11:49
[No subject] - by Hitcher - 2010-05-31, 12:00
[No subject] - by spiff - 2010-05-31, 12:03
[No subject] - by Hitcher - 2010-05-31, 12:13
[No subject] - by spiff - 2010-05-31, 12:17
[No subject] - by jmarshall - 2010-06-01, 04:26
[No subject] - by Hitcher - 2010-06-01, 07:34
[No subject] - by Jezz_X - 2010-06-10, 01:29
[No subject] - by mcborzu - 2010-06-11, 02:28
[No subject] - by Jezz_X - 2010-06-11, 03:09
[No subject] - by jmarshall - 2010-06-20, 08:04
[No subject] - by jmarshall - 2010-06-22, 11:10
[No subject] - by Hitcher - 2010-06-26, 16:36
[No subject] - by Waffa - 2010-06-26, 16:41
[No subject] - by Hitcher - 2010-06-26, 17:10
[No subject] - by Jezz_X - 2010-06-26, 21:00
[No subject] - by jmarshall - 2010-06-27, 06:00
[No subject] - by Hitcher - 2010-06-27, 10:48
[No subject] - by jmarshall - 2010-06-27, 11:05
[No subject] - by Hitcher - 2010-06-27, 11:15
[No subject] - by Jezz_X - 2010-07-21, 23:03
[No subject] - by Hitcher - 2010-07-21, 23:03
[No subject] - by snowdrift - 2010-07-21, 23:09
[No subject] - by sialivi - 2012-01-06, 09:43
[No subject] - by Hitcher - 2012-01-06, 17:22
[No subject] - by sialivi - 2012-01-06, 19:58

Logout Mark Read Team Forum Stats Members Help
ATTENTION! Changes for skin compatibility post XBMC DHARMA00