2014-09-28 20:47:53 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<window id="0">
|
2016-11-17 18:38:24 +01:00
|
|
|
<defaultcontrol always="true">9999</defaultcontrol>
|
2016-12-19 17:38:47 +01:00
|
|
|
<onload>RunScript(script.skinshortcuts,type=buildxml&mainmenuID=9001&group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu)</onload>
|
2015-03-27 21:31:13 +01:00
|
|
|
<onload condition="Skin.hassetting(stopVideoOnMenu) + !Player.HasAudio">PlayerControl(stop)</onload>
|
2014-09-28 20:47:53 +02:00
|
|
|
<controls>
|
2015-03-27 21:31:13 +01:00
|
|
|
<include>globalBackground</include>
|
2014-09-28 20:47:53 +02:00
|
|
|
<control type="group">
|
2016-11-11 22:13:39 +01:00
|
|
|
<animation type="windowOpen" condition="!Skin.HasSetting(lowPowerMode)">
|
|
|
|
<effect type="zoom" center="auto" start="105" tween="sine" end="100" time="1500"/>
|
2015-07-09 21:58:54 +02:00
|
|
|
</animation>
|
2016-11-17 18:38:24 +01:00
|
|
|
<include>modalDialogContentShift</include>
|
2016-11-18 21:48:26 +01:00
|
|
|
<control type="multiimage">
|
2017-03-09 00:54:23 +01:00
|
|
|
<animation effect="fade" start="0" end="100" time="1000">WindowOpen</animation>
|
2016-11-18 21:48:26 +01:00
|
|
|
<include>dimensionsFullscreen</include>
|
2016-11-21 21:36:06 +01:00
|
|
|
<imagepath>$VAR[homeBackgroundLocation]</imagepath>
|
2016-11-19 12:33:24 +01:00
|
|
|
<timeperimage>45000</timeperimage>
|
2017-03-09 00:54:23 +01:00
|
|
|
<fadetime>0</fadetime>
|
2016-11-18 21:48:26 +01:00
|
|
|
<pauseatend>10000</pauseatend>
|
|
|
|
<randomize>true</randomize>
|
|
|
|
<loop>yes</loop>
|
2017-04-11 14:43:32 +02:00
|
|
|
<aspectratio>scale</aspectratio>
|
2015-07-09 22:18:48 +02:00
|
|
|
</control>
|
2015-07-09 21:58:54 +02:00
|
|
|
<control type="image">
|
2016-11-11 22:13:39 +01:00
|
|
|
<include>dimensionsFullscreen</include>
|
|
|
|
<texture>vignette.png</texture>
|
|
|
|
<colordiffuse>ffffffff</colordiffuse>
|
2015-07-09 21:58:54 +02:00
|
|
|
<aspectratio>stretch</aspectratio>
|
|
|
|
</control>
|
2015-03-27 21:31:13 +01:00
|
|
|
</control>
|
2015-03-30 21:32:00 +02:00
|
|
|
<control type="group">
|
2017-05-13 21:37:11 +02:00
|
|
|
<animation type="conditional" condition="control.hasfocus(9001)">
|
|
|
|
<effect type="slide" center="auto" start="0,0" end="2-col,0" time="200"/>
|
2017-02-19 20:11:49 +01:00
|
|
|
</animation>
|
2017-05-13 21:37:11 +02:00
|
|
|
<!--Date / time and weather-->
|
|
|
|
<control type="group">
|
|
|
|
<posx>col-1-begin</posx>
|
|
|
|
<posy>row-22-begin</posy>
|
|
|
|
<animation type="conditional" condition="player.hasaudio + !skin.hassetting(weatherdisplay)">
|
|
|
|
<effect type="slide" start="0,0" end="0,-72" tween="cubic" easing="out" time="0"/>
|
|
|
|
</animation>
|
2017-02-19 20:11:49 +01:00
|
|
|
<control type="label">
|
|
|
|
<posx>0</posx>
|
2017-05-13 21:37:11 +02:00
|
|
|
<posy>-24</posy>
|
|
|
|
<width>24-col</width>
|
|
|
|
<height>4-row</height>
|
2017-02-19 20:11:49 +01:00
|
|
|
<align>center</align>
|
2017-05-13 21:37:11 +02:00
|
|
|
<font>veryLarge</font>
|
2017-02-19 20:11:49 +01:00
|
|
|
<textcolor>textActive</textcolor>
|
2017-05-13 21:37:11 +02:00
|
|
|
<label>$INFO[System.Time]</label>
|
2017-02-19 20:11:49 +01:00
|
|
|
</control>
|
|
|
|
<control type="label">
|
|
|
|
<posx>0</posx>
|
2017-05-13 21:37:11 +02:00
|
|
|
<posy>2-row</posy>
|
|
|
|
<width>24-col</width>
|
|
|
|
<height>4-row</height>
|
|
|
|
<font>regular</font>
|
2017-02-19 20:11:49 +01:00
|
|
|
<align>center</align>
|
|
|
|
<textcolor>textActive</textcolor>
|
2017-05-13 21:37:11 +02:00
|
|
|
<label>$INFO[System.Date(DDD)] [B]$INFO[System.Date(dd)][/B] $INFO[System.Date(MMM)]</label>
|
2017-02-19 20:11:49 +01:00
|
|
|
</control>
|
|
|
|
<control type="label">
|
2017-05-13 21:37:11 +02:00
|
|
|
<visible>!isempty(Window(Weather).Property(WeatherProvider)) + !skin.hassetting(weatherdisplay) + !String.isempty(weather.location) + !String.isempty(weather.temperature) + !String.isempty(weather.conditions)</visible>
|
2017-02-19 20:11:49 +01:00
|
|
|
<posx>0</posx>
|
2017-05-13 21:37:11 +02:00
|
|
|
<posy>3-row</posy>
|
|
|
|
<width>24-col</width>
|
|
|
|
<height>5-row</height>
|
2017-02-19 20:11:49 +01:00
|
|
|
<align>center</align>
|
2017-05-13 21:37:11 +02:00
|
|
|
<font>regular</font>
|
2017-02-19 20:11:49 +01:00
|
|
|
<textcolor>textActive</textcolor>
|
2017-05-13 21:37:11 +02:00
|
|
|
<label>$INFO[weather.location] [B]$INFO[weather.temperature][/B] [CAPITALIZE]$INFO[weather.conditions][/CAPITALIZE]</label>
|
|
|
|
</control>
|
|
|
|
</control>
|
|
|
|
<!--now playing music-->
|
|
|
|
<control type="group">
|
|
|
|
<visible>player.hasaudio</visible>
|
|
|
|
<posx>col-1-begin</posx>
|
|
|
|
<posy>row-26-begin</posy>
|
|
|
|
<control type="grouplist">
|
|
|
|
<posx>0</posx>
|
|
|
|
<posy>18</posy>
|
|
|
|
<width>24-col</width>
|
|
|
|
<align>center</align>
|
|
|
|
<itemgap>18</itemgap>
|
|
|
|
<orientation>horizontal</orientation>
|
|
|
|
<control type="image">
|
|
|
|
<visible>!player.paused + !System.Platform.Linux.RaspberryPi</visible>
|
|
|
|
<posx>0</posx>
|
|
|
|
<posy>0</posy>
|
|
|
|
<width>1-col-gutter</width>
|
|
|
|
<height>1-col-gutter</height>
|
|
|
|
<texture>equaliser.gif</texture>
|
|
|
|
</control>
|
|
|
|
<control type="label">
|
|
|
|
<visible>!player.paused + System.Platform.Linux.RaspberryPi</visible>
|
|
|
|
<posx>0</posx>
|
|
|
|
<posy>0</posy>
|
|
|
|
<width>1-col-gutter</width>
|
|
|
|
<height>2-row</height>
|
|
|
|
<align>center</align>
|
|
|
|
<aligny>center</aligny>
|
|
|
|
<font>symbolLarge</font>
|
|
|
|
<textcolor>textActive</textcolor>
|
|
|
|
<shadowcolor>-</shadowcolor>
|
|
|
|
<label></label>
|
|
|
|
</control>
|
|
|
|
<control type="label">
|
|
|
|
<visible>player.paused</visible>
|
|
|
|
<posx>0</posx>
|
|
|
|
<posy>0</posy>
|
|
|
|
<width>1-col-gutter</width>
|
|
|
|
<height>2-row</height>
|
|
|
|
<align>center</align>
|
|
|
|
<aligny>center</aligny>
|
|
|
|
<font>symbolLarge</font>
|
|
|
|
<textcolor>textActive</textcolor>
|
|
|
|
<shadowcolor>-</shadowcolor>
|
|
|
|
<label></label>
|
|
|
|
</control>
|
|
|
|
<control type="label">
|
|
|
|
<description>Artist</description>
|
|
|
|
<posx>0</posx>
|
|
|
|
<posy>0</posy>
|
|
|
|
<font>small</font>
|
|
|
|
<width>auto</width>
|
|
|
|
<height>2-row</height>
|
|
|
|
<align>center</align>
|
|
|
|
<aligny>center</aligny>
|
|
|
|
<height>2-row</height>
|
|
|
|
<label>$INFO[MusicPlayer.TimeRemaining,, ][B]$INFO[musicplayer.Artist,, ][/B]$INFO[MusicPlayer.Title]</label>
|
|
|
|
<scroll>true</scroll>
|
|
|
|
<textcolor>textActive</textcolor>
|
|
|
|
<wrapmultiline>false</wrapmultiline>
|
|
|
|
</control>
|
2017-02-19 20:11:49 +01:00
|
|
|
</control>
|
|
|
|
</control>
|
|
|
|
</control>
|
2016-11-17 18:38:24 +01:00
|
|
|
<!--hidden button to reveal background-->
|
|
|
|
<control type="button" id="9999">
|
|
|
|
<posx>-500</posx>
|
|
|
|
<posy>0</posy>
|
|
|
|
<width>1-col</width>
|
2016-11-11 22:13:39 +01:00
|
|
|
<height>2-row</height>
|
|
|
|
<onleft>9000</onleft>
|
2016-11-17 18:38:24 +01:00
|
|
|
<onclick>control.setfocus(9000)</onclick>
|
2016-11-11 22:13:39 +01:00
|
|
|
</control>
|
2016-11-29 23:56:29 +01:00
|
|
|
<!--mini window-->
|
|
|
|
<include>miniVideoPlayer</include>
|
2016-11-08 11:36:35 +01:00
|
|
|
<!--hub menu-->
|
2016-10-05 15:33:07 +02:00
|
|
|
<include>hubMenu</include>
|
2014-09-28 20:47:53 +02:00
|
|
|
<!--debugging-->
|
|
|
|
<include>DebugGrid</include>
|
|
|
|
<control type="label">
|
|
|
|
<include>WindowID</include>
|
|
|
|
<label>Home.xml</label>
|
|
|
|
</control>
|
|
|
|
</controls>
|
2016-11-08 11:36:35 +01:00
|
|
|
</window>
|