Kodi Community Forum
Changes to the skinning engine for Kodi Leia - 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 Leia (/showthread.php?tid=298565)

Pages: 1 2 3 4


Changes to the skinning engine for Kodi Leia - ronie - 2016-12-02

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.



RE: Changes to the skinning engine for Kodi L* - ronie - 2016-12-02

changes for older kodi versions can be found here:



RE: Changes to the skinning engine for Kodi L* - ronie - 2016-12-02

2016-12-01 MyPVRGuide.xml

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


pull-request: 10838 (PR)
commit: https://github.com/xbmc/xbmc/commit/17ed799a70ea8a794da8aac6662121b9223bc7e9


RE: Changes to the skinning engine for Kodi L* - ronie - 2016-12-02

2016-12-01 new/changed infobools

removed:
- System.HasModalDialog

added:
- System.HasActiveModalDialog
- System.HasVisibleModalDialog


pull-request: 10850 (PR)
commit: https://github.com/xbmc/xbmc/commit/0b8c8c446b22110de45f08e05559927ba51e24cb


RE: Changes to the skinning engine for Kodi L* - ronie - 2016-12-06

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: 11022 (PR)
commit: https://github.com/xbmc/xbmc/commit/7dcfacd118f41a4b2bd9c8e2368f0863ecf26dbf


RE: Changes to the skinning engine for Kodi L* - ronie - 2016-12-06

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: 10883 (PR)
commit: https://github.com/xbmc/xbmc/commit/6319edfa1d07f2214ad0a5073d6638496e7ade58


RE: Changes to the skinning engine for Kodi L* - ronie - 2016-12-06

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: 11019 (PR)
commit: https://github.com/xbmc/xbmc/commit/45a85bcb16446db5720f38968657b6c5c686272e


RE: Changes to the skinning engine for Kodi L* - ronie - 2016-12-06

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/860acc82599724b53a06fc6a2753a215c3f8a32e


pull-request: 10795 (PR)
commit: https://github.com/xbmc/xbmc/commit/9b9dfad82273676ba30be05bd731009f6c94a1e5


RE: Changes to the skinning engine for Kodi L* - ronie - 2016-12-13

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: 11058 (PR)
commit: https://github.com/xbmc/xbmc/commit/541576b03ea7a695b68cde557662991ace7f3f42


RE: Changes to the skinning engine for Kodi L* - ronie - 2016-12-23

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: 11115 (PR)
commit: https://github.com/xbmc/xbmc/commit/c21c7e7203396fc6df99117b626967133d8ab22a
forum discussion: 301686 (thread)


RE: Changes to the skinning engine for Kodi L* - ronie - 2016-12-23

2016-12-22 changed infolabel

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



pull-request: 11115 (PR)
commit: https://github.com/xbmc/xbmc/commit/652efd2b7b17fec36682f0257f53096fb384f00f


RE: Changes to the skinning engine for Kodi L* - phil65 - 2016-12-29

2016-12-29 scaling improvements

Several attributes now allow % and r-suffixed values.

pull-request: 11233 (PR)


RE: Changes to the skinning engine for Kodi Leia - ronie - 2017-01-09

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: 11306 (PR)
commit: https://github.com/xbmc/xbmc/commit/687cc7ec164d4058e31b23de8b263ac7719fca68


RE: Changes to the skinning engine for Kodi Leia - ronie - 2017-01-19

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: 11434 (PR)
commit: https://github.com/xbmc/xbmc/commit/328873447ae0d399305c9d326bc8d32cd32718d4


RE: Changes to the skinning engine for Kodi Leia - ronie - 2017-02-23

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: 11704 (PR)
commit: https://github.com/xbmc/xbmc/pull/11704/commits/2a4c3d360573a00eeb0293f8ac5424dd7c66ec2e


This forum uses Lukasz Tkacz MyBB addons.