2014-09-28 20:47:53 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<window id="0">
|
|
|
|
<defaultcontrol always="true">9000</defaultcontrol>
|
2015-11-03 21:21:27 +01:00
|
|
|
|
2015-03-27 21:31:13 +01:00
|
|
|
<onload condition="Skin.hassetting(stopVideoOnMenu) + !Player.HasAudio">PlayerControl(stop)</onload>
|
|
|
|
<onload>Skin.Reset(keepMusicMenuActive)</onload>
|
|
|
|
<animation effect="fade" start="100" end="0" time="250">WindowClose</animation>
|
|
|
|
<animation effect="fade" start="0" end="100" time="500" reversible="true">WindowOpen</animation>
|
2014-09-28 20:47:53 +02:00
|
|
|
<controls>
|
2015-03-27 21:31:13 +01:00
|
|
|
<include>globalBackground</include>
|
2015-04-27 22:30:43 +02:00
|
|
|
<include>homeBackground</include>
|
2014-09-28 20:47:53 +02:00
|
|
|
<!--browse controls-->
|
|
|
|
<control type="group">
|
2015-07-09 21:58:54 +02:00
|
|
|
<animation type="windowopen">
|
|
|
|
<effect type="fade" start="0" end="100" delay="500" time="300"/>
|
|
|
|
<effect type="slide" start="-200" end="0" tween="sine" easing="out" delay="500" time="400"/>
|
|
|
|
</animation>
|
|
|
|
<animation type="windowclose">
|
|
|
|
<effect type="fade" start="100" end="0" time="300"/>
|
|
|
|
<effect type="slide" start="0" end="-200" tween="sine" easing="out" time="400"/>
|
|
|
|
</animation>
|
|
|
|
|
2015-05-05 21:53:00 +02:00
|
|
|
<posx>0</posx>
|
2015-07-09 21:58:54 +02:00
|
|
|
<posy>0</posy>
|
|
|
|
<control type="image">
|
2014-09-28 20:47:53 +02:00
|
|
|
<posx>0</posx>
|
|
|
|
<posy>0</posy>
|
2015-07-09 21:58:54 +02:00
|
|
|
<width>col-5-begin</width>
|
2015-03-27 21:31:13 +01:00
|
|
|
<height>fullscreenHeight</height>
|
2015-07-09 21:58:54 +02:00
|
|
|
<texture>colors/white.png</texture>
|
|
|
|
<colordiffuse>highlight</colordiffuse>
|
|
|
|
<aspectratio>stretch</aspectratio>
|
|
|
|
</control>
|
2015-07-09 22:18:48 +02:00
|
|
|
<control type="image">
|
|
|
|
<posx>col-5-begin</posx>
|
|
|
|
<posy>0</posy>
|
|
|
|
<width>3</width>
|
|
|
|
<height>fullscreenHeight</height>
|
|
|
|
<texture>colors/black.png</texture>
|
|
|
|
<colordiffuse>33ffffff</colordiffuse>
|
|
|
|
<aspectratio>stretch</aspectratio>
|
|
|
|
</control>
|
2015-07-09 21:58:54 +02:00
|
|
|
<!--logo-->
|
|
|
|
<control type="image">
|
|
|
|
<posx>col-1-begin</posx>
|
|
|
|
<posy>row-1-begin</posy>
|
|
|
|
<width>1-col</width>
|
|
|
|
<height>1-col</height>
|
|
|
|
<texture>kodilogo.png</texture>
|
|
|
|
<colordiffuse>textActive</colordiffuse>
|
|
|
|
<aspectratio>stretch</aspectratio>
|
|
|
|
</control>
|
|
|
|
<control type="list" id="9000">
|
|
|
|
<posx>0</posx>
|
|
|
|
<posy>row-4-begin</posy>
|
|
|
|
<width>col-5-begin</width>
|
|
|
|
<height>24-row</height>
|
2015-03-27 21:31:13 +01:00
|
|
|
<orientation>vertical</orientation>
|
2015-07-09 21:58:54 +02:00
|
|
|
<itemlayout width="col-7-begin" height="2-row">
|
2014-09-28 20:47:53 +02:00
|
|
|
<control type="label">
|
2015-07-09 21:58:54 +02:00
|
|
|
<posx>col-1-begin</posx>
|
2015-03-27 21:31:13 +01:00
|
|
|
<posy>0</posy>
|
2015-07-09 21:58:54 +02:00
|
|
|
<width>7-col</width>
|
|
|
|
<height>2-row</height>
|
|
|
|
<font>menuTitle</font>
|
2015-03-27 21:31:13 +01:00
|
|
|
<aligny>center</aligny>
|
|
|
|
<textcolor>textActive</textcolor>
|
2014-09-28 20:47:53 +02:00
|
|
|
<shadowcolor>-</shadowcolor>
|
2015-07-09 21:58:54 +02:00
|
|
|
<label>$INFO[ListItem.label]</label>
|
2014-09-28 20:47:53 +02:00
|
|
|
</control>
|
|
|
|
</itemlayout>
|
2015-07-09 21:58:54 +02:00
|
|
|
<focusedlayout width="col-7-begin" height="2-row">
|
|
|
|
<control type="image">
|
|
|
|
<posx>0</posx>
|
|
|
|
<posy>0</posy>
|
|
|
|
<width>col-7-begin</width>
|
|
|
|
<height>2-row</height>
|
|
|
|
<texture>colors/white.png</texture>
|
|
|
|
<colordiffuse>textActive</colordiffuse>
|
|
|
|
<aspectratio>stretch</aspectratio>
|
2014-09-28 20:47:53 +02:00
|
|
|
</control>
|
2015-03-27 21:31:13 +01:00
|
|
|
<control type="label">
|
2015-07-09 21:58:54 +02:00
|
|
|
<posx>col-1-begin</posx>
|
2015-03-27 21:31:13 +01:00
|
|
|
<posy>0</posy>
|
2015-07-09 21:58:54 +02:00
|
|
|
<width>8-col</width>
|
|
|
|
<height>2-row</height>
|
|
|
|
<font>menuTitle</font>
|
2015-03-27 21:31:13 +01:00
|
|
|
<aligny>center</aligny>
|
2015-07-09 21:58:54 +02:00
|
|
|
<textcolor>highlight</textcolor>
|
2015-03-27 21:31:13 +01:00
|
|
|
<shadowcolor>-</shadowcolor>
|
2015-07-09 21:58:54 +02:00
|
|
|
<label>$INFO[ListItem.label]</label>
|
2015-03-27 21:31:13 +01:00
|
|
|
</control>
|
2014-09-28 20:47:53 +02:00
|
|
|
</focusedlayout>
|
|
|
|
<content>
|
2015-07-15 20:54:26 +02:00
|
|
|
<item id="10">
|
|
|
|
<visible>System.GetBool(pvrmanager.enabled)</visible>
|
|
|
|
<label>31006</label>
|
|
|
|
<label2/>
|
|
|
|
<onclick>ActivateWindow(TVChannels)</onclick>
|
|
|
|
<onclick>Control.SetFocus(50)</onclick>
|
|
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
|
|
</item>
|
2015-05-03 15:56:13 +02:00
|
|
|
<item id="1">
|
2015-03-27 21:31:13 +01:00
|
|
|
<visible>!Skin.HasSetting(hideVideo)</visible>
|
2014-09-28 20:47:53 +02:00
|
|
|
<label>31000</label>
|
|
|
|
<label2></label2>
|
|
|
|
<thumb>-</thumb>
|
2015-11-15 20:47:07 +01:00
|
|
|
<onclick condition="!Library.HasContent(Video)">ActivateWindow(Videos,sources://video/)</onclick>
|
2015-03-27 21:31:13 +01:00
|
|
|
<onclick condition="!Library.HasContent(Video)">Skin.SetString(showRecentVideoItems,false)</onclick>
|
2015-11-15 20:47:07 +01:00
|
|
|
<onclick condition="Library.HasContent(Video)">ActivateWindow(Videos,library://video/)</onclick>
|
2015-03-27 21:31:13 +01:00
|
|
|
<onclick condition="Library.HasContent(Video)">Skin.SetString(showRecentVideoItems,true)</onclick>
|
2014-09-28 20:47:53 +02:00
|
|
|
</item>
|
2015-05-03 15:56:13 +02:00
|
|
|
<item id="2">
|
2015-03-27 21:31:13 +01:00
|
|
|
<visible>!Skin.HasSetting(hideMusic)</visible>
|
2014-09-28 20:47:53 +02:00
|
|
|
<label>31001</label>
|
|
|
|
<label2></label2>
|
|
|
|
<thumb>-</thumb>
|
2015-11-09 22:07:33 +01:00
|
|
|
<onclick condition="!Library.HasContent(Music)">ActivateWindow(Music,files)</onclick>
|
2015-03-27 21:31:13 +01:00
|
|
|
<onclick condition="!Library.HasContent(Music)">Skin.SetString(showRecentMusicItems,false)</onclick>
|
2015-11-09 22:07:33 +01:00
|
|
|
<onclick condition="Library.HasContent(Music)">ActivateWindow(Music,musicdb://)</onclick>
|
2015-03-27 21:31:13 +01:00
|
|
|
<onclick condition="Library.HasContent(Music)">Skin.SetString(showRecentMusicItems,true)</onclick>
|
2014-09-28 20:47:53 +02:00
|
|
|
</item>
|
2015-05-03 15:56:13 +02:00
|
|
|
<item id="3">
|
2015-03-27 21:31:13 +01:00
|
|
|
<visible>!Skin.HasSetting(hidePictures)</visible>
|
2014-09-28 20:47:53 +02:00
|
|
|
<label>31002</label>
|
|
|
|
<label2></label2>
|
|
|
|
<thumb>-</thumb>
|
|
|
|
<onclick>ActivateWindow(pictures)</onclick>
|
|
|
|
</item>
|
2015-05-03 15:56:13 +02:00
|
|
|
<item id="4">
|
2015-03-27 21:31:13 +01:00
|
|
|
<visible>!Skin.HasSetting(hideGames) + System.HasAddon(script.games.rom.collection.browser)</visible>
|
2014-09-28 20:47:53 +02:00
|
|
|
<label>31156</label>
|
|
|
|
<label2></label2>
|
|
|
|
<thumb>-</thumb>
|
2015-03-27 21:31:13 +01:00
|
|
|
<onclick>RunScript(script.games.rom.collection.browser,)</onclick>
|
2014-09-28 20:47:53 +02:00
|
|
|
</item>
|
2015-05-10 21:59:54 +02:00
|
|
|
<item id="9">
|
2015-11-13 21:24:02 +01:00
|
|
|
<visible>!isempty(Window(Weather).Property(WeatherProvider))</visible>
|
2015-05-10 21:59:54 +02:00
|
|
|
<label>31197</label>
|
|
|
|
<label2></label2>
|
|
|
|
<thumb>-</thumb>
|
|
|
|
<onclick>ActivateWindow(weather)</onclick>
|
|
|
|
</item>
|
2015-05-03 15:56:13 +02:00
|
|
|
<item id="6">
|
2015-03-27 21:31:13 +01:00
|
|
|
<visible>!Skin.HasSetting(hideSearch)</visible>
|
2014-09-28 20:47:53 +02:00
|
|
|
<label>137</label>
|
|
|
|
<label2></label2>
|
|
|
|
<thumb>-</thumb>
|
2015-11-09 22:07:33 +01:00
|
|
|
<onclick condition="!System.HasAddon(script.globalsearch)">RunPlugin(plugin://script.globalsearch)</onclick>
|
2015-11-13 21:24:02 +01:00
|
|
|
<onclick condition="System.HasAddon(script.globalsearch)">RunScript(script.globalsearch)</onclick>
|
2015-03-27 21:31:13 +01:00
|
|
|
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
|
|
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
2014-09-28 20:47:53 +02:00
|
|
|
</item>
|
2015-05-03 15:56:13 +02:00
|
|
|
<item id="7">
|
2014-09-28 20:47:53 +02:00
|
|
|
<label>5</label>
|
|
|
|
<label2></label2>
|
|
|
|
<thumb>-</thumb>
|
|
|
|
<onclick>ActivateWindow(settings)</onclick>
|
|
|
|
</item>
|
2015-10-24 21:48:47 +02:00
|
|
|
<item id="11">
|
2015-07-09 21:58:54 +02:00
|
|
|
<label>31007</label>
|
|
|
|
<label2></label2>
|
|
|
|
<thumb>-</thumb>
|
|
|
|
<onclick>ActivateWindow(systeminfo)</onclick>
|
|
|
|
</item>
|
2015-05-04 21:29:51 +02:00
|
|
|
<item id="8">
|
2014-09-28 20:47:53 +02:00
|
|
|
<label>31004</label>
|
|
|
|
<label2></label2>
|
|
|
|
<thumb>-</thumb>
|
|
|
|
<onclick>ActivateWindow(ShutdownMenu)</onclick>
|
|
|
|
</item>
|
|
|
|
</content>
|
|
|
|
</control>
|
2015-03-27 21:31:13 +01:00
|
|
|
</control>
|
2015-03-30 21:32:00 +02:00
|
|
|
<!--Date / time and weather-->
|
|
|
|
<control type="group">
|
2015-04-19 22:55:23 +02:00
|
|
|
<posx>18-col</posx>
|
2015-03-30 21:32:00 +02:00
|
|
|
<posy>row-21-begin</posy>
|
|
|
|
<control type="label">
|
|
|
|
<posx>8-col</posx>
|
|
|
|
<posy>12</posy>
|
2015-11-09 22:07:33 +01:00
|
|
|
<width>24-col</width>
|
2015-03-30 21:32:00 +02:00
|
|
|
<height>4-row</height>
|
|
|
|
<align>right</align>
|
|
|
|
<font>veryLarge</font>
|
|
|
|
<textcolor>selected</textcolor>
|
|
|
|
<label>$INFO[System.Time]</label>
|
|
|
|
</control>
|
|
|
|
<control type="label">
|
|
|
|
<posx>8-col</posx>
|
|
|
|
<posy>3-row</posy>
|
2015-11-09 22:07:33 +01:00
|
|
|
<width>24-col</width>
|
2015-03-30 21:32:00 +02:00
|
|
|
<height>4-row</height>
|
|
|
|
<align>right</align>
|
|
|
|
<font>Large</font>
|
|
|
|
<textcolor>selected</textcolor>
|
2015-04-01 21:11:01 +02:00
|
|
|
<label>$INFO[System.Date(DDD)] [B]$INFO[System.Date(dd)][/B] $INFO[System.Date(MMM)]</label>
|
2015-03-30 21:32:00 +02:00
|
|
|
</control>
|
|
|
|
<control type="label">
|
2015-11-13 21:24:02 +01:00
|
|
|
<visible>!isempty(Window(Weather).Property(WeatherProvider))</visible>
|
2015-03-30 21:32:00 +02:00
|
|
|
<posx>8-col</posx>
|
2015-03-31 21:21:43 +02:00
|
|
|
<posy>182</posy>
|
2015-11-09 22:07:33 +01:00
|
|
|
<width>24-col</width>
|
2015-03-30 21:32:00 +02:00
|
|
|
<height>3-row</height>
|
|
|
|
<align>right</align>
|
|
|
|
<font>regular</font>
|
|
|
|
<textcolor>selected</textcolor>
|
|
|
|
<label>$INFO[weather.location] [B]$INFO[weather.temperature][/B] [LOWERCASE]$INFO[weather.conditions][/LOWERCASE]</label>
|
|
|
|
</control>
|
|
|
|
</control>
|
2014-09-28 20:47:53 +02:00
|
|
|
<!--debugging-->
|
|
|
|
<include>DebugGrid</include>
|
|
|
|
<control type="label">
|
|
|
|
<include>WindowID</include>
|
|
|
|
<label>Home.xml</label>
|
|
|
|
</control>
|
|
|
|
</controls>
|
2015-03-27 21:31:13 +01:00
|
|
|
</window>
|