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

Pages: 1 2 3 4


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2019-09-27

2019-09-27 new infobool / builtin action

- System.AddonIsEnabled(id)

will return true if the addon with the given addon-id is enabled on the users system.


- EnableAddon(id)

will enable the addon with the given addon-id.



pull-request: https://github.com/xbmc/xbmc/pull/13762
commit: https://github.com/xbmc/xbmc/commit/c320056fb8285a394e5a21ee56d5d9f94f97525f


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2019-09-27

2019-09-27 new dialog / builtin action

a new (optional) dialog has been added to the PVR section:
  • DialogPVRGuideControls.xml (PVRGuideControls)

this dialog can be used to more easily navigate inside the EPG Guide window.
(in case this dialog is not present in a skin, the new options will be available through a context menu)


a new builtin action has been added which can be used in this dialog:
  • EpgGridControl(command)

the following commands can be used in this action:
  • firstprogramme  (jump to the first programme)
  • currentprogramme  (jump to the current programme)
  • lastprogramme  (jump to the last programme)
  • selectdate  (jump to the selected date & time)
  • +XX  (jump XX hours forward)
  • -XX  (jump XX hours back)
  • firstchannel  (jump to the first channel)
  • playingchannel  (jump to the currently playing channel)
  • lastchannel  (jump to the last channel)
  • previousgroup  (switch the epg to the previous group)
  • nextgroup  (switch the epg to the next group)
  • selectgroup  (select a group)

pull-request: https://github.com/xbmc/xbmc/pull/16638
commit: https://github.com/xbmc/xbmc/commit/39def32fb1aaabfb4cff56903053ec7cf1551133


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2019-10-02

2019-10-02 new infobool

after some debate, the new ListItem.IsPremiere infobool has been renamed to:
- ListItem.IsNew


[PVR] will return true if the item is a premiere (for example, a Live TV show that will be first aired).

pull-request: https://github.com/xbmc/xbmc/pull/16697
commit: https://github.com/xbmc/xbmc/commit/9d52eab267cd41076a5ad85b11832d96a296f9c6


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2019-11-27

2019-11-27 new infobool

- System.SupportsCPUUsage

This will return True if the system provides CPU info.

pull-request: https://github.com/xbmc/xbmc/pull/16961
commit: https://github.com/xbmc/xbmc/commit/e4b94cbe2e284bfe09e8baebfe3a8612ad4b54ce


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2019-12-01

2019-11-26 new infolabels and infobools

support for multi-disc albums have been added to Kodi.
this change adds a few new labels and bools:

MusicPlayer.DiscTitle
The title of the disc currently playing.

ListItem.DiscTitle
The disc title of the currently selected album or song.

ListItem.TotalDiscs
The total number of discs belonging to an album.

ListItem.IsBoxset
Returns True if the item is part of a boxset album.

Library.HasContent(boxsets)
Returns True if there are albums in the library which are boxsets.



pull-request: https://github.com/xbmc/xbmc/pull/16915
commit: https://github.com/xbmc/xbmc/commit/4d9072515ff41e720188aa5dd1467010f0aba1be


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2019-12-09

2019-12-09 new infobool

- Library.HasNode()

This will return True if the specified node is available.

example:  <visible>Library.HasNode(library://video/movies/titles.xml)</visible>


pull-request: https://github.com/xbmc/xbmc/pull/16993
commit: https://github.com/xbmc/xbmc/commit/923cfade4614c906bd0d57ca02c88979da126b85


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2020-02-01

2020-01-26 changed infolabels

- ListItem.Art(thumb) / Player.Art(thumb)
these infolabels will no longer fallback to 'poster' or 'banner' when no 'thumb' is available.

- ListItem.Icon / Player.Icon
since 'icon' wil display the 'thumb' when available (and fallback to the DefaultIcon),
these infolabels are also affected by the changes above.


pull-request: https://github.com/xbmc/xbmc/pull/17127
commit: https://github.com/xbmc/xbmc/commit/f07d3473b7b90915e7966e5b01fd4138d91cc578


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2020-03-07

2020-02-28 Changed Infolabels

a small change has been made to the following infolabels, this change only applies to episodes that are specials

- ListItem.Season / Player.Season
will now return 0 instead of being empty for episodes that are specials

- ListItem.Episode / Player.Episode
will now return X instead of SX for episodes that are specials (eg. 1 instead of S1)


pull-request: https://github.com/xbmc/xbmc/pull/17408
commit: https://github.com/xbmc/xbmc/commit/8e641989e172a3039ceb86d2203f3d48858ff03f


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2020-03-11

2020-03-10 new infolabels


MusicPlayer.ReleaseDate
The release date of the song currently playing.

ListItem.ReleaseDate
The release date of the item.

MusicPlayer.OriginalDate
The original release date of the song currently playing.

ListItem.OriginalDate
The original release date of the item. Can be full or partial date.

MusicPlayer.BPM
The bpm of the track currently playing.

ListItem.BPM
The BPM of a song.



pull-request: https://github.com/xbmc/xbmc/pull/17437
commit: https://github.com/xbmc/xbmc/commit/eff6ca5eea1b9c1535f9e7d5017d10a673e5ba1c


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2020-03-17

2020-03-17 new infolabels

ListItem.UniqueID()
For use in the VideoInfo dialog

VideoPlayer.UniqueID()
For use during playback

it allows skinners to retrieve the unique ID from individual metadata providers:
ListItem.UniqueID(tmdb)
VideoPlayer.UniqueID(imdb)

pull-request: https://github.com/xbmc/xbmc/pull/17340
commit: https://github.com/xbmc/xbmc/commit/80475cb54e0991d4eafd1046b66ad4e572488413


RE: Changes to the skinning engine for Kodi Matrix - Hitcher - 2020-03-17

These are the current unique ID's used -
  • anidb
  • imdb
  • tmdb
  • trakt
  • tvdb
  • tvmaze
  • tvrage



RE: Changes to the skinning engine for Kodi Matrix - ronie - 2020-03-26

2020-03-16 Changed built-in commands

the use of an xbmc. prefix for built-in commands is no longer supported.


pull-request: https://github.com/xbmc/xbmc/pull/17457
commit: https://github.com/xbmc/xbmc/commit/3b35ad6bf46259c0b3dbd837deef23b7736704fb


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2020-03-26

2020-03-26 new infobools

for PVR, the following boolean conditions have been added:

ListItem.IsPremiere
returns true if the item is a premiere (for example, a Movie first showing or season first on Live TV).

ListItem.IsFinale
returns true if the item is a finale (for example, a season finale showing on Live TV).

ListItem.IsLive
returns true if the item is live (for example, a Live TV sports event).


pull-request: https://github.com/xbmc/xbmc/pull/17515
commit: https://github.com/xbmc/xbmc/commit/970b5fa8c51fecf527df4a9b78f11cd2eaf27599


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2020-04-03

2020-04-03 changed infolabels

many VideoPlayer info labels now support offset() and position(),
this allows you to display info for the next items in a playlist during playback.

(labels that are supported can be found here: https://github.com/xbmc/xbmc/blob/c4405521ac0f1f8efacda83d4b0b2cf21bc7a7cc/xbmc/guilib/guiinfo/GUIInfoLabels.h#L208-L237)

examples:
xml:
VideoPlayer.offset(1).Title
VideoPlayer.position(3).Year

pull-request: https://github.com/xbmc/xbmc/pull/17576
commit: https://github.com/xbmc/xbmc/commit/c4405521ac0f1f8efacda83d4b0b2cf21bc7a7cc


RE: Changes to the skinning engine for Kodi Matrix - ronie - 2020-04-04

2020-04-04 new infolabels

ListItem.TvShowDBID
returns the tvshow dbid at season and episode level.

VideoPlayer.TvShowDBID
returns the tvshow dbid during playback of an episode.


pull-request: https://github.com/xbmc/xbmc/pull/17583
commit: https://github.com/xbmc/xbmc/commit/80c5ff2267932343dcdcf9163418fea3d5d6cc8b