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


RE: Changes to the skinning engine for Kodi Leia - ronie - 2017-12-05

2017-12-01 renamed infolabels / builtin

these infolabels have been renamed:
  • Player.CanRecord > PVR.CanRecordPlayingChannel
  • Player.Recording > PVR.IsRecordingPlayingChannel

and this builtin command as well:
  • PlayerControl(Record) >PVR.ToggleRecordPlayingChannel


pull-request: https://github.com/xbmc/xbmc/pull/13114
commit: https://github.com/xbmc/xbmc/commit/a69b3ffcfb49f5209b602765155067b430bc1bdf


RE: Changes to the skinning engine for Kodi Leia - ronie - 2017-12-28

2017-12-28 new / renamed infolabels

these new infolabels have been added:
  • PVR.EpgEventRemainingTime (Returns the remaining time for currently playing epg event)
  • PVR.EpgEventFinishTime (Returns the time the currently playing epg event will end)

these infolabels have been renamed:
  • PVR.Time => PVR.EpgEventElapsedTime
  • PVR.Duration => PVR.EpgEventDuration
  • PVR.Progress => PVR.EpgEventProgress


pull-request: https://github.com/xbmc/xbmc/pull/13228
commit: https://github.com/xbmc/xbmc/commit/ffc89f649df30ffce8842debb689317da080a438


RE: Changes to the skinning engine for Kodi Leia - DaveBlake - 2018-01-20

2018-01-20 Music Artwork Changes - New Art Infolabel Parameters

These ListItem properties have been removed
  •  Listitem.Property(artistthumbs)
  • Listitem.Property(artistthumb)
Historically they were only availlable on the music info dialogs, and the same results can now be achieved using Listitem.Art(artist.thumb)

ListItem.Art() now works consistently on both the music library navigation window and music info dialogs.

Art for multiple song artists or album artists is now supported. A digit is added to the art type for the 2nd artist onwards e.g Listitem.Art(albumartist1.thumb) gives the thumb of the 2nd album artist of a song.

Example Parameters
When the content of the list is "songs" you get all types of song art (*), related album art (album.*), song artist art (artist.*, artist1.*,...) and album artist art (albumartist.*, albumartist1.*,...).
For example valid calls include:
song art - Listitem.Art(thumb), Listitem.Art(my_own_art_type) etc.
album art - Listitem.Art(album.thumb), Listitem.Art(album.backcover) etc.
song artist art (primary) - Listitem.Art(artist.thumb), Listitem.Art(artist.fanart) etc.
song artist art (subsequent artists) - Listitem.Art(artist1.thumb),... Listitem.Art(artist2.fanart) etc.
album artist art (primary) - Listitem.Art(albumartist.thumb), Listitem.Art(albumartist.fanart) etc.
song artist art (subsequent artists) - Listitem.Art(albumartist1.thumb),... Listitem.Art(albumartist2.thumb) etc.

When the content of the list is "albums" you get all types of album art (*), and album artist art (artist.*, artist1.*...).
For example valid calls include:
album art - Listitem.Art(thumb), Listitem.Art(backcover) etc.
album artist art (primary) - Listitem.Art(artist.thumb), Listitem.Art(artist.fanart) etc.
album artist art (subsequent artists) - Listitem.Art(artist1.thumb),... Listitem.Art(artist2.fanart) etc.

On the song, album and artist info dialogs the art for the items in control list 50 can also be accessed in a similar way. For example on the song info dialog control 50 lists "artists", so use Container(50).Listitem.Art(thumb) to get artist thumbs or Container(50).Listitem.Art(fanart) for fanart etc.

On the artist info dialog the control 50 list is of "albums", and so you can use Container(50).Listitem.Art(thumb) to get album covers, or say Container(50).Listitem.Art(artist.fanart) to get any (primary) album artist fanart if there is any.

pull-request: https://github.com/xbmc/xbmc/pull/13352
commit: https://github.com/xbmc/xbmc/commit/92ca60fabfb894dd742fb0e72f211e4101a5cb0d


RE: Changes to the skinning engine for Kodi Leia - ronie - 2018-02-19

2018-02-19 new dialog - osdsubtitlesettings

osd subtitle settings was previously part of a combined audio and subtitle settings dialog,
but those settings have now been moved to a new dialog: osdsubtitlesettings (id=10159 / file=DialogSettings.xml)

a few additional options have been added to this dialog (for instance 'download'), so hopefully skins don't need a custom subtitles dialog anymore.


https://github.com/xbmc/xbmc/pull/13525
https://github.com/xbmc/xbmc/commit/313d88b0a820e13c8453603aa22ca139ea0bc261


RE: Changes to the skinning engine for Kodi Leia - ronie - 2018-02-27

2017-11-25 DialogTextViewer.xml - monofont option

skins can now define a monospace fonttype in the textbox control inside the textviewer dialog:
xml:
<control type="textbox" id="5">
<left>1%</left>
<top>85</top>
<width>82%</width>
<height>647</height>
<shadowcolor>black</shadowcolor>
<pagecontrol>3000</pagecontrol>
<font>font14</font>
<monofont>mono30</monofont>
</control>

users can toggle between the regualr font and the monospace font using the 'togglefont' action.

https://github.com/xbmc/xbmc/pull/13092
https://github.com/xbmc/xbmc/commit/cc5a28f17c3174852fe81a5a6b8d4c3024710b45

https://github.com/xbmc/xbmc/pull/13097
https://github.com/xbmc/xbmc/commit/ce256f17631f8851b9dd02f66953444a2a942c51


RE: Changes to the skinning engine for Kodi Leia - ronie - 2018-02-28

2018-01-28 changed infolabel

to be consistent, ListItem.Ratings() has been renamed to ListItem.Rating()


https://github.com/xbmc/xbmc/pull/13429
https://github.com/xbmc/xbmc/commit/79a8a77589a86c89778c40f02fdc9aa27e5f3c5a


RE: Changes to the skinning engine for Kodi Leia - jurialmunkey - 2018-03-23

2018-03-16 time formatting options

The following info labels now support time formatting options:
ListItem.Duration PVR.EpgEventDuration, PVREpgEvent(Elapsed|Remaining|Finish|Seek)Time, PVR.Timeshift(Start|Cur|End|Offset)

All labels using time format strings now support the new format 'secs' 'mins' 'hours'
e.g. ListItem.Duration(mins)
e.g. for a 145 min movie: hh:mm:ss=02:25:00, hh=02, mm=25, ss=00, hours=2, mins=145, secs=8700

https://github.com/xbmc/xbmc/pull/13651
https://github.com/xbmc/xbmc/commit/dd9a37417a4ec4770f0d14aad67a9a14f99d8236


RE: Changes to the skinning engine for Kodi Leia - jurialmunkey - 2018-05-03

2018-01-16 MyPVRGuide.xml - channel group selection list


You can now add a list control with id="11" to MyPVRGuide.xml
This container will allow the user to select the channel group from a list.


pull-request: https://github.com/xbmc/xbmc/pull/13364
commit: https://github.com/xbmc/xbmc/pull/13364/commits/89ea0b5a080cdfddbdc78b52c95b40b02ac58df5


[split] [split] Changes to the skinning engine for Kodi Leia - scott967 - 2018-05-23

From PR#13899

New Bool:

Player.HasResolutions

New Action:

PlayerResolutionSelect

System string #39110 "Select Resolution"

scott s.
.


RE: Changes to the skinning engine for Kodi Leia - DaveBlake - 2018-06-29

2018-06-28 New DefaultMusicSources icon

https://github.com/xbmc/xbmc/pull/14126

Thanks for this @ronie, I had it in mind with the addition of filtering by music source in https://github.com/xbmc/xbmc/pull/14012 until it fell out!


RE: Changes to the skinning engine for Kodi Leia - scott967 - 2018-07-30

New InfoBool:  Player.FrameAdvance

Returns true if player is in frame advance mode.  Skins should hide seek bar in this mode.

per the PR 14230

scott s.
.


RE: Changes to the skinning engine for Kodi Leia - ronie - 2018-08-26

2018-08-26 new infolabels

new infolabels, related to timeshift, have been added:

PVR.TimeshiftProgressDuration
Returns the duration of the PVR timeshift progress in the format hh:mm:ss. hh: will be omitted if hours value is zero.

PVR.TimeshiftProgressDuration(format)
Returns the duration of the PVR timeshift progress in different formats:
Hours (hh), minutes (mm) or seconds (ss). Also supported: (hh:mm), (mm:ss), (hh:mm:ss), (h:mm:ss), (secs), (mins), (hours) for total time values and (m).

PVR.TimeshiftProgressStartTime
Returns the start time of the PVR timeshift progress in the format hh:mm:ss. hh: will be omitted if hours value is zero.

PVR.TimeshiftProgressStartTime(format)
Returns the start time of the PVR timeshift progress in different formats:
Hours (hh), minutes (mm) or seconds (ss). Also supported: (hh:mm), (mm:ss), (hh:mm:ss), (h:mm:ss), (secs), (mins), (hours) for total time values and (m).

PVR.TimeshiftProgressEndTime
Returns the end time of the PVR timeshift progress in the format hh:mm:ss. hh: will be omitted if hours value is zero.

PVR.TimeshiftProgressEndTime(format)
Returns the end time of the PVR timeshift progress in different formats:
Hours (hh), minutes (mm) or seconds (ss). Also supported: (hh:mm), (mm:ss), (hh:mm:ss), (h:mm:ss), (secs), (mins), (hours) for total time values and (m).

PVR.TimeshiftProgressPlayPos
Returns the percentage of the current play position within the PVR timeshift progress.

PVR.TimeshiftProgressEpgStart
Returns the percentage of the start of the currently playing epg event within the PVR timeshift progress.

PVR.TimeshiftProgressEpgEnd
Returns the percentage of the end of the currently playing epg event within the PVR timeshift progress.

PVR.TimeshiftProgressBufferStart
Returns the percentage of the start of the timeshift buffer within the PVR timeshift progress.

PVR.TimeshiftProgressBufferEnd
Returns the percentage of the end of the timeshift buffer within the PVR timeshift progress.



pull-request: https://github.com/xbmc/xbmc/pull/14316
commit: https://github.com/xbmc/xbmc/commit/f99b6520a75965363efbe70113bd4d15c5dda8db


RE: Changes to the skinning engine for Kodi Leia - ronie - 2018-08-28

2018-08-28 new infolabel

a new infolabel has been added:

ListItem.EpgEventIcon
Returns the icon of the EPG programme (if available).




pull-request: https://github.com/xbmc/xbmc/pull/14361
commit: https://github.com/xbmc/xbmc/commit/702c2eb4e956263c010f216a714cbbe1f7a89b66


RE: Changes to the skinning engine for Kodi Leia - sualfred - 2018-09-01

@ronie 
Now we have it Wink 
Because it wasn't mentioned yet and before it will be forgotten:

2018-08-29 new infolabel

New info label

PVR.EpgEventIcon
Returns the icon of the currently playing EPG programme (if available).

pull-request: https://github.com/xbmc/xbmc/pull/14372
commit: https://github.com/xbmc/xbmc/pull/14372/commits/bc65eaadf91997eba530d036faa8273534b768b7


RE: Changes to the skinning engine for Kodi Leia - ronie - 2018-09-14

2018-09-13 new infolabel

a new infolabel has been added:

Player.Icon
Returns the thumbnail of the currently playing item. If no thumbnail image exists, the icon will be returned, if available.




pull-request: https://github.com/xbmc/xbmc/pull/14423
commit: https://github.com/xbmc/xbmc/commit/fe7a983afdfee6b6df4c945bdc0484b8b16d2eb0