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
2020-04-04 new infolabels

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

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

The number of audio channels of a song.

pull-request: https://github.com/xbmc/xbmc/pull/17540
commit: https://github.com/xbmc/xbmc/commit/3a02...62bef1dff7
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/0fcb...e5d5ecf1ef
2020-06-04 new infolabel


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/c057...e55053a482
2020-06-04 new infolabels

the internal version of the kodi build

the git version (sha) of the kodi build

Pull request: https://github.com/xbmc/xbmc/pull/17994
commit: https://github.com/xbmc/xbmc/commit/72e1...11e9cb42be
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/2e7a...461c4c4f5f
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/7b97...1ac43b925d
2020-07-28 new builtin function

- PlayerControl(Tempo(...))

in addition to TempoUp and TempoDown, you can now set the tempo value directly:

pull-request: https://github.com/xbmc/xbmc/pull/18182
commit: https://github.com/xbmc/xbmc/commit/4cbc...fd2ffd4d8e
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/1eb2...5d8f34490a
2020-08-05 Add button to GUIDialogSelect

A 3rd optional button id=8 added

pull-request: https://github.com/xbmc/xbmc/pull/18235
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/1639...555a95c752
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/167b...169654370a
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/4fec...bbf450a46a
2020-09-12 new infobools

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

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/197d...e20cbff78d
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:

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

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/4eee...a382eb2b32
2020-09-19 new infolabel + infobool

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

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/923c...50586f94f1
Pages: 1 2 3 4