<window id="0">
<defaultcontrol always="true">8999</defaultcontrol>
<allowoverlay>no</allowoverlay>
<controls>
<control type="multiimage">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<imagepath background="true">$INFO[Container(9000).ListItem.Icon]</imagepath>
<timeperimage>8000</timeperimage>
<randomize>true</randomize>
<fadetime>1000</fadetime>
</control>
<include>CommonMediaPlayingBackground</include>
<include condition="Skin.HasSetting(homepageHideRecentlyAdded)">HomeRecentlyAddedInfo</include>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>500</width>
<height>720</height>
<texture>blackgradient.png</texture>
</control>
<control type="group">
<control type="image">
<posx>500r</posx>
<posy>0</posy>
<width>500</width>
<height>720</height>
<texture flipx="true">blackgradient.png</texture>
</control>
</control>
<control type="group">
<control type="image">
<posx>0</posx>
<posy>300r</posy>
<width>1280</width>
<height>300</height>
<texture flipy="true">blackgradientvert.png</texture>
<aspectratio>stretch</aspectratio>
</control>
</control>
<!-- Music NOW PLAYING Info -->
<control type="group">
<posx>0</posx>
<posy>0</posy>
<visible>Player.HasAudio + !Skin.HasSetting(homepageMusicinfo)</visible>
<include>VisibleFadeEffect</include>
<include>Window_OpenClose_Animation</include>
<animation effect="slide" end="0,30" time="0" condition="!system.getbool(lookandfeel.enablerssfeeds)">conditional</animation>
<control type="image">
<description>Cover image</description>
<posx>130r</posx>
<posy>410</posy>
<width>110</width>
<height>110</height>
<aspectratio aligny="bottom">stretch</aspectratio>
<texture diffuse="masksquare.png">$INFO[MusicPlayer.Cover]</texture>
</control>
<control type="image">
<description>Cover overlay</description>
<posx>130r</posx>
<posy>410</posy>
<width>110</width>
<height>110</height>
<aspectratio aligny="bottom">stretch</aspectratio>
<texture diffuse="masksquare.png">GlassOverlay2.png</texture>
</control>
<control type="image">
<description>Cover border</description>
<posx>130r</posx>
<posy>410</posy>
<width>110</width>
<height>110</height>
<aspectratio aligny="bottom">stretch</aspectratio>
<texture>border-square.png</texture>
</control>
<control type="label">
<description>NowPlaying label</description>
<posx>140r</posx>
<posy>405</posy>
<height>30</height>
<width>660</width>
<label>$LOCALIZE[31040]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_20</font>
<textcolor>orange</textcolor>
</control>
<control type="label">
<description>Artist label</description>
<posx>140r</posx>
<posy>435</posy>
<height>30</height>
<width>660</width>
<label>$INFO[MusicPlayer.Artist]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_16</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>Title label</description>
<posx>140r</posx>
<posy>465</posy>
<height>30</height>
<width>660</width>
<label>$INFO[MusicPlayer.Title]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_20</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>Time remaining</description>
<posx>140r</posx>
<posy>495</posy>
<height>30</height>
<width>660</width>
<label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_16</font>
<textcolor>white</textcolor>
</control>
</control>
<!-- Non-Library Video Info -->
<control type="group">
<posx>0</posx>
<posy>0</posy>
<visible>Player.HasVideo + !Skin.HasSetting(homepageVideoinfo)</visible>
<include>VisibleFadeEffect</include>
<include>Window_OpenClose_Animation</include>
<animation effect="slide" end="0,30" time="0" condition="!system.getbool(lookandfeel.enablerssfeeds)">conditional</animation>
<control type="group">
<visible>!VideoPlayer.Content(Movies) + !VideoPlayer.Content(Episodes)</visible>
<control type="image">
<description>Cover image</description>
<posx>120r</posx>
<posy>380</posy>
<width>100</width>
<height>140</height>
<aspectratio aligny="top">stretch</aspectratio>
<texture diffuse="maskposter.png">$INFO[VideoPlayer.Cover]</texture>
</control>
<control type="image">
<posx>120r</posx>
<posy>380</posy>
<width>100</width>
<height>140</height>
<aspectratio aligny="top">stretch</aspectratio>
<fadetime>IconCrossfadeTime</fadetime>
<texture background="true" diffuse="maskposter.png">GlassOverlay2.png</texture>
</control>
<control type="image">
<posx>120r</posx>
<posy>380</posy>
<width>100</width>
<height>140</height>
<aspectratio aligny="top">stretch</aspectratio>
<fadetime>IconCrossfadeTime</fadetime>
<texture background="true">border-poster.png</texture>
</control>
<control type="label">
<description>NowPlaying label</description>
<posx>130r</posx>
<posy>380</posy>
<height>30</height>
<width>660</width>
<label>[COLOR=orange]$LOCALIZE[31040][/COLOR]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_24</font>
<textcolor>blue</textcolor>
</control>
<control type="label">
<description>Title label</description>
<posx>130r</posx>
<posy>410</posy>
<height>30</height>
<width>660</width>
<label>$INFO[VideoPlayer.Title]$INFO[VideoPlayer.Year,[COLOR=grey] (,)[/COLOR]]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_24</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>Time Label</description>
<posx>130r</posx>
<posy>470</posy>
<height>30</height>
<width>325</width>
<label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_16</font>
<textcolor>white</textcolor>
</control>
</control>
<!-- NOW PLAYING INFO MOVIES -->
<control type="group">
<visible>VideoPlayer.Content(Movies)</visible>
<control type="image">
<description>Cover image</description>
<posx>120r</posx>
<posy>380</posy>
<width>100</width>
<height>140</height>
<aspectratio aligny="top">stretch</aspectratio>
<texture diffuse="maskposter.png">$INFO[VideoPlayer.Cover]</texture>
</control>
<control type="image">
<posx>120r</posx>
<posy>380</posy>
<width>100</width>
<height>140</height>
<aspectratio aligny="top">stretch</aspectratio>
<fadetime>IconCrossfadeTime</fadetime>
<texture background="true" diffuse="maskposter.png">GlassOverlay2.png</texture>
</control>
<control type="image">
<posx>120r</posx>
<posy>380</posy>
<width>100</width>
<height>140</height>
<aspectratio aligny="top">stretch</aspectratio>
<fadetime>IconCrossfadeTime</fadetime>
<texture background="true">border-poster.png</texture>
</control>
<control type="label">
<description>NowPlaying label</description>
<posx>130r</posx>
<posy>380</posy>
<height>30</height>
<width>660</width>
<label>[COLOR=orange]$LOCALIZE[31040][/COLOR]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_24</font>
<textcolor>blue</textcolor>
</control>
<control type="label">
<description>Title label</description>
<posx>130r</posx>
<posy>410</posy>
<height>30</height>
<width>660</width>
<label>$INFO[VideoPlayer.Title]$INFO[VideoPlayer.Year,[COLOR=grey] (,)[/COLOR]]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_24</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>Genre Label</description>
<posx>130r</posx>
<posy>440</posy>
<height>30</height>
<width>660</width>
<label>$INFO[VideoPlayer.Genre]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_16</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>Time Label</description>
<posx>130r</posx>
<posy>470</posy>
<height>30</height>
<width>325</width>
<label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_16</font>
<textcolor>white</textcolor>
</control>
</control>
<!-- NOW PLAYING EPISODES -->
<control type="group">
<visible>VideoPlayer.Content(Episodes)</visible>
<control type="image">
<description>Cover image</description>
<posx>240r</posx>
<posy>400</posy>
<width>200</width>
<height>120</height>
<aspectratio aligny="top">stretch</aspectratio>
<texture diffuse="maskthumbnail.png">$INFO[VideoPlayer.Cover]</texture>
</control>
<control type="image">
<posx>240r</posx>
<posy>400</posy>
<width>200</width>
<height>120</height>
<aspectratio aligny="top">stretch</aspectratio>
<fadetime>IconCrossfadeTime</fadetime>
<texture background="true" diffuse="maskthumbnail.png">GlassOverlay2.png</texture>
</control>
<control type="image">
<posx>240r</posx>
<posy>400</posy>
<width>200</width>
<height>120</height>
<aspectratio aligny="top">stretch</aspectratio>
<fadetime>IconCrossfadeTime</fadetime>
<texture background="true">border-thumbnail.png</texture>
</control>
<control type="label">
<description>NowPlaying label</description>
<posx>250r</posx>
<posy>400</posy>
<height>30</height>
<width>610</width>
<label>$LOCALIZE[31040]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_24</font>
<textcolor>orange</textcolor>
</control>
<control type="label">
<description>TV Show label</description>
<posx>250r</posx>
<posy>430</posy>
<height>30</height>
<width>610</width>
<label>$INFO[VideoPlayer.TVShowTitle]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_20</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>Season Ep Label</description>
<posx>250r</posx>
<posy>460</posy>
<height>30</height>
<width>610</width>
<label>$LOCALIZE[20373] $INFO[VideoPlayer.Season] - $LOCALIZE[20359] $INFO[VideoPlayer.episode]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_16</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>Title label</description>
<posx>250r</posx>
<posy>490</posy>
<height>30</height>
<width>610</width>
<label>$INFO[VideoPlayer.Title]</label>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_20</font>
<textcolor>white</textcolor>
</control>
</control>
</control>
<!-- END OF NOW PLAYING CONTROLS -->
<control type="group">
<animation effect="slide" end="-370,0" time="500" tween="quadratic" easing="out">WindowClose</animation>
<animation effect="slide" start="-370,0" time="500" tween="quadratic" easing="out">WindowOpen</animation>
<!-- UNCOMMENT THIS FOR A LEFT SIDE TRANSPARENT BAR BEHIND MENU
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>280</width>
<height>750</height>
<texture>black-back3.png</texture>
</control>
-->
<!-- HOME MENU SUBMENUS -->
<control type="group" id="9001">
<posx>0</posx>
<posy>240</posy>
<control type="image">
<posx>10</posx>
<posy>-500</posy>
<width>280</width>
<height>1250</height>
<texture>homesubbackground.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<animation effect="fade" start="100" end="0" time="0" condition="!ControlGroup(9001).HasFocus">conditional</animation>
<animation effect="fade" start="0" end="100" delay="300" time="200" condition="ControlGroup(9001).HasFocus">conditional</animation>
<animation effect="fade" start="100" end="0" time="0" condition="ControlGroup(9001).HasFocus">WindowClose</animation>
<animation effect="slide" end="210,0" time="300" tween="quadratic" easing="out" condition="ControlGroup(9001).HasFocus">conditional</animation>
<animation effect="slide" end="0,-204" time="300" condition="Container(9000).Row(1)">conditional</animation>
<animation effect="slide" end="0,-102" time="300" condition="Container(9000).Row(2)">conditional</animation>
<animation effect="slide" end="0,102" time="300" condition="Container(9000).Row(4)">conditional</animation>
<animation effect="slide" end="0,204" time="300" condition="Container(9000).Row(5)">conditional</animation>
<!-- VIDEOS SUBMENU -->
<control type="grouplist" id="9010">
<posx>10</posx>
<posy>0</posy>
<width>240</width>
<height>240</height>
<align>center</align>
<onleft>9000</onleft>
<onright>Control.SetFocus(8000,0)</onright>
<onup>9010</onup>
<ondown>9010</ondown>
<itemgap>0</itemgap>
<visible>Container(9000).HasFocus(2)</visible>
<control type="button" id="90101">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>342</label>
<onclick>ActivateWindow(VideoLibrary,MovieTitles,return)</onclick>
<visible>Library.HasContent(Movies)</visible>
</control>
<control type="button" id="90102">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>20343</label>
<onclick>ActivateWindow(VideoLibrary,TvShowTitles,return)</onclick>
<visible>Library.HasContent(TVShows)</visible>
</control>
<control type="button" id="90103">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>20389</label>
<onclick>ActivateWindow(VideoLibrary,MusicVideoTitles,return)</onclick>
<visible>Library.HasContent(MusicVideos)</visible>
</control>
<control type="button" id="90104">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>744</label>
<onclick>ActivateWindow(VideoFiles)</onclick>
</control>
<control type="button" id="90105">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>14022</label>
<onclick>ActivateWindow(VideoLibrary)</onclick>
<visible>Library.HasContent(Videos)</visible>
</control>
<control type="button" id="90106">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>31007</label>
<onclick>ActivateWindow(VideoLibrary,Plugins)</onclick>
<visible>Library.HasContent(Video)</visible>
</control>
<control type="button" id="90107">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>31007</label>
<onclick>ActivateWindow(VideoFiles,$LOCALIZE[1037])</onclick>
<visible>!Library.HasContent(Video)</visible>
</control>
</control>
<!-- MUSIC SUBMENU -->
<control type="grouplist" id="9011">
<posx>10</posx>
<posy>0</posy>
<width>240</width>
<height>240</height>
<align>center</align>
<onleft>9000</onleft>
<onright>9001</onright>
<onup>9011</onup>
<ondown>9011</ondown>
<itemgap>0</itemgap>
<visible>Container(9000).HasFocus(3)</visible>
<control type="button" id="90111">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>133</label>
<onclick>ActivateWindow(MusicLibrary,Artists,return)</onclick>
<visible>Library.HasContent(Music)</visible>
</control>
<control type="button" id="90112">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>132</label>
<onclick>ActivateWindow(MusicLibrary,Albums,return)</onclick>
<visible>Library.HasContent(Music)</visible>
</control>
<control type="button" id="90113">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>134</label>
<onclick>ActivateWindow(MusicLibrary,Songs,return)</onclick>
<visible>Library.HasContent(Music)</visible>
</control>
<control type="button" id="90114">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>744</label>
<onclick>ActivateWindow(MusicFiles)</onclick>
</control>
<control type="button" id="90115">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>14022</label>
<onclick>ActivateWindow(MusicLibrary)</onclick>
<visible>Library.HasContent(Music)</visible>
</control>
<control type="button" id="9011456">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>653</label>
<onclick>UpdateLibrary(Music)</onclick>
</control>
<control type="button" id="90117">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>31007</label>
<onclick>ActivateWindow(MusicFiles,$LOCALIZE[1038])</onclick>
<visible>!Library.HasContent(Music)</visible>
</control>
</control>
<control type="grouplist" id="9014">
<posx>10</posx>
<posy>0</posy>
<width>240</width>
<height>280</height>
<align>center</align>
<onleft>9000</onleft>
<onright>9001</onright>
<onup>9014</onup>
<ondown>9014</ondown>
<itemgap>0</itemgap>
<visible>Container(9000).HasFocus(5)</visible>
<control type="button" id="90141">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>5</label>
<onclick>ActivateWindow(Settings)</onclick>
</control>
<control type="button" id="90142">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>7</label>
<onclick>ActivateWindow(FileManager)</onclick>
</control>
<control type="button" id="90143">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>13200</label>
<onclick>ActivateWindow(Profiles)</onclick>
</control>
<control type="button" id="90144">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>130</label>
<onclick>ActivateWindow(SystemInfo)</onclick>
</control>
<control type="button" id="90145">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>470</label>
<onclick>ActivateWindow(Credits)</onclick>
<visible>False</visible>
</control>
<!-- WHEN CLEAN HOME SELECTED -->
<control type="button" id="901451">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>13005</label>
<onclick>ActivateWindow(ShutdownMenu)</onclick>
<visible>Skin.HasSetting(cleanHome)</visible>
</control>
<control type="button" id="901452">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>1036</label>
<onclick>ActivateWindow(Favourites)</onclick>
<visible>Skin.HasSetting(cleanHome)</visible>
</control>
<control type="button" id="901453">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>446</label>
<onclick>XBMC.PlayDVD()</onclick>
<visible>Skin.HasSetting(cleanHome)</visible>
</control>
<!-- END -->
</control>
<control type="grouplist" id="9015">
<posx>10</posx>
<posy>0</posy>
<width>240</width>
<height>240</height>
<align>center</align>
<onleft>9000</onleft>
<onright>9001</onright>
<onup>9015</onup>
<ondown>9015</ondown>
<itemgap>0</itemgap>
<visible>Container(9000).HasFocus(8) + [[Skin.HasSetting(HomeScriptButton1) + !IsEmpty(Skin.String(HomeScriptButton1_label))] | [Skin.HasSetting(HomeScriptButton2) + !IsEmpty(Skin.String(HomeScriptButton2_label))] | [Skin.HasSetting(HomeScriptButton3) + !IsEmpty(Skin.String(HomeScriptButton3_label))] | [Skin.HasSetting(HomeScriptButton4) + !IsEmpty(Skin.String(HomeScriptButton4_label))] | [Skin.HasSetting(HomeScriptButton5) + !IsEmpty(Skin.String(HomeScriptButton5_label))] | [Skin.HasSetting(HomeScriptButton6) + !IsEmpty(Skin.String(HomeScriptButton6_label))]]</visible>
<control type="button" id="90151">
<font>cirrus_20</font>
<description>Button1</description>
<include>ButtonHomeSubCommonValues</include>
<label>$INFO[Skin.String(HomeScriptButton1_label)]</label>
<onclick>Setfocus(9000)</onclick>
<onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton1_Path)])</onclick>
<visible>Skin.HasSetting(HomeScriptButton1) + !IsEmpty(Skin.String(HomeScriptButton1_label))</visible>
</control>
<control type="button" id="90152">
<font>cirrus_20</font>
<description>Button2</description>
<include>ButtonHomeSubCommonValues</include>
<label>$INFO[Skin.String(HomeScriptButton2_label)]</label>
<onclick>Setfocus(9000)</onclick>
<onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton2_Path)])</onclick>
<visible>Skin.HasSetting(HomeScriptButton2) + !IsEmpty(Skin.String(HomeScriptButton2_label))</visible>
</control>
<control type="button" id="90153">
<font>cirrus_20</font>
<description>Button3</description>
<include>ButtonHomeSubCommonValues</include>
<label>$INFO[Skin.String(HomeScriptButton3_label)]</label>
<onclick>Setfocus(9000)</onclick>
<onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton3_Path)])</onclick>
<visible>Skin.HasSetting(HomeScriptButton3) + !IsEmpty(Skin.String(HomeScriptButton3_label))</visible>
</control>
<control type="button" id="90154">
<font>cirrus_20</font>
<description>Button4</description>
<include>ButtonHomeSubCommonValues</include>
<label>$INFO[Skin.String(HomeScriptButton4_label)]</label>
<onclick>Setfocus(9000)</onclick>
<onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton4_Path)])</onclick>
<visible>Skin.HasSetting(HomeScriptButton4) + !IsEmpty(Skin.String(HomeScriptButton4_label))</visible>
</control>
<control type="button" id="90155">
<font>cirrus_20</font>
<description>Button5</description>
<include>ButtonHomeSubCommonValues</include>
<label>$INFO[Skin.String(HomeScriptButton5_label)]</label>
<onclick>Setfocus(9000)</onclick>
<onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton5_Path)])</onclick>
<visible>Skin.HasSetting(HomeScriptButton5) + !IsEmpty(Skin.String(HomeScriptButton5_label))</visible>
</control>
<control type="button" id="90156">
<font>cirrus_20</font>
<description>Button6</description>
<include>ButtonHomeSubCommonValues</include>
<label>$INFO[Skin.String(HomeScriptButton6_label)]</label>
<onclick>Setfocus(9000)</onclick>
<onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton6_Path)])</onclick>
<visible>Skin.HasSetting(HomeScriptButton6) + !IsEmpty(Skin.String(HomeScriptButton6_label))</visible>
</control>
</control>
<!-- MY MAIN MENU MODS -->
<control type="grouplist" id="9016">
<posx>10</posx>
<posy>0</posy>
<width>240</width>
<height>400</height>
<align>center</align>
<onleft>9000</onleft>
<onright>Control.SetFocus(8000,0)</onright>
<onup>9016</onup>
<ondown>9016</ondown>
<itemgap>0</itemgap>
<visible>Container(9000).HasFocus(10)</visible>
<control type="button" id="901671">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>1219</label>
<onclick>ActivateWindow(VideoFiles)</onclick>
</control>
<control type="button" id="90161">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>369</label>
<onclick>ActivateWindow(VideoLibrary,MovieTitles,return)</onclick>
</control>
<control type="button" id="90162">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>135</label>
<onclick>ActivateWindow(VideoLibrary,MovieGenres,return)</onclick>
</control>
<control type="button" id="90163">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>652</label>
<onclick>ActivateWindow(VideoLibrary,MovieYears,return)</onclick>
</control>
<control type="button" id="90166">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>31328</label>
<onclick>ActivateWindow(VideoLibrary,RecentlyAddedMovies,return)</onclick>
</control>
<control type="button" id="90164">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>344</label>
<onclick>ActivateWindow(VideoLibrary,MovieActors,return)</onclick>
</control>
<control type="button" id="90165">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>20348</label>
<onclick>ActivateWindow(VideoLibrary,MovieDirectors,return)</onclick>
</control>
<control type="button" id="9016701">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>653</label>
<onclick>UpdateLibrary(Video)</onclick>
</control>
</control>
<control type="grouplist" id="9017">
<posx>10</posx>
<posy>0</posy>
<width>240</width>
<height>240</height>
<align>center</align>
<onleft>9000</onleft>
<onright>Control.SetFocus(8001,0)</onright>
<onup>9017</onup>
<ondown>9017</ondown>
<itemgap>0</itemgap>
<visible>Container(9000).HasFocus(11)</visible>
<control type="button" id="90171">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>369</label>
<onclick>ActivateWindow(VideoLibrary,TVShowTitles,return)</onclick>
</control>
<control type="button" id="90172">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>135</label>
<onclick>ActivateWindow(VideoLibrary,TVShowGenres,return)</onclick>
</control>
<control type="button" id="90173">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>652</label>
<onclick>ActivateWindow(VideoLibrary,TVShowYears,return)</onclick>
</control>
<control type="button" id="90174">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>344</label>
<onclick>ActivateWindow(VideoLibrary,TVShowActors,return)</onclick>
</control>
<control type="button" id="90175">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>31328</label>
<onclick>ActivateWindow(VideoLibrary,RecentlyAddedEpisodes,return)</onclick>
</control>
<control type="button" id="90176134">
<font>cirrus_20</font>
<include>ButtonHomeSubCommonValues</include>
<label>653</label>
<onclick>UpdateLibrary(Video)</onclick>
</control>
</control>
</control>
<control type="button" id="8999">
<description>Run Recently added</description>
<posx>-20</posx>
<posy>-20</posy>
<width>1</width>
<height>1</height>
<label>-</label>
<font>-</font>
<onfocus>XBMC.RunScript(script.recentlyadded,limit=4)</onfocus>
<!-- <onfocus>XBMC.RunScript(special://skin/scripts/RecentlyAdded.py,limit=4)</onfocus> -->
<onfocus>SetFocus(9000)</onfocus>
<texturenofocus>-</texturenofocus>
<texturefocus>-</texturefocus>
<visible>Skin.HasSetting(homepageHideRecentlyAdded)</visible>
</control>
<control type="button" id="8999">
<description>Don't run Recently added</description>
<posx>-20</posx>
<posy>-20</posy>
<width>1</width>
<height>1</height>
<label>-</label>
<font>-</font>
<onfocus>SetFocus(9000)</onfocus>
<texturenofocus>-</texturenofocus>
<texturefocus>-</texturefocus>
<visible>!Skin.HasSetting(homepageHideRecentlyAdded)</visible>
</control>
<!-- MAIN MENU -->
<control type="wraplist" id="9000">
<hitrect x="50" y="50" w="330" h="620" />
<posx>-20</posx>
<posy>0</posy>
<width>400</width>
<height>720</height>
<onleft>10</onleft>
<onright>9001</onright>
<onup>9000</onup>
<ondown>9000</ondown>
<pagecontrol>-</pagecontrol>
<scrolltime>300</scrolltime>
<focusposition>3</focusposition>
<movement>1</movement>
<animation effect="fade" start="0" end="100" time="20">Visible</animation>
<animation effect="fade" start="100" end="30" time="20" condition="Window.IsVisible(1113) | ControlGroup(9001).HasFocus | ControlGroup(10).HasFocus | Control.HasFocus(8000) | Control.HasFocus(8001)">conditional</animation>
<itemlayout height="102" width="380">
<control type="label">
<posx>40</posx>
<posy>21</posy>
<width>380</width>
<height>40</height>
<font>cirrus_45</font>
<textcolor>grey3</textcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
<animation effect="fade" start="100" end="30" time="0" condition="Window.IsVisible(1113) | ControlGroup(9001).HasFocus | ControlGroup(10).HasFocus">conditional</animation>
</control>
</itemlayout>
<focusedlayout height="102" width="380">
<control type="label">
<posx>40</posx>
<posy>21</posy>
<width>380</width>
<height>40</height>
<font>cirrus_45</font>
<textcolor>white</textcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
<content>
<item id="8">
<label>247</label>
<onclick>ActivateWindow(Scripts)</onclick>
<icon>special://skin/backgrounds/scripts.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Scripts_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoScriptsButton)</visible>
</item>
<item id="6">
<label>8</label>
<onclick>ActivateWindow(Weather)</onclick>
<icon>special://skin/backgrounds/weather.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Weather_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoWeatherButton)</visible>
<visible>!Skin.HasSetting(ShowWeatherFanart) | IsEmpty(Skin.String(WeatherFanartDir))</visible>
</item>
<item id="6">
<label>8</label>
<onclick>ActivateWindow(Weather)</onclick>
<icon>special://skin/backgrounds/weather.jpg</icon>
<thumb>$INFO[Skin.String(WeatherFanartDir)]$INFO[Weather.FanartCode]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoWeatherButton)</visible>
<visible>Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))</visible>
</item>
<item id="4">
<label>1</label>
<onclick>ActivateWindow(Pictures)</onclick>
<icon>special://skin/backgrounds/pictures.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Pictures_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoPicturesButton)</visible>
</item>
<item id="2">
<label>3</label>
<onclick>ActivateWindow(Videos)</onclick>
<icon>special://skin/backgrounds/videos.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoVideosButton) + ![Skin.HasSetting(HomeMenuNoMoviesButton) + Skin.HasSetting(HomeMenuNoTVShowsButton)]</visible>
</item>
<item id="2">
<label>3</label>
<onclick>ActivateWindow(VideoFiles)</onclick>
<icon>special://skin/backgrounds/videos.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoVideosButton) + [Skin.HasSetting(HomeMenuNoMoviesButton) + Skin.HasSetting(HomeMenuNoTVShowsButton)]</visible>
</item>
<item id="10">
<label>20342</label>
<onclick>ActivateWindow(VideoLibrary,MovieTitles,return)</onclick>
<icon>special://skin/backgrounds/videos.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Movies_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoMoviesButton) + Library.HasContent(Movies)</visible>
</item>
<item id="11">
<label>20343</label>
<onclick>ActivateWindow(VideoLibrary,TVShowTitles,return)</onclick>
<icon>special://skin/backgrounds/tv_shows.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_TVShow_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoTVShowsButton) + Library.HasContent(TVShows)</visible>
</item>
<item id="15">
<description>Custom Movie One</description>
<label>$INFO[Skin.String(Menu_Custom1_Label)]</label>
<icon>special://skin/media/backgrounds/custom.jpg</icon>
<thumb>$INFO[Skin.String(Menu_Custom1_Folder)]</thumb>
<onclick>$INFO[Skin.String(Menu_Custom1_Path)]</onclick>
<visible>Skin.HasSetting(Menu_Custom1)</visible>
</item>
<item id="16">
<description>Custom Movie Two</description>
<label>$INFO[Skin.String(Menu_Custom2_Label)]</label>
<icon>special://skin/media/backgrounds/custom.jpg</icon>
<thumb>$INFO[Skin.String(Menu_Custom2_Folder)]</thumb>
<onclick>$INFO[Skin.String(Menu_Custom2_Path)]</onclick>
<visible>Skin.HasSetting(Menu_Custom2)</visible>
</item>
<item id="17">
<description>Custom Movie Three</description>
<label>$INFO[Skin.String(Menu_Custom3_Label)]</label>
<icon>special://skin/media/backgrounds/custom.jpg</icon>
<thumb>$INFO[Skin.String(Menu_Custom3_Folder)]</thumb>
<onclick>$INFO[Skin.String(Menu_Custom3_Path)]</onclick>
<visible>Skin.HasSetting(Menu_Custom3)</visible>
</item>
<item id="22">
<description>Custom Movie Seven</description>
<label>$INFO[Skin.String(Menu_Custom7_Label)]</label>
<icon>special://skin/media/backgrounds/custom.jpg</icon>
<thumb>$INFO[Skin.String(Menu_Custom7_Folder)]</thumb>
<onclick>$INFO[Skin.String(Menu_Custom7_Path)]</onclick>
<visible>Skin.HasSetting(Menu_Custom7)</visible>
</item>
<item id="23">
<description>Custom Movie Eight</description>
<label>$INFO[Skin.String(Menu_Custom8_Label)]</label>
<icon>special://skin/media/backgrounds/custom.jpg</icon>
<thumb>$INFO[Skin.String(Menu_Custom8_Folder)]</thumb>
<onclick>$INFO[Skin.String(Menu_Custom8_Path)]</onclick>
<visible>Skin.HasSetting(Menu_Custom8)</visible>
</item>
<item id="19">
<description>Custom Movie Four</description>
<label>$INFO[Skin.String(Menu_Custom4_Label)]</label>
<icon>special://skin/media/backgrounds/custom.jpg</icon>
<thumb>$INFO[Skin.String(Menu_Custom4_Folder)]</thumb>
<onclick>XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom4_Path)],return)</onclick>
<visible>Skin.HasSetting(Menu_Custom4)</visible>
</item>
<item id="20">
<description>Custom Movie Five</description>
<label>$INFO[Skin.String(Menu_Custom5_Label)]</label>
<icon>special://skin/media/backgrounds/custom.jpg</icon>
<thumb>$INFO[Skin.String(Menu_Custom5_Folder)]</thumb>
<onclick>XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom5_Path)],return)</onclick>
<visible>Skin.HasSetting(Menu_Custom5)</visible>
</item>
<item id="21">
<description>Custom Movie Six</description>
<label>$INFO[Skin.String(Menu_Custom6_Label)]</label>
<icon>special://skin/media/backgrounds/custom.jpg</icon>
<thumb>$INFO[Skin.String(Menu_Custom6_Folder)]</thumb>
<onclick>XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom6_Path)],return)</onclick>
<visible>Skin.HasSetting(Menu_Custom6)</visible>
</item>
<item id="24">
<description>Custom Movie Nine</description>
<label>$INFO[Skin.String(Menu_Custom9_Label)]</label>
<icon>special://skin/media/backgrounds/custom.jpg</icon>
<thumb>$INFO[Skin.String(Menu_Custom9_Folder)]</thumb>
<onclick>XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom9_Path)],return)</onclick>
<visible>Skin.HasSetting(Menu_Custom9)</visible>
</item>
<item id="25">
<description>Custom Movie TEn</description>
<label>$INFO[Skin.String(Menu_Custom10_Label)]</label>
<icon>special://skin/media/backgrounds/custom.jpg</icon>
<thumb>$INFO[Skin.String(Menu_Custom10_Folder)]</thumb>
<onclick>XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom10_Path)],return)</onclick>
<visible>Skin.HasSetting(Menu_Custom10)</visible>
</item>
<item id="3">
<label>2</label>
<onclick>ActivateWindow(Music)</onclick>
<icon>special://skin/backgrounds/music.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Music_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoMusicButton)</visible>
</item>
<item id="1">
<label>0</label>
<onclick>ActivateWindow(Programs,Addons,return)</onclick>
<icon>special://skin/backgrounds/programs.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Programs_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoProgramsButton)</visible>
</item>
<item id="5">
<label>13000</label>
<onclick>ActivateWindow(Settings)</onclick>
<icon>special://skin/backgrounds/settings.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Settings_Folder)]</thumb>
</item>
</content>
</control>
<control type="image">
<description>LOGO</description>
<posx>10</posx>
<posy>10</posy>
<width>160</width>
<height>40</height>
<texture>xbmc_logo_white.png</texture>
<visible>!Skin.HasSetting(cleanHome)</visible>
</control>
<control type="image">
<description>LOGO Mirror</description>
<posx>10</posx>
<posy>42</posy>
<width>160</width>
<height>40</height>
<texture diffuse="diffuse_mirror.png" flipy="true">xbmc_logo_white.png</texture>
<visible>!Skin.HasSetting(cleanHome)</visible>
</control>
<control type="group" id="10">
<posx>15</posx>
<posy>55r</posy>
<control type="button" id="20">
<description>Power push button</description>
<posx>90</posx>
<posy>0</posy>
<width>43</width>
<height>43</height>
<label>-</label>
<font>-</font>
<aligny>-</aligny>
<onclick>ActivateWindow(ShutdownMenu)</onclick>
<texturefocus>homepowerbuttonFO.png</texturefocus>
<texturenofocus>homepowerbuttonNF.png</texturenofocus>
<onleft>21</onleft>
<onright>9000</onright>
<onup>9000</onup>
<ondown>9000</ondown>
<visible>!Skin.HasSetting(cleanHome)</visible>
</control>
<control type="button" id="21">
<description>Favourites push button</description>
<posx>45</posx>
<posy>0</posy>
<width>43</width>
<height>43</height>
<label>-</label>
<font>-</font>
<aligny>-</aligny>
<onclick>ActivateWindow(Favourites)</onclick>
<texturefocus>homefavouritesbuttonFO.png</texturefocus>
<texturenofocus>homefavouritesbuttonNF.png</texturenofocus>
<onleft>22</onleft>
<onright>20</onright>
<onup>9000</onup>
<ondown>9000</ondown>
<visible>!Skin.HasSetting(cleanHome)</visible>
</control>
<control type="button" id="22">
<description>Play Disc Media push button</description>
<posx>0</posx>
<posy>0</posy>
<width>43</width>
<height>43</height>
<label>-</label>
<font>-</font>
<aligny>-</aligny>
<onclick>XBMC.PlayDVD()</onclick>
<texturefocus>homeplaybuttonFO.png</texturefocus>
<texturenofocus>homeplaybuttonNF.png</texturenofocus>
<onleft>9000</onleft>
<onright>21</onright>
<onup>9000</onup>
<ondown>9000</ondown>
<visible>System.HasMediaDVD</visible>
<visible>!Skin.HasSetting(cleanHome)</visible>
</control>
<control type="button" id="22">
<description>Play Disc Media push button</description>
<posx>0</posx>
<posy>0</posy>
<width>43</width>
<height>43</height>
<label>-</label>
<font>-</font>
<aligny>-</aligny>
<onclick>ActivateWindow(1113)</onclick>
<texturefocus>homeplaybuttonFO.png</texturefocus>
<texturenofocus>homeplaybuttonNF.png</texturenofocus>
<onleft>9000</onleft>
<onright>21</onright>
<onup>9000</onup>
<ondown>9000</ondown>
<visible>!System.HasMediaDVD + !Skin.HasSetting(cleanHome)</visible>
</control>
</control>
</control>
<control type="group">
<posx>140</posx>
<posy>25</posy>
<animation effect="slide" end="0,35" time="300" tween="quadratic" easing="out">WindowClose</animation>
<animation effect="slide" start="0,35" time="300" tween="quadratic" easing="out">WindowOpen</animation>
<control type="rss">
<description>RSS feed</description>
<posx>1280r</posx>
<posy>670</posy>
<height>35</height>
<width>1280</width>
<font>cirrus_18</font>
<urlset>1</urlset>
<textcolor>orange</textcolor>
<titlecolor>orange</titlecolor>
<headlinecolor>white</headlinecolor>
<visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
</control>
</control>
<control type="group">
<posx>40r</posx><!-- 380r -->
<posy>200r</posy>
<width>500</width>
<align>right</align>
<animation effect="slide" start="0,0" end="-60,0" delay="0" time="300" condition="Window.IsVisible(MuteBug)">conditional</animation>
<animation effect="slide" start="0,0" end="380,0" delay="0" time="300">WindowClose</animation>
<animation effect="slide" start="380,0" end="0,0" delay="0" time="300">WindowOpen</animation>
<control type="label">
<description>time label</description>
<posx>20</posx>
<posy>77</posy>
<width>500</width>
<height>28</height>
<align>right</align>
<aligny>top</aligny>
<font>cirrus_40</font>
<textcolor>white</textcolor>
<label>$INFO[System.Time]</label>
</control>
<control type="label">
<description>time label</description>
<posx>20</posx>
<posy>115</posy>
<width>500</width>
<height>28</height>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_20</font>
<textcolor>white</textcolor>
<label>[COLOR=grey]$INFO[System.Date][/COLOR]</label>
</control>
<!-- weather Info -->
<control type="group">
<posx>800r</posx>
<posy>120</posy>
<align>right</align>
<animation effect="slide" start="0,0" end="-60,0" delay="0" time="300" condition="Window.IsVisible(MuteBug)">conditional</animation>
<animation effect="slide" start="0,0" end="510,0" delay="0" time="300">WindowClose</animation>
<animation effect="slide" start="510,0" end="0,0" delay="0" time="300">WindowOpen</animation>
<visible>!Skin.HasSetting(homepageWeatherinfo) + Weather.IsFetched</visible>
<control type="image">
<description>Weather image</description>
<posx>290</posx>
<posy>20</posy>
<width>30</width>
<height>30</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Weather.Conditions]</texture>
</control>
<control type="label">
<description>time label</description>
<posx>280</posx>
<posy>20</posy>
<width>200</width>
<height>28</height>
<align>right</align>
<aligny>center</aligny>
<font>cirrus_20</font>
<textcolor>white</textcolor>
<label>$INFO[Weather.Temperature]</label>
</control>
</control>
</control>
</controls>
</window>