skin.pellucid/1080i/Home.xml

153 lines
6.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window id="0">
<defaultcontrol always="true">9999</defaultcontrol>
<onload>RunScript(script.skinshortcuts,type=buildxml&amp;mainmenuID=9001&amp;group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu)</onload>
<onload condition="Skin.hassetting(stopVideoOnMenu) + !Player.HasAudio">PlayerControl(stop)</onload>
<controls>
<include>globalBackground</include>
<control type="group">
<animation type="windowOpen" condition="!Skin.HasSetting(lowPowerMode)">
<effect type="zoom" center="auto" start="105" tween="sine" end="100" time="1500"/>
</animation>
<include>modalDialogContentShift</include>
<control type="multiimage">
<animation effect="fade" start="0" end="100" time="1000">WindowOpen</animation>
<include>dimensionsFullscreen</include>
<imagepath>$VAR[homeBackgroundLocation]</imagepath>
<timeperimage>45000</timeperimage>
<fadetime>0</fadetime>
<pauseatend>10000</pauseatend>
<randomize>true</randomize>
<loop>yes</loop>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<include>dimensionsFullscreen</include>
<texture>vignette.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
</control>
<!--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>
<control type="label">
<posx>0</posx>
<posy>-24</posy>
<width>24-col</width>
<height>4-row</height>
<align>center</align>
<font>veryLarge</font>
<textcolor>textActive</textcolor>
<label>$INFO[System.Time]</label>
</control>
<control type="label">
<posx>0</posx>
<posy>2-row</posy>
<width>24-col</width>
<height>4-row</height>
<font>regular</font>
<align>center</align>
<textcolor>textActive</textcolor>
<label>$INFO[System.Date(DDD)] [B]$INFO[System.Date(dd)][/B] $INFO[System.Date(MMM)]</label>
</control>
<control type="label">
<visible>!isempty(Window(Weather).Property(WeatherProvider)) + !skin.hassetting(weatherdisplay) + !String.isempty(weather.location) + !String.isempty(weather.temperature) + !String.isempty(weather.conditions)</visible>
<posx>0</posx>
<posy>3-row</posy>
<width>24-col</width>
<height>5-row</height>
<align>center</align>
<font>regular</font>
<textcolor>textActive</textcolor>
<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>
</control>
</control>
<!--hidden button to reveal background-->
<control type="button" id="9999">
<posx>-500</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<onleft>9000</onleft>
<onclick>control.setfocus(9000)</onclick>
</control>
<!--mini window-->
<include>miniVideoPlayer</include>
<!--hub menu-->
<include>hubMenu</include>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>WindowID</include>
<label>Home.xml</label>
</control>
</controls>
</window>