Changes to the skinning engine for XBMC Gotham

  Thread Rating:
  • 4 Votes - 4.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ronie Offline
Team-Kodi Member
Posts: 9,486
Joined: Jan 2009
Reputation: 167
Post: #1
Below you'll find an up-to-date list of all changes made to the skinning engine since the release of XBMC Frodo.


New control positioning method
Containers
  • option to get content from directories (details)
  • add support for auto-scrolling in containers (details)

DialogPVRChannelsOSD.xml
DialogProgress.xml
  • use a textbox instead of separate labels (details)

DialogSubtitles.xml
DialogOK.xml
  • use a textbox instead of separate labels (details)

DialogYesNo.xml
  • use a textbox instead of separate labels (details)

MyVideoNav.xml
SettingsCategory.xml
SettingsProfile.xml
SmartPlaylistEditor.xml
Context menu
  • 'update library' and 'now playing' removed (details)

Label control
  • add support for <width>auto</width> (details)
  • use addon.id instead of SCRIPTXXX (details)

Label parsing
  • add support for $NUMBER[] in labels (details)

Button & Edit control
Radiobutton control
  • add separate radio textures for focused/unfocused states (details)

Textbox control
EPGGrid control
Textures
New Infolabels
Changed infolabels
  • Add parameter support to Playlist.* infolabels (details)

Removed Infolabels
New info bools
New built-in functions
New window
xbmc.gui version bump
use of correct XML headers
  • All XML files should have correct headers to avoid parsing overhead. (details)

Add support for artwork in lists with directory content
Please keep this thread clean. It should be an easy overview for skinners who are updating their skin for Gotham.
For discussions / feature requests / bugreports, please find (or create) the appropriate thread in the skin development forum.

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2014-03-11 22:21 by ronie.)
find quote
ronie Offline
Team-Kodi Member
Posts: 9,486
Joined: Jan 2009
Reputation: 167
Post: #2
Changes to the skinning engine for XBMC Frodo

Changes to the skinning engine for XBMC Eden

Changes to the skinning engine for XBMC Dharma

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2013-03-10 03:22 by ronie.)
find quote
ronie Offline
Team-Kodi Member
Posts: 9,486
Joined: Jan 2009
Reputation: 167
Post: #3
2013-03-10 Navigation change in DialogPVRChannelsOSD.xml

You should now use PreviousChannelGroup and NextChannelGroup to switch between channel groups.

git commit: https://github.com/xbmc/xbmc/commit/80ef...a85e719055
pull request: https://github.com/xbmc/xbmc/issues/2246

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,289
Joined: Jun 2006
Reputation: 57
Location: Earth
Post: #4
(2013-03-10 03:27)ronie Wrote:  2013-03-10 Navigation change in DialogPVRChannelsOSD.xml

You should now use PreviousChannelGroup and NextChannelGroup to switch between channel groups.

git commit: https://github.com/xbmc/xbmc/commit/80ef...a85e719055
pull request: https://github.com/xbmc/xbmc/issues/2246
I would like to point out this is purely optional. The reason it was changed is because it was hard coded into the window C++ now it as it should be an option, if you don't want your channel groups switching when you go left and right and instead want to assign it to a button or not have it at all you can do that too.

I'd class this more as a warning that the default behavior has changed and if you want, here is how to get it back
find quote
phil65 Offline
Team-Kodi Member
Posts: 5,068
Joined: Mar 2009
Reputation: 73
Location: Cologne, Germany
Post: #5
Added ListItem.Votes and VideoPlayer.Votes

Pull Request: https://github.com/xbmc/xbmc/pull/2297
commit: https://github.com/phil65/xbmc/commit/c5...cd535edf6c
find quote
ronie Offline
Team-Kodi Member
Posts: 9,486
Joined: Jan 2009
Reputation: 167
Post: #6
2013-04-06 Change to auto width for labels

using <width>auto</width> is now also supported.
this means specifying 'max=xx' is now optional.

git commit: https://github.com/xbmc/xbmc/commit/996c...06c20e8d37
pull request: https://github.com/xbmc/xbmc/pull/2023
trac ticket: http://trac.xbmc.org/ticket/13887

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2013-04-06 13:32 by ronie.)
find quote
ronie Offline
Team-Kodi Member
Posts: 9,486
Joined: Jan 2009
Reputation: 167
Post: #7
2013-04-06 Always load Startup.xml

instead of ReplaceWindow(Home) skinners should now use
ReplaceWindow($INFO[System.StartupWindow]) in Startup.xml

this is to ensure XBMC will always process Startup.xml on start.
this didn't work previously if the user had selected a custom startup window in
settings > appearance > startup window

git commit: https://github.com/xbmc/xbmc/commit/d27d...0ee933f415
pull request: https://github.com/xbmc/xbmc/pull/2022
trac ticket: http://trac.xbmc.org/ticket/13445

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
phil65 Offline
Team-Kodi Member
Posts: 5,068
Joined: Mar 2009
Reputation: 73
Location: Cologne, Germany
Post: #8
2013-04-06 Added ReplaceWindowAndFocus() builtin

allows to use ReplaceWindowAndFocus in same way as ActivateWindowAndFocus()

git commit: https://github.com/xbmc/xbmc/commit/0366...1600ef1385
pull request: https://github.com/xbmc/xbmc/pull/2186
(This post was last modified: 2013-04-06 20:10 by phil65.)
find quote
ronie Offline
Team-Kodi Member
Posts: 9,486
Joined: Jan 2009
Reputation: 167
Post: #9
2013-04-08 New infolabels

new picture infolabels, available both as listitem.* as well as slideshow.*
  • listitem.picturedate
  • listitem.picturelongdatetime
  • listitem.picturelongdate
  • listitem.pictureauthor
  • listitem.picturebyline
  • listitem.picturebylinetitle
  • listitem.picturecategory
  • listitem.pictureccdwidth
  • listitem.picturecity
  • listitem.pictureurgency
  • listitem.picturecopyrightnotice
  • listitem.picturecountry
  • listitem.picturecountrycode
  • listitem.picturecredit
  • listitem.pictureiptcdate
  • listitem.picturedigitalzoom
  • listitem.pictureexposure
  • listitem.pictureexposurebias
  • listitem.pictureflashused
  • listitem.pictureheadline
  • listitem.picturecolour
  • listitem.picturelightsource
  • listitem.picturemeteringmode
  • listitem.pictureobjectname
  • listitem.pictureorientation
  • listitem.pictureprocess
  • listitem.picturereferenceservice
  • listitem.picturesource
  • listitem.picturespecialinstructions
  • listitem.picturestate
  • listitem.picturesupplementalcategories
  • listitem.picturetransmissionreference
  • listitem.picturewhitebalance
  • listitem.pictureimagetype
  • listitem.picturesublocation
  • listitem.pictureiptctime


git commit: https://github.com/xbmc/xbmc/commit/1e21...3285748c85
pull request: https://github.com/xbmc/xbmc/pull/2494
forum thread: http://forum.xbmc.org/showthread.php?tid=158723

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ronie Offline
Team-Kodi Member
Posts: 9,486
Joined: Jan 2009
Reputation: 167
Post: #10
2013-04-08 New infobool
  • Slideshow.IsVideo

can be used to detect if the picture slideshow is playing a video

git commit: https://github.com/xbmc/xbmc/commit/d18d...4a2b8d20a4
pull request: https://github.com/xbmc/xbmc/pull/2565

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2013-04-11 18:53 by ronie.)
find quote
ronie Offline
Team-Kodi Member
Posts: 9,486
Joined: Jan 2009
Reputation: 167
Post: #11
2013-04-08 Grouping support in SmartPlaylistEditor.xml

adds support for grouping in SmartPlaylistEditor.xml
  • spincontrolex id="23" (Group by)
  • radiobutton id="24" (Mixed)

git commit: https://github.com/xbmc/xbmc/commit/ec5c...33d7f145bf
pull request: https://github.com/xbmc/xbmc/pull/2182

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2013-04-11 19:14 by ronie.)
find quote
ronie Offline
Team-Kodi Member
Posts: 9,486
Joined: Jan 2009
Reputation: 167
Post: #12
2013-04-09 Auto login support in SettingsProfile.xml

adds autologin support to SettingsProfile.xml
  • button id="5" (autologin)

this also introduces a new infolabel:
  • system.profileautologin
returns the name of the profile set to autologin

git commit: https://github.com/xbmc/xbmc/commit/f9f4...c2f6b2a255
pull request: https://github.com/xbmc/xbmc/pull/2577
forum thread: http://forum.xbmc.org/showthread.php?tid=162069

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2013-04-11 19:14 by ronie.)
find quote
ronie Offline
Team-Kodi Member
Posts: 9,486
Joined: Jan 2009
Reputation: 167
Post: #13
2013-03-27 Codec info linebreaks in VideoFullScreen.xml

in some situations, the codec info lines displayed by XBMC were too long to fit on screen.
in order to address this, line breaks have been added to the codec lines represented by label controls 10 and 11.

you may have to update your skin for this.

for examples, see http://forum.xbmc.org/showthread.php?tid=162859

git commit: https://github.com/xbmc/xbmc/commit/16c7...4ff896c466
pull request: https://github.com/xbmc/xbmc/pull/2498

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2013-04-21 11:40 by ronie.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,221
Joined: Oct 2003
Reputation: 178
Post: #14
The change to the videodb:// and musicdb:// paths will have implications if you're using the old style paths (videodb://1/2 for example) to do string compares and the like.

They're now done using more useful videodb://movies/titles/ etc. See PR2182 for more.

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
(This post was last modified: 2013-04-21 07:05 by jmarshall.)
find quote
Sranshaft Offline
Posting Freak
Posts: 1,434
Joined: Dec 2008
Reputation: 25
Location: Melbourne, Australia
Post: #15
(2013-04-21 07:05)jmarshall Wrote:  The change to the videodb:// and musicdb:// paths will have implications if you're using the old style paths (videodb://1/2 for example) to do string compares and the like.

They're now done using more useful videodb://movies/titles/ etc. See PR2182 for more.

Cheers,
Jonathan

Does this apply to entering Movies and TV Show library via the Video menu? At the moment I have to use StringCompare(Container.FolderPath,videodb://1/) | StringCompare(Container.FolderPath,library://video/movies/) to check if the user is in the root Movie menu. The first StringCompare is if the user entered the Movie root via the home menu item and the second compare via Videos > Movies.
find quote
Post Reply