• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 7
Changes to the skinning engine for XBMC Frodo
#16
2012-05-05 New Infolabel

ListItem.DateAdded

Skins can now display the date a certain item was added to the library.

git commit: https://github.com/xbmc/xbmc/commit/cd2e...d23e7778d6
pull-request: 936 (PR)
trac ticket: http://trac.xbmc.org/ticket/12965
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#17
2012-06-01 Change of system.platform.osx behaviour

This changes the behaviour of the condition system.platform.osx.

Before it was true whenever it was one of ios or osx. Now its only true on osx anymore. For getting the old behaviour system.platform.darwin has to be used after this PR.

So basically we have:

system.platform.darwin - true on ios and osx
system.platform.osx - true on osx
system.platform.ios - true on ios

pull-request: 970 (PR)
git commit: https://github.com/xbmc/xbmc/commit/cb4a...5549b1b33c
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#18
2012-06-01 Changed Infolabels

Skin.CurrentTheme
Skin.CurrentColourTheme

both labels are not localized anymore.

git commit: https://github.com/xbmc/xbmc/commit/d895...5e8eeed5fe
pull-request: 990 (PR)
forum post: http://forum.xbmc.org/showthread.php?tid=131363
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#19
heh ronie is too quick for me I was just about to post this I actually think xbmc.gui is due for a version bump as well so setting your skin to the next version we make it "should" stop older xbmc from running versions that need this (not good for the eden repo obviously)

Also please not this will be case sensitive on everything but windows if you use it in the way the forum posts says so you will need to name your files or folders in uppercase like SKINDEFAULT because thats how it gets stored in guisettings.xml and is used internally
PHP Code:
<lookandfeel>
        <
enablerssfeeds>false</enablerssfeeds>
        <
font>Default</font>
        <
rssedit></rssedit>
        <
skin>skin.confluence</skin>
        <
skincolors>SKINDEFAULT.xml</skincolors>
        <
skintheme>SKINDEFAULT</skintheme>
        <
skinzoom>0</skinzoom>
        <
soundskin>SKINDEFAULT</soundskin>
        <
startupwindow>10000</startupwindow>
    </
lookandfeel
Reply
#20
Here's another one -

http://forum.xbmc.org/showthread.php?tid...pid1110513
Reply
#21
That one is in now.
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
Reply
#22
2012-06-02 Font.xml additions

Added support for uppercase / lowercase to be used in the <style> tag of Font.xml
Also allows more than one style to be set using a space separated list.

git commit: https://github.com/xbmc/xbmc/commit/0d2c...c8ef4bb9ee
pull-request: 966 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#23
2012-06-02 New Infolabel

ListItem.DBID

ListItem.DBID provides the database ID for the selected item in a list or thumb control.
Mostly useful for skin/script interaction.

git commit: https://github.com/xbmc/xbmc/commit/8e8e...79d22e977f
pull-request: 1017 (PR)
forum post: http://forum.xbmc.org/showthread.php?tid=131145
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#24
2012-08-06 New Infolabel

ListItem.PictureDate

ListItem.PictureDate shows the localized date of the selected picture.

git commit: https://github.com/xbmc/xbmc/commit/d9ce...75b38d1afe
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#25
2012-09-05 PVR support

new dialogs:
DialogExtendedProgressBar.xml
DialogPVRChannelManager.xml
DialogPVRChannelsOSD.xml
DialogPVRGroupManager.xml
DialogPVRGuideInfo.xml
DialogPVRGuideOSD.xml
DialogPVRGuideSearch.xml
DialogPVRRecordingInfo.xml
DialogPVRTimerSettings.xml

new window:
MyPVR.xml

new control:
EpgGrid

new built-in commands:
ActivateWindowAndFocus(id,id)
InhibitIdleShutdown
AllowIdleShutdown

new boolean conditions:
ListItem.HasEpg
ListItem.HasTimer
ListItem.IsRecording
ListItem.IsEncrypted
Pvr.HasTimer
Pvr.HasNonRecordingTimer
Pvr.HasEpg
Pvr.HasTxt
Pvr.HasDirector
Pvr.ActStreamIsEncrypted
Pvr.IsPlayingTv
Pvr.IsPlayingRadio
Pvr.IsRecording
Pvr.IsPlayingRecording
System.IsInhibit
System.HasShutdown
VideoPlayer.HasEpg

new infolabels:
ListItem.StartTime
ListItem.EndTime
ListItem.StartDate
ListItem.EndDate
ListItem.NextTitle
ListItem.NextGenre
ListItem.NextPlot
ListItem.NextPlotOutline
ListItem.NextStartTime
ListItem.NextEndTime
ListItem.NextStartDate
ListItem.NextEndDate
ListItem.ChannelName
ListItem.ChannelNumber
ListItem.ChannelGroup
ListItem.Progress
MusicPlayer.ChannelName
MusicPlayer.ChannelNumber
MusicPlayer.ChannelGroup
VideoPlayer.EndTime
VideoPlayer.NextTitle
VideoPlayer.NextGenre
VideoPlayer.NextPlot
VideoPlayer.NextPlotOutline
VideoPlayer.NextStartTime
VideoPlayer.NextEndTime
VideoPlayer.NextDuration
VideoPlayer.ChannelName
VideoPlayer.ChannelNumber
VideoPlayer.ChannelGroup
VideoPlayer.ParentalRating
Pvr.NowRecordingTitle
Pvr.NowRecordingDateTime
Pvr.NowRecordingChannel
Pvr.NowRecordingChannelIcon
Pvr.NextRecordingTitle
Pvr.NextRecordingDateTime
Pvr.NextRecordingChannel
Pvr.NextRecordingChannelIcon
Pvr.BackendName
Pvr.BackendVersion
Pvr.BackendHost
Pvr.BackendDiskSpace
Pvr.BackendChannels
Pvr.BackendTimers
Pvr.BackendRecordings
Pvr.BackendNumber
Pvr.TotalDiscSpace
Pvr.NextTimer
Pvr.Duration
Pvr.Time
Pvr.Progress
Pvr.ActStreamClient
Pvr.ActStreamDevice
Pvr.ActStreamStatus
Pvr.ActStreamSignal
Pvr.ActStreamSnr
Pvr.ActStreamBer
Pvr.ActStreamUnc
Pvr.ActStreamVideoBitRate
Pvr.ActStreamAudioBitRate
Pvr.ActStreamDolbyBitRate
Pvr.ActStreamProgrSignal
Pvr.ActStreamProgrSnr
Pvr.ActStreamEncryptionName

new control in SettingsSystemInfo.xml:
Button Control id="99"


git commit: https://github.com/xbmc/xbmc/commit/d9d3...dbb906eecb
pull request: 1357 (GH issue)
forum: http://forum.xbmc.org/forumdisplay.php?fid=136
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#26
ActivateWindow(id)AndFocus(id) - was this PVR related and how does it differ from defaultcontrol/onload?

Thanks.
Reply
#27
(2012-09-05, 08:19)Hitcher Wrote: ActivateWindow(id)AndFocus(id) - was this PVR related and how does it differ from defaultcontrol/onload?

yes it was part of the pvr merge.
looking at it again, i think the correct syntax is ActivateWindowAndFocus(id,id)

i have no info on how/why/when to use or what it's supposed to do.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#28
2012-09-08 New Infolabel

Skin.AspectRatio

Skin.AspectRatio returns the closest aspect ratio match using the resolution info from the skin's addon.xml file.


git commit: https://github.com/xbmc/xbmc/commit/96ce...62b275540d
pull-request: 1206 (GH issue)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#29
2012-09-08 New Image

DefaultInProgressShows.png

This commit adds a new 'In progress TV shows' node to the TV Show library.
DefaultInProgressShows.png will be used to represent this node in the gui.

git commit: https://github.com/xbmc/xbmc/commit/d691...743e2afb5a
pull-request: 1349 (GH issue)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#30
2012-09-08 Changes to windows .xml loading mechanism - added KEEP_IN_MEMORY load type

Now xbmc can store window structure after window is closed. This speeds up loading windows as xbmc no longer have to load .xml file and parse it if window structure is already stored. In addition to storing window structure xbmc will also store xml file (to speed up loading windows that aren't KEEP_IN_MEMORY and to avoid loading xml file in case any condition used in conditional includes changed its value). Load type of window is controlled by xbmc, not skin files, so skins don't need any changes.

You can check if window is using new mechanism by checking log, as we now log type of load window is using:
Code:
Load types:
KEEP_IN_MEMORY - This mean that after first load of xml, structure of window will be stored, so next load will be faster.
LOAD_EVERY_TIME - This mean that we do NOT keep window structure (old behaviour).
LOAD_ON_GUI_INIT - Some dialogs we load and keep in memory on xbmc startup (DialogBusy.xml, DialogKaiToast.xml, DialogMuteBug.xml, DialogSeekBar.xml, DialogVolumeBar.xml and newly added with pvr DialogExtendedProgressBar.xml). We did it earlier so this is nothing new.

Log lines examples:
Loading skin file: Home.xml, load type: KEEP_IN_MEMORY
Loading skin file: Startup.xml, load type: LOAD_EVERY_TIME
Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
Generally KEEP_IN_MEMORY is used in most of windows, except karaoke windows and newly added pvr windows (for full list of excluded windows see pull request description from link below).

Note: using ReloadSkin() will be needed when developing skin to force reload of xml file. If not used xbmc will use stored window structure or stored xml.

git commit: https://github.com/xbmc/xbmc/commit/2cc5...f881e3106d
pull-request: https://github.com/xbmc/xbmc/pull/1283
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 7

Logout Mark Read Team Forum Stats Members Help
Changes to the skinning engine for XBMC Frodo1