Kodi Community Forum

Full Version: Changes to the skinning engine for Kodi Leia
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Below you'll find an up-to-date list of all changes made to the skinning engine since the release of Kodi Krypton.


addon.xml
new infolabels
changed infolabels
  • ListItem.Duration returns HH:MM:SS format (details)
  • Playlist.Random returns On/Off (details)
  • PVR.Time > PVR.EpgEventElapsedTime (details)
  • PVR.Duration > PVR.EpgEventDuration (details)
  • PVR.Progress > PVR.EpgEventProgress (details)
  • ListItem.Ratings() > ListItem.Rating() (details)

removed infolabels
updated infolabel
new infobools
changed infobools
  • implicit referencing of containers (details)
  • Player.CanRecord > PVR.CanRecordPlayingChannel (details)
  • Player.Recording > PVR.IsRecordingPlayingChannel (details)

removed infobools
new builtin action
changed builtin action
  • SetFocus() absolute attribute (details)
  • PlayerControl(Record) > PVR.ToggleRecordPlayingChannel (details)

values
  • hyphen no longer supported as a none value (details)

static listitems
custom containers
origin, camera & animation attributes
epggrid control
new windows
changed windows
  • DialogPVRGuideOSD.xml -> DialogPVRChannelGuide.xml (details)
  • PVROSDGuide -> PVRChannelGuide (details)

removed windows
new content type
new control types
DialogAddonInfo.xml
DialogAddonSettings.xml
DialogPVRGroupManager.xml
DialogTextViewer.xml
MyMusicPlaylistEditor.xml
MyPlaylist.xml
  • now requires <views> definition

MyPVRRecordings.xml
MyPVRGuide.xml
Font.xml
scaling improvements
  • % and r-suffixed vaues for position attributes (details)

new default icons
removed default icons
time formatting options
Please keep this thread clean. It should be an easy overview for skinners who are updating their skin for Kodi Krypton.
For discussions / feature requests / bug reports, please find (or create) the appropriate thread in the skin development forum.
2016-12-01 MyPVRGuide.xml

remove view id's:
- 11
- 12
- 13


pull-request: https://github.com/xbmc/xbmc/pull/10838
commit: https://github.com/xbmc/xbmc/commit/17ed...b9223bc7e9
2016-12-01 new/changed infobools

removed:
- System.HasModalDialog

added:
- System.HasActiveModalDialog
- System.HasVisibleModalDialog


pull-request: https://github.com/xbmc/xbmc/pull/10850
commit: https://github.com/xbmc/xbmc/commit/0b8c...7ba51e24cb
2016-12-01 games support

this introduces a new media window:
  • MyGames.xml (windowname=games id=10822)

a new settings category:
  • gamesettings

a new infobool:
  • Player.HasGame

and a new content type:
  • games


pull-request: https://github.com/xbmc/xbmc/pull/11022
commit: https://github.com/xbmc/xbmc/commit/7dcf...63ecf26dbf
2016-12-02 changed container infobools

it's now possible in all sections to reference a container without explicitly specifying the id.
kodi will use the id of the focused container if no id is specified in a container infobool.

eg.:
Container(5400).ListItem.Art(fanart) vs Container.ListItem.Art(fanart)


pull-request: https://github.com/xbmc/xbmc/pull/10883
commit: https://github.com/xbmc/xbmc/commit/6319...496e7ade58
2016-12-05 changed builtin action

the SetFocus() action now allows setting an optional 'absolute' argument.
setting this argument will focus the first listitem of a container, instead of the first visible listitem.
(eg. it will scroll up to the top of the list)

Code:
SetFocus(50,0,absolute)


pull-request: https://github.com/xbmc/xbmc/pull/11019
commit: https://github.com/xbmc/xbmc/commit/45a8...c5c686272e
2016-12-05 epggrid - orientation

you can now create an epg guide with a horizontal layout,
by using the <orientation> tag.

additionally, you can now define <rulerdatelayout > for epggrid containers:
see: https://github.com/ksooo/xbmc/commit/860...15c3f8a32e


pull-request: https://github.com/xbmc/xbmc/pull/10795
commit: https://github.com/xbmc/xbmc/commit/9b9d...9f6c94a1e5
2016-12-12 removed infobools

these old deprecated infobools have now been removed:
- StringCompare() (use String.IsEqual instead)
- SubString() (use String.Contains instead)
- IntegerGreaterThan() (use Integer.IsGreater instead)
- IsEmpty() (use String.IsEmpty instead)



pull-request: https://github.com/xbmc/xbmc/pull/11058
commit: https://github.com/xbmc/xbmc/commit/5415...1ace7f3f42
2016-12-17 changed infolabel

ListItem.Duration (for videos) will now return time in a HH:MM:SS format, instead of the duration in minutes

ListItem.Duration now also accepts time formatting strings (details)



pull-request: https://github.com/xbmc/xbmc/pull/11115
commit: https://github.com/xbmc/xbmc/commit/c21c...133d8ab22a
forum discussion: http://forum.kodi.tv/showthread.php?tid=301686
2016-12-22 changed infolabel

Playlist.Random will now return On/Off instead of Random/Off



pull-request: https://github.com/xbmc/xbmc/pull/11115
commit: https://github.com/xbmc/xbmc/commit/652e...6fb384f00f
2016-12-29 scaling improvements

Several attributes now allow % and r-suffixed values.

pull-request: https://github.com/xbmc/xbmc/pull/11233
2017-01-09 xbmc.gui bump

xbmc.gui has been bumped to 5.13.0

the Leia skinning repo is open for business now :-)



pull-request: https://github.com/xbmc/xbmc/pull/11306
commit: https://github.com/xbmc/xbmc/commit/687c...c7719fca68
2017-01-18 new infolabel
  • PVR.ChannelNumberInput

Instead of opening the numeric input dialog when pressing 0 - 9 while in PVR fullscreen or PVR music visualisation, now only the entered number appears on screen, like this works for almost all other tv sets and settop boxes.

Skins must be adjusted to use the new info label PVR.ChannelNumberInput. Otherwise the feature will also work, but nothing will be seen on the screen while entering the number.


pull-request: https://github.com/xbmc/xbmc/pull/11434
commit: https://github.com/xbmc/xbmc/commit/3288...2cd32718d4
2017-02-23 MyPVRRecordings.xml - watched toggle

you can add a button (id="10" / label=20367) to MyPVRRecordings.xml
this will allow users to switch between all/watched/unwatched recordings.


pull-request: https://github.com/xbmc/xbmc/pull/11704
commit: https://github.com/xbmc/xbmc/pull/11704/...dd7c66ec2e
Pages: 1 2 3 4