Kodi Community Forum

Full Version: Changes to the skinning engine for Kodi Matrix
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
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/c320...f94f97525f
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/39de...7cf1551133
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/9d52...96a296f9c6
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/e4b9...12ad4b54ce
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/4d90...10f0aba1be
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/923c...79da126b85
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/f07d...38d91cc578
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/8e64...48858ff03f
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/eff6...a673e5ba1c
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/8047...e572488413
These are the current unique ID's used -
  • anidb
  • imdb
  • tmdb
  • trakt
  • tvdb
  • tvmaze
  • tvrage
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/3b35...b7736704fb
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/970b...d2eaf27599
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/c44055...#L208-L237)

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

pull-request: https://github.com/xbmc/xbmc/pull/17576
commit: https://github.com/xbmc/xbmc/commit/c440...f21bc7a7cc
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/80c5...a3d5d6cc8b
Pages: 1 2 3 4