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

Pages: 1 2 3 4


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

2020-04-04 new infolabels

ListItem.BitRate
The bitrate of a song. Actual rate for CBR, average rate for VBR.

ListItem.SampleRate
The sample rate of a song / 1000.0 eg 44.1, 48, 96 etc.

ListItem.MusicChannels
The number of audio channels of a song.


pull-request: https://github.com/xbmc/xbmc/pull/17540
commit: https://github.com/xbmc/xbmc/commit/3a0274b10bceea3e5041168e5fa6f562bef1dff7


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

2020-04-16 xbmc.gui bump

xbmc.gui has been bumped to 5.15.0 for Kodi Matrix


pull-request: https://github.com/xbmc/xbmc/pull/17645
commit: https://github.com/xbmc/xbmc/commit/0fcbab8899d65860e6d5f50da028e7e5d5ecf1ef


RE: Changes to the skinning engine for Kodi Matrix - black_eagle - 2020-06-05

2020-06-04 new infolabel

ListItem.AlbumStatus

The Musicbrainz release status of the album (offical, bootleg, promotion etc).


Pull request: https://github.com/xbmc/xbmc/pull/17990
commit: https://github.com/xbmc/xbmc/commit/c057cacba2299f7029a6670efd4981e55053a482


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

2020-06-04 new infolabels

System.BuildVersionCode
the internal version of the kodi build

System.BuildVersionGit
the git version (sha) of the kodi build


Pull request: https://github.com/xbmc/xbmc/pull/17994
commit: https://github.com/xbmc/xbmc/commit/72e1f0668ce2baadcbd7faf96b02b011e9cb42be


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

2020-07-13 changed builtin function

PlayMedia(file, 1)
this now also works for music files. adding the '1' param will prevent kodi from switching to the fullscreen visualisation window.


Pull request: https://github.com/xbmc/xbmc/pull/18138
commit: https://github.com/xbmc/xbmc/commit/2e7a72442f4b5457618115c71a78cd461c4c4f5f


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

2020-07-17 new infobool

- ListItem.Property(Addon.IsFromOfficialRepo)

will return true if the addon is from an official repository.



pull-request: https://github.com/xbmc/xbmc/pull/18111
commit: https://github.com/xbmc/xbmc/commit/7b97a46f39897c62cc211b306e755e1ac43b925d


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

2020-07-28 new builtin function

- PlayerControl(Tempo(...))

in addition to TempoUp and TempoDown, you can now set the tempo value directly:
PlayerControl(Tempo(1.5))



pull-request: https://github.com/xbmc/xbmc/pull/18182
commit: https://github.com/xbmc/xbmc/commit/4cbcb6cb6da75c71348d4c2b4a9a1dfd2ffd4d8e


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

2020-07-31 changed infobools
  • String.StartsWith()
  • String.EndsWith()
  • String.Contains()

these bolean conditions can now also compare two infolabels.
i.e. String.Contains(ListItem.Label, Skin.String(foo))



pull-request: https://github.com/xbmc/xbmc/pull/18190
commit: https://github.com/xbmc/xbmc/commit/1eb2ba3dd6c3df82308af5de91b8f45d8f34490a


RE: Changes to the skinning engine for Kodi Matrix - DaveBlake - 2020-08-05

2020-08-05 Add button to GUIDialogSelect

A 3rd optional button id=8 added

pull-request: https://github.com/xbmc/xbmc/pull/18235


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

2020-07-28 new infobool and infolabel

- ListItem.Property(Addon.IsBinary)

will return true for binary addons

- ListItem.Property(Addon.OriginType)

edit: removed as it's a duplicate of ListItem.AddonOrigin https://github.com/xbmc/xbmc/pull/18266


pull-request: https://github.com/xbmc/xbmc/pull/18181
commit: https://github.com/xbmc/xbmc/commit/16393bf6cdfdbdb12b9e6a37758529555a95c752


RE: Changes to the skinning engine for Kodi Matrix - DaveBlake - 2020-08-19

2020-08-19 new infolabel

- ListItem.Property(Album_Duration)

will return album duration as a HH:MM:SS formatted string

Note: ListItem.Duration will also now be populated when content = "albums", previously in music only content = "songs" had a value.

pull-request: https://github.com/xbmc/xbmc/pull/18257
Commit: https://github.com/xbmc/xbmc/commit/167b9e2ad26561df838f13c5734eb0169654370a


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

2020-09-01 functional change

when a user switches to a different skin through Settings > Interface > Skin,
it will now load the new skin from Startup.xml (instead of staying on the settings window).

this will help skins that depend on Startup.xml to set up their skin, like
- running a script to populate the main menu
- setting window properties


pull-request: https://github.com/xbmc/xbmc/pull/18319
Commit: https://github.com/xbmc/xbmc/commit/4fec8426b69f61fd9a6376351a70cdbbf450a46a


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

2020-09-12 new infobools

ListItem.IsAutoUpdateable
returns True if this add-on can be updated automatically.
(ie. auto-update is enabled for this addon)

ListItem.Property(Addon.IsUpdate)
returns True if this add-on is a valid update of an installed outdated add-on.
(ie. this will return False if the addon was installed through the official Kodi addon repo, and a third-party repo provides a higher version
useful in the list of available addon updates in the addon browser)


Pull request: https://github.com/xbmc/xbmc/pull/18381
commit: https://github.com/xbmc/xbmc/commit/197d1c449329ea95b1d85fa050c47be20cbff78d


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

2020-09-13 new infolabels

besides 'marked as broken', addons can now also be 'marked as deprecated'.
to accompany for this change, the following new infolabels have been added:

ListItem.AddonLifecycleType
this returns a localized string, it can be one of the following:
  • 24169 - "Normal"
  • 24170 - "Deprecated"
  • 24171 - "Broken"

ListItem.AddonLifecycleDesc
this replaces the ListItem.AddonBroken infolabel (will still work for now, but it's going to be removed in the future)

Pull request: https://github.com/xbmc/xbmc/pull/18286
commit: https://github.com/xbmc/xbmc/commit/4eee20507b399fc72c59ae5081b19ba382eb2b32


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

2020-09-19 new infolabel + infobool

MusicPlayer.TotalDiscs
the number of discs associated with the album of the currently playing track.

MusicPlayer.IsMultiDisc
returns True if the track currently playing is from an album that has more than one disc.


pull-request: https://github.com/xbmc/xbmc/pull/18420
commit: https://github.com/xbmc/xbmc/commit/923c3549c8a4c5cc3e7224ac450a1d50586f94f1