Kodi Community Forum

Full Version: Changes to the skinning engine for XBMC Gotham
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
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.
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: 2246 (GH issue)
(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: 2246 (GH issue)
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
Added ListItem.Votes and VideoPlayer.Votes

Pull Request: 2297 (PR)
commit: https://github.com/phil65/xbmc/commit/c5...cd535edf6c
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: 2023 (PR)
trac ticket: http://trac.xbmc.org/ticket/13887
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: 2022 (PR)
trac ticket: http://trac.xbmc.org/ticket/13445
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: 2186 (PR)
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: 2494 (PR)
forum thread: http://forum.xbmc.org/showthread.php?tid=158723
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: 2565 (PR)
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: 2182 (PR)
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: 2577 (PR)
forum thread: http://forum.xbmc.org/showthread.php?tid=162069
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: 2498 (PR)
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
(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.
Pages: 1 2 3 4 5