Changes to the skinning engine for Kodi Jarvis
#1
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.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#2
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
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
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/1ecf...5aacdaf7e9
pull request: 7183 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#4
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/a962...24d41a7fba
pull request: 7208 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
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/c0e5...772e22fe79
pull request: 7219 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#6
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/aa7d...14101ac31a
pull request: 7340 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
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/92c6...31e8f90001
pull request: 7359 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#8
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/17...b6637d3950
pull request: 7218 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#9
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/4480...e5cf676f01
pull request: 7358 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#10
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/2e23...2fd5840d0a
pull request: 7361 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#11
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/6e04...04f7fc3f3b
pull request: 7492 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#12
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/8ed5...5f7877e87e
pull request: 7206 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#13
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/2599...e2596bb786
pull request: 7357 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#14
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/6409...838460467a
pull request: 7454 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#15
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/6409...838460467a
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply



Logout Mark Read Team Forum Stats Members Help
Changes to the skinning engine for Kodi Jarvis6
This forum uses Lukasz Tkacz MyBB addons.