Kodi Community Forum
Changes to the skinning engine for Kodi Jarvis - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Changes to the skinning engine for Kodi Jarvis (/showthread.php?tid=231270)

Pages: 1 2 3 4 5


Changes to the skinning engine for Kodi Jarvis - ronie - 2015-07-04

Below you'll find an up-to-date list of all changes made to the skinning engine since the release of Kodi Isengard.


xbmc.gui bump

new windows

removed windows

new tags

removed tags

new attributes

new icons

new infolabels

new infobools
changed infolabels

new built-in functions

changed built-in functions

button control

container controls

fadelabel control

grouplist control

radiobutton control

slider control

spincontrol

spincontrolex

textbox control
  • Container(id).HasNext / HasPrevious support (details)


togglebutton control

DialogAddonInfo.xml

DialogKaiToast.xml

DialogKeyboard.xml

DialogSongInfo.xml

DialogVideoInfo.xml

MyMusicNav.xml

includes
  • option to conditionally include files (details)


skin settings

variables

zorder

fonts

sounds

new addon type

Please keep this thread clean. It should be an easy overview for skinners who are updating their skin for Kodi Jarvis.
For discussions / feature requests / bugreports, please find (or create) the appropriate thread in the skin development forum.



RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-04

Changes to the skinning engine for Kodi Isengard

Changes to the skinning engine for Kodi Helix

Changes to the skinning engine for XBMC Gotham

Changes to the skinning engine for XBMC Frodo

Changes to the skinning engine for XBMC Eden

Changes to the skinning engine for XBMC Dharma



RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-04

2015-07-04 DialogKaiToast.xml - removed ID's

you can remove the following image controls:
  • 403
  • 404
  • 405

the appropriate icon will now be set by Kodi internally, using the image control with ID="400"

for this to work, your skin needs to have the following images:
  • DefaultIconInfo.png
  • DefaultIconWarning.png
  • DefaultIconError.png


git commit: https://github.com/xbmc/xbmc/commit/1ecf2e50598a7abdd2722c67797bb45aacdaf7e9
pull request: 7183 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-07

2015-07-05 Include conditions for files

skins can now conditionally include files, using the following syntax:
Code:
<include condition="StringCompare(Skin.AspectRatio,16:9)" file="ViewsAddonBrowser.xml" />
<include condition="StringCompare(Skin.AspectRatio,4:3)" file="ViewsAddonBrowser-4x3.xml" />
<include condition="System.Platform.Android" file="customAndroidSettings.xml" />


git commit: https://github.com/xbmc/xbmc/commit/a962441684064a65471f3800e7f14524d41a7fba
pull request: 7208 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-07

2015-07-06 Allow escaping of variables

similar to $ESCINFO[], we now have $ESCVAR[] to escape variables.


git commit: https://github.com/xbmc/xbmc/commit/c0e52679e5d8abcaaee5bb99793a84772e22fe79
pull request: 7219 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-13

2015-07-08 new infolabel - Container.SortOrder

$INFO[Container.SortOrder] will return the current sort direction of a container as a string (Ascending/Descending)


git commit: https://github.com/xbmc/xbmc/commit/aa7d90f8fc9e6b0bfd5728919a10e414101ac31a
pull request: 7340 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-13

2015-07-08 skin settings.xml

not a skinning engine change, but important enough to mention...

as of Kodi J* skin settings won't be saved in guisettings.xml anymore.
they are now saved, like we do for all addons, in their own settings.xml file under the addon_data folder.


git commit: https://github.com/xbmc/xbmc/commit/92c64e581557dd4cfc2760183ed9bb31e8f90001
pull request: 7359 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-13

2015-07-08 changed built-in action - Control.SetFocus()

Control.SetFocus(container,item) will now work for all container types.
it used to function only for list containers.


git commit: https://github.com/phil65/xbmc/commit/171dba408f3cbd86c6569b968dbd3eb6637d3950
pull request: 7218 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-13

2015-07-13 new infolabels - Container.Total(Un)Watched

two new infolabels that will return the total number of watched / unwatched items in a container:
  • Container.TotalWatched
  • Container.TotalUnwatched


git commit: https://github.com/xbmc/xbmc/commit/44807230b6734a0de0cde44fa8bf6ce5cf676f01
pull request: 7358 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-13

2015-07-13 image resource addons

a new addon type is now available to skinners: image resource addons.
the purpose of these addons is to offload some of the artwork included in skins to separate addons.
examples would be:
  • weather icons
  • weather fanart
  • studio logos
  • genre icons
  • ...

this also introduces a new default icon for the image resource addons category in the addon browser:
DefaultAddonImages.png



example:
most, if not all, skins will include a gazillion studio logos.
you can now remove these from your skin and depend on one of the available studio logo packs: in your addon.xml, simply add:
Code:
    <requires>
        <import addon="resource.images.studios.white" version="0.0.1"/>
    </requires>

then you can use the studio logos in your skin like this:
Code:
<texture>resource://resource.images.studios.white/$INFO[ListItem.Studio,,.png]</texture>


git commit: https://github.com/xbmc/xbmc/commit/2e23244366e2f03d76ec53dbade0532fd5840d0a
pull request: 7361 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-13

2015-07-13 zorder fixes

in the past we've had some issues with the layering of dialogs, especially when they where opened by addons.
it could happen that a newly opened dialog would be ordered underneath the others.
those issues should now belong to the past.

please remove any and all <zorder> definitions from your skin (unless they are really really needed)
as they are now likely to cause more gried then do good.

This is backported and also fixed in 15.x Isengard

should you still notice any issues, please report them on the PR.

git commit: https://github.com/xbmc/xbmc/commit/6e04fdf86d73c4f1fb1bf9e77b704e04f7fc3f3b
pull request: 7492 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-14

2015-07-14 new built-in function - Skin.ToggleDebug

up until now it was only possible to display skin debug info by modifying your addon.xml (debugging="true") and to restart kodi.
now it's possible to toggle the debug info on/off on-the-fly by using the Skin.ToggleDebug function.


git commit: https://github.com/xbmc/xbmc/commit/8ed51929699a5e541752dd595f44ce5f7877e87e
pull request: 7206 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-17

2015-07-16 button control - auto width

button controls now support auto width:
Code:
<width>auto</width>


git commit: https://github.com/xbmc/xbmc/commit/25990070b338e8b69050ccf8260e7ee2596bb786
pull request: 7357 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-17

2015-07-17 fadelabel - add scroll tag

you can now stop a fadelabel from scrolling by adding this tag:
Code:
<scroll>false</scroll>


git commit: https://github.com/xbmc/xbmc/commit/64090ec819862008c902bb9eb7c069838460467a
pull request: 7454 (PR)


RE: Changes to the skinning engine for Kodi J*** - ronie - 2015-07-17

2015-07-17 gui bump

you can bump the xbmc.gui dependency to 5.10.0 for Kodi J*


git commit: https://github.com/xbmc/xbmc/commit/64090ec819862008c902bb9eb7c069838460467a