<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="MovieRecent">
		<content target="video" sortby="random" limit="12">videodb://recentlyaddedmovies/</content>
	</include>
	<include name="MovieRecommended">
		<content target="video" limit="12">plugin://script.embuary.helper/?info=getsimilar&amp;type=movie</content>
	</include>
	<include name="MovieInProgress">
		<content target="video" limit="12">plugin://script.embuary.helper/?info=getinprogress&amp;type=movie&amp;pos=0</content>
	</include>
	<include name="MovieRandom">
		<content target="video" limit="12">plugin://script.embuary.helper/?info=getbygenre&amp;unwatched=True&amp;type=movie</content>
	</include>
	<include name="MovieSets">
		<content target="video" sortby="random" limit="12">videodb://movies/sets/</content>
	</include>
	<include name="MovieCustom">
		<content target="video" limit="12">$INFO[Skin.String(widget-movie.List)]</content>
	</include>
	<include name="EpisodeRecent">
		<content target="video" sortby="random" limit="12">videodb://recentlyaddedepisodes/</content>
	</include>
	<include name="TVShowRecommended">
		<content target="video" sortby="random" limit="12">plugin://script.embuary.helper/?info=getsimilar&amp;type=tvshow&amp;pos=0</content>
	</include>
	<include name="EpisodeInProgress">
		<content target="video" sortby="random" limit="12">plugin://script.embuary.helper/?info=getinprogress&amp;type=tvshow&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]</content>
	</include>
	<include name="EpisodeNextUp">
		<content target="video" sortby="random" limit="12">plugin://script.embuary.helper/?info=getnextup</content>
	</include>
	<include name="TVShowsNew">
		<content target="video" sortby="random" limit="12">plugin://script.embuary.helper/?info=getnewshows&amp;showall=true</content>
	</include>
	<include name="TVShowCustom">
		<content target="video" limit="12">$INFO[Skin.String(widget-tvshow.List)]</content>
	</include>
	<include name="AlbumRecent">
		<content target="music" limit="12">musicdb://recentlyaddedalbums/</content>
	</include>
	<include name="AlbumRecommended">
		<content target="music" limit="12">special://skin/extras/playlists/music/UnplayedAlbums.xsp</content>
	</include>
	<include name="AlbumRandom">
		<content target="music" limit="12" sortby="random">musicdb://albums/</content>
	</include>	
	<include name="SongsRandom">
		<content target="music" limit="12" sortby="random">musicdb://songs/</content>
	</include>
	<include name="SongsTop30">
		<content target="music" limit="30">musicdb://top100/songs/</content>
	</include>
	<include name="AlbumTop30">
		<content target="music" limit="30">musicdb://top100/songs/</content>
	</include>
	<include name="MusicCustom">
		<content target="music" limit="12">$INFO[Skin.String(widget-music.List)]</content>
	</include>
	<include name="PVRChannels">
		<content target="pvr" limit="32">pvr://channels/tv/*</content>
	</include>
	<include name="LatestRecordings">
		<content target="pvr" limit="12">pvr://recordings/tv/active?view=flat</content>
	</include>
	<include name="AiringToday">
		<content target="video" limit="12">plugin://script.embuary.helper/?info=getnextup</content>
	</include>
	<include name="BroadcastCustom">
		<content target="video" limit="12">$INFO[Skin.String(widget-broadcast.List)]</content>
	</include>
	<include name="AddonRecent">
		<content target="addonbrowser" limit="12">addons://recently_updated/</content>
	</include>
	<include name="AddonUpdated">
		<content target="addonbrowser">addons://outdated/</content>
	</include>
	<include name="AllFavourites">
		<content target="programs" limit="12">favourites://</content>
	</include>
	<include name="ShelfDummy">
		<param name="dummyid"/>
		<param name="focusid"/>
		<definition>
			<control type="button" id="$PARAM[dummyid]">
				<left>0</left>
				<top>0</top>
				<width>1920</width>
				<height>468</height>
				<texturefocus>blank.png</texturefocus>
				<texturenofocus>blank.png</texturenofocus>
				<onfocus>SetFocus($PARAM[focusid])</onfocus>
			</control>
		</definition>
	</include>
	<include name="ShelfProfileDetails">
		<control type="grouplist">
			<left>870</left>
			<top>20</top>
			<width>auto</width>
			<height>40</height>
			<align>center</align>
			<orientation>horizontal</orientation>
			<visible>Skin.HasSetting(home-profilename)</visible>
			<control type="image">
				<width>40</width>
				<height>40</height>
				<texture>$INFO[System.ProfileThumb]</texture>
				<aspectratio>scale</aspectratio>
			</control>
			<control type="label">
				<height>40</height>
				<width max="600">auto</width>
				<label>$INFO[System.ProfileName]</label>
				<font>apptv18</font>
				<aligny>center</aligny>
			</control>
		</control>
	</include>
	<include name="movie-shelficons">
		<animation effect="slide" end="315,0" condition="![Control.HasFocus(9160) + Container(9160).Position(5)] + Skin.HasSetting(media-overlay) + [Player.HasVideo | [Player.HasAudio + String.IsEmpty(Window(videos).Property(PlayingBackgroundMedia))]]">Conditional</animation>
		<control type="group">
			<control type="label"><!-- Movie shelf icons label -->
				<left>52</left>
				<top>18</top>
				<height>33</height>
				<width>750</width>
				<label>$VAR[MovieShelfLabel]</label>
				<font>apptv22</font>
				<visible>Integer.IsGreater(Container(9160).NumItems,0)</visible>
			</control>
			<!-- Dummy button for mouse control -->
			<include content="ShelfDummy">
				<param name="dummyid" value="9165"/>
				<param name="focusid" value="9160"/>
			</include>
			<!-- Markers for control area items -->
			<include content="page-offscreen-horizontal">
				<param name="indicator1left" value="0"/>
				<param name="indicator1top" value="195"/>
				<param name="indicator2left" value="1872"/>
				<param name="indicator2top" value="195"/>
				<param name="indicatorsize" value="48"/>
				<param name="indicatorcontainer" value="9160"/>
			</include>
			<control type="list" id="9160">
				<left>15</left>
				<top>69</top>
				<width>1890</width>
				<height>405</height>
				<onleft>9050</onleft>
				<onright>9050</onright>
				<onup>9050</onup>
				<ondown>9000</ondown>
				<scrolltime tween="quadratic" easing="out">300</scrolltime>
				<orientation>horizontal</orientation>
				<itemlayout width="315">
					<control type="image">
						<left>38</left>
						<top>0</top>
						<width>240</width>
						<height>321</height>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<texture diffuse="mask-rect.png" fallback="DefaultVideo.png" background="true">$VAR[IconPoster]</texture>
					</control>
				</itemlayout>
				<focusedlayout width="315">
					<control type="image">
						<left>38</left>
						<top>0</top>
						<width>240</width>
						<height>321</height>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<texture fallback="DefaultVideo.png" diffuse="mask-rect.png" background="true">$VAR[IconPoster]</texture>
						<animation effect="zoom" start="100" end="104" center="auto" time="200" tween="back" easing="out" reversible="false">focus</animation>
					</control>
					<control type="textbox">
						<left>0</left>
						<top>325</top>
						<height>74</height>
						<width>315</width>
						<font>apptv20</font>
						<align>center</align>
						<aligny>top</aligny>
						<label>$INFO[ListItem.Label]</label>
						<animation effect="fade" time="100" delay="100">Focus</animation>
						<visible>Control.HasFocus(9160) | Control.HasFocus(9165)</visible>
					</control>
				</focusedlayout>
				<include condition="String.IsEqual(Skin.String(widget-movie),$LOCALIZE[31964])">MovieRecent</include>
				<include condition="String.IsEqual(Skin.String(widget-movie),$LOCALIZE[31960])">MovieRecommended</include>
				<include condition="String.IsEqual(Skin.String(widget-movie),$LOCALIZE[31971])">MovieInProgress</include>
				<include condition="String.IsEqual(Skin.String(widget-movie),$LOCALIZE[31972])">MovieRandom</include>
				<include condition="String.IsEqual(Skin.String(widget-movie),$LOCALIZE[31974])">MovieSets</include>
				<include condition="String.IsEqual(Skin.String(widget-movie),$LOCALIZE[31661])|String.IsEqual(Skin.String(widget-movie),$LOCALIZE[31660])
				|String.IsEqual(Skin.String(widget-movie),$LOCALIZE[31652])">MovieCustom</include>
			</control>
		</control>
	</include>
	<include name="tvshow-shelfbanner">
		<control type="image">
			<left>15</left>
			<top>42</top>
			<width>348</width>
			<height>195</height>
			<aligny>bottom</aligny>
			<aspectratio>stretch</aspectratio>
			<texture background="true">$VAR[TVShowThumb]</texture>
			<animation effect="zoom" start="100" end="104" center="auto" time="200" tween="back" easing="out" reversible="false">focus</animation>
		</control>
		<control type="image">
			<left>15</left>
			<top>234</top>
			<width>348</width>
			<height>63</height>
			<aligny>bottom</aligny>
			<aspectratio>stretch</aspectratio>
			<texture background="true">$VAR[TVShowBanner]</texture>
			<animation effect="zoom" start="100" end="104" center="188,156" time="200" tween="back" easing="out" reversible="false">focus</animation>
		</control>
		<control type="textbox"><!-- TVShow name for if banner not available -->
			<left>25</left>
			<top>234</top>
			<width>328</width>
			<height>64</height>
			<label>$VAR[TVShowBannerShowName]</label>
			<font>apptv16</font>
			<align>center</align>
			<animation effect="zoom" start="100" end="104" center="188,156" time="200" tween="back" easing="out" reversible="false">focus</animation>
		</control>		
	</include>
	<include name="tvshow-shelflandscape">
		<control type="image">
			<left>10</left>
			<top>70</top>
			<width>358</width>
			<height>202</height>
			<aligny>bottom</aligny>
			<aspectratio>stretch</aspectratio>
			<texture background="true">$VAR[TVShowLandscape]</texture>
			<animation effect="zoom" start="100" end="104" center="auto" time="200" tween="back" easing="out" reversible="false">focus</animation>
		</control>
	</include>
	<include name="tvshow-shelfposter">
		<control type="image">
			<left>69</left>
			<top>0</top>
			<width>240</width>
			<height>321</height>
			<aspectratio scalediffuse="false">stretch</aspectratio>
			<texture diffuse="mask-rect.png" fallback="DefaultTvshows.png" background="true">$VAR[TVShowPoster]</texture>
			<animation effect="zoom" start="100" end="104" center="auto" time="200" tween="back" easing="out" reversible="false">focus</animation>
		</control>
	</include>
	<include name="tvshow-shelficons">
		<animation effect="slide" end="378,0" condition="![Control.HasFocus(9210) + Container(9210).Position(4)] + Skin.HasSetting(media-overlay) + [Player.HasVideo | [Player.HasAudio + String.IsEmpty(Window(videos).Property(PlayingBackgroundMedia))]]">Conditional</animation>
		<control type="group">
			<control type="label"><!-- TV Episodes shelf icons label -->
				<left>82</left>
				<top>18</top>
				<height>33</height>
				<width>750</width>
				<label>$VAR[TVShowShelfLabel]</label>
				<font>apptv22</font>
				<visible>Integer.IsGreater(Container(9210).NumItems,0)</visible>
			</control>
			<!-- Dummy button for mouse control -->
			<include content="ShelfDummy">
				<param name="dummyid" value="9215"/>
				<param name="focusid" value="9210"/>
			</include>
			<!-- Markers for control area items -->
			<include content="page-offscreen-horizontal">
				<param name="indicator1left" value="-10"/>
				<param name="indicator1top" value="195"/>
				<param name="indicator2left" value="1882"/>
				<param name="indicator2top" value="195"/>
				<param name="indicatorsize" value="48"/>
				<param name="indicatorcontainer" value="9210"/>
			</include>
			<control type="list" id="9210">
				<left>15</left>
				<top>69</top>
				<width>1890</width>
				<height>405</height>
				<onleft>9052</onleft>
				<onright>9052</onright>
				<onup>9052</onup>
				<ondown>9000</ondown>
				<onclick condition="![$EXP[isEpisode]]">ActivateWindow(videos,$INFO[Listitem.FolderPath],return)</onclick>
				<scrolltime tween="quadratic" easing="out">300</scrolltime>
				<orientation>horizontal</orientation>
				<itemlayout width="378">
					<include condition="[String.IsEmpty(Skin.String(widget-tvshowimgtyp)) | String.IsEqual(Skin.String(widget-tvshowimgtyp),$LOCALIZE[31950])]">tvshow-shelfposter</include>
					<include condition="String.IsEqual(Skin.String(widget-tvshowimgtyp),$LOCALIZE[31949])">tvshow-shelfbanner</include>
					<include condition="String.IsEqual(Skin.String(widget-tvshowimgtyp),$LOCALIZE[31670])">tvshow-shelflandscape</include>
				</itemlayout>
				<focusedlayout width="378">
					<include condition="[String.IsEmpty(Skin.String(widget-tvshowimgtyp)) | String.IsEqual(Skin.String(widget-tvshowimgtyp),$LOCALIZE[31950])]">tvshow-shelfposter</include>
					<include condition="String.IsEqual(Skin.String(widget-tvshowimgtyp),$LOCALIZE[31949])">tvshow-shelfbanner</include>
					<include condition="String.IsEqual(Skin.String(widget-tvshowimgtyp),$LOCALIZE[31670])">tvshow-shelflandscape</include>
					<control type="group">
						<animation effect="fade" time="100" delay="100">Focus</animation>
						<visible>Control.HasFocus(9210) | Control.HasFocus(9215)</visible>
						<control type="label">
							<left>0</left>
							<top>325</top>
							<height>33</height>
							<width>378</width>
							<label>$INFO[ListItem.Title]</label>
							<align>center</align>
							<selectedcolor>button-text</selectedcolor>
							<font>apptv20</font>
						</control>
						<control type="group">
							<visible>$EXP[isEpisode]</visible>
							<control type="label">
								<left>0</left>
								<top>361</top>
								<height>33</height>
								<width>378</width>
								<label>$LOCALIZE[20373] $INFO[ListItem.Season] $LOCALIZE[20359] $INFO[ListItem.Episode]</label>
								<align>center</align>
								<selectedcolor>button-text</selectedcolor>
								<font>apptv20</font>
								<visible>!String.IsEmpty(ListItem.Season) + !ListItem.Property(IsSpecial)</visible>
							</control>
							<control type="label">
								<left>0</left>
								<top>361</top>
								<height>33</height>
								<width>378</width>
								<label>$LOCALIZE[20381] $LOCALIZE[20359] $INFO[ListItem.Episode]</label>
								<align>center</align>
								<selectedcolor>button-text</selectedcolor>
								<font>apptv20</font>
								<visible>ListItem.Property(IsSpecial)</visible>
							</control>
						</control>
					</control>
				</focusedlayout>
				<include condition="String.IsEqual(Skin.String(widget-tvshow),$LOCALIZE[31954])">EpisodeRecent</include>
				<include condition="String.IsEqual(Skin.String(widget-tvshow),$LOCALIZE[31962])">TVShowRecommended</include>
				<include condition="String.IsEqual(Skin.String(widget-tvshow),$LOCALIZE[31975])">EpisodeInProgress</include>
				<include condition="String.IsEqual(Skin.String(widget-tvshow),$LOCALIZE[31976])">EpisodeNextUp</include>
				<include condition="String.IsEqual(Skin.String(widget-tvshow),$LOCALIZE[31977])">TVShowsNew</include>
				<include condition="String.IsEqual(Skin.String(widget-tvshow),$LOCALIZE[31661])|String.IsEqual(Skin.String(widget-tvshow),$LOCALIZE[31660])
				|String.IsEqual(Skin.String(widget-tvshow),$LOCALIZE[31652])">TVShowCustom</include>
			</control>
		</control>
	</include>
	<include name="custom-shelficons">
		<animation effect="slide" end="366,0" condition="![Control.HasFocus(9560) + Container(9560).Position(4)] + Skin.HasSetting(media-overlay) + [Player.HasVideo | [Player.HasAudio + String.IsEmpty(Window(videos).Property(PlayingBackgroundMedia))]]">Conditional</animation>
		<control type="group">
			<control type="label"><!-- Custom/Favourites shelf icon label-->
				<left>45</left>
				<top>15</top>
				<height>30</height>
				<width>750</width>
				<label>$VAR[FavouriteShelfLabel]</label>
				<font>apptv22</font>
				<visible>Integer.IsGreater(Container(9560).NumItems,0)</visible>
			</control>
			<!-- Dummy button for mouse control -->
			<include content="ShelfDummy">
				<param name="dummyid" value="9565"/>
				<param name="focusid" value="9560"/>
			</include>
			<!-- Markers for control area items -->
			<include content="page-offscreen-horizontal">
				<param name="indicator1left" value="0"/>
				<param name="indicator1top" value="195"/>
				<param name="indicator2left" value="1872"/>
				<param name="indicator2top" value="195"/>
				<param name="indicatorsize" value="48"/>
				<param name="indicatorcontainer" value="9560"/>
			</include>
			<control type="list" id="9560">
				<left>15</left>
				<top>66</top>
				<width>1890</width>
				<height>405</height>
				<onleft>9060</onleft>
				<onright>9060</onright>
				<onup>9060</onup>
				<ondown>9000</ondown>
				<scrolltime tween="quadratic" easing="out">300</scrolltime>
				<orientation>horizontal</orientation>
				<itemlayout width="378">
					<control type="image">
						<left>32</left>
						<top>8</top>
						<width>315</width>
						<height>315</height>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<aligny>top</aligny>
						<texture diffuse="mask-squ.png" fallback="icon-fav.png" background="true">$INFO[ListItem.Art(thumb)]</texture>
					</control>
				</itemlayout>
				<focusedlayout width="378">
					<control type="image">
						<left>32</left>
						<top>8</top>
						<width>315</width>
						<height>315</height>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<aligny>top</aligny>
						<texture diffuse="mask-squ.png" fallback="icon-fav.png" background="true">$INFO[ListItem.Art(thumb)]</texture>
						<animation effect="zoom" start="100" end="104" center="auto" time="200" tween="back" easing="out" reversible="false">focus</animation>
					</control>
					<control type="textbox">
						<left>0</left>
						<top>325</top>
						<height>74</height>
						<width>378</width>
						<font>apptv20</font>
						<align>center</align>
						<aligny>top</aligny>
						<label>$INFO[ListItem.Label]</label>
						<animation effect="fade" time="100" delay="100">Focus</animation>
						<visible>Control.HasFocus(9560) | Control.HasFocus(9565)</visible>
					</control>
				</focusedlayout>
				<include condition="String.IsEqual(Skin.String(widget-favourite),$LOCALIZE[593]$LOCALIZE[1036])">AllFavourites</include>
			</control>
		</control>
	</include>
	<include name="music-shelficons">
		<animation effect="slide" end="366,0" condition="![Control.HasFocus(9260) + Container(9260).Position(4)] + Skin.HasSetting(media-overlay) + [Player.HasVideo | [Player.HasAudio + String.IsEmpty(Window(videos).Property(PlayingBackgroundMedia))]]">Conditional</animation>
		<control type="group">
			<control type="label"><!-- Album shelf icon label-->
				<left>45</left>
				<top>15</top>
				<height>30</height>
				<width>750</width>
				<label>$VAR[MusicShelfLabel]</label>
				<font>apptv22</font>
				<visible>Integer.IsGreater(Container(9260).NumItems,0)</visible>
			</control>
			<!-- Dummy button for mouse control -->
			<include content="ShelfDummy">
				<param name="dummyid" value="9265"/>
				<param name="focusid" value="9260"/>
			</include>
			<!-- Markers for control area items -->
			<include content="page-offscreen-horizontal">
				<param name="indicator1left" value="0"/>
				<param name="indicator1top" value="195"/>
				<param name="indicator2left" value="1872"/>
				<param name="indicator2top" value="195"/>
				<param name="indicatorsize" value="48"/>
				<param name="indicatorcontainer" value="9260"/>
			</include>
			<control type="list" id="9260">
				<left>15</left>
				<top>66</top>
				<width>1890</width>
				<height>405</height>
				<onleft>9054</onleft>
				<onright>9054</onright>
				<onup>9054</onup>
				<ondown>9000</ondown>
				<scrolltime tween="quadratic" easing="out">300</scrolltime>
				<orientation>horizontal</orientation>
				<itemlayout  width="378">
					<control type="image">
						<left>32</left>
						<top>8</top>
						<width>315</width>
						<height>315</height>
						<aspectratio scalediffuse="true">stretch</aspectratio>
						<aligny>top</aligny>
						<texture diffuse="mask-squ.png" fallback="DefaultAudio.png" background="true">$INFO[ListItem.Art(thumb)]</texture>
					</control>
				</itemlayout>
				<focusedlayout width="378">
					<control type="image">
						<left>32</left>
						<top>8</top>
						<width>315</width>
						<height>315</height>
						<aspectratio scalediffuse="true">stretch</aspectratio>
						<aligny>top</aligny>
						<texture diffuse="mask-squ.png" fallback="DefaultAudio.png" background="true">$INFO[ListItem.Art(thumb)]</texture>
						<animation effect="zoom" start="100" end="104" center="auto" time="200" tween="back" easing="out" reversible="false">focus</animation>
					</control>
					<control type="textbox">
						<left>0</left>
						<top>325</top>
						<height>74</height>
						<width>378</width>
						<font>apptv20</font>
						<align>center</align>
						<aligny>top</aligny>
						<label>$INFO[ListItem.Label]</label>
						<animation effect="fade" time="100" delay="100">Focus</animation>
						<visible>Control.HasFocus(9260) | Control.HasFocus(9265)</visible>
					</control>
				</focusedlayout>
				<include condition="String.IsEqual(Skin.String(widget-music),$LOCALIZE[31954])">AlbumRecent</include>
				<include condition="String.IsEqual(Skin.String(widget-music),$LOCALIZE[31955])">AlbumRecommended</include>
				<include condition="String.IsEqual(Skin.String(widget-music),$LOCALIZE[31978])">AlbumRandom</include>
				<include condition="String.IsEqual(Skin.String(widget-music),$LOCALIZE[31979])">AlbumTop30</include>
				<include condition="String.IsEqual(Skin.String(widget-music),$LOCALIZE[31980])">SongsRandom</include>
				<include condition="String.IsEqual(Skin.String(widget-music),$LOCALIZE[31981])">SongsTop30</include>
				<include condition="String.IsEqual(Skin.String(widget-music),$LOCALIZE[31661])|String.IsEqual(Skin.String(widget-music),$LOCALIZE[31660])
				|String.IsEqual(Skin.String(widget-music),$LOCALIZE[31652])">MusicCustom</include>
			</control>
		</control>
	</include>
	<include name="addons-shelficons">
		<animation effect="slide" end="366,0" condition="![Control.HasFocus(9360) + Container(9360).Position(4)] + Skin.HasSetting(media-overlay) + [Player.HasVideo | [Player.HasAudio + String.IsEmpty(Window(videos).Property(PlayingBackgroundMedia))]]">Conditional</animation>
		<control type="group">
			<control type="label"><!-- Addon shelf icon label-->
				<left>45</left>
				<top>15</top>
				<height>30</height>
				<width>750</width>
				<label>$VAR[AddonShelfLabel]</label>
				<font>apptv22</font>
				<visible>Integer.IsGreater(Container(9360).NumItems,0)</visible>
			</control>
			<!-- Dummy button for mouse control -->
			<include content="ShelfDummy">
				<param name="dummyid" value="9365"/>
				<param name="focusid" value="9360"/>
			</include>
			<!-- Markers for control area items -->
			<include content="page-offscreen-horizontal">
				<param name="indicator1left" value="0"/>
				<param name="indicator1top" value="195"/>
				<param name="indicator2left" value="1872"/>
				<param name="indicator2top" value="195"/>
				<param name="indicatorsize" value="48"/>
				<param name="indicatorcontainer" value="9360"/>
			</include>
			<control type="list" id="9360">
				<left>15</left>
				<top>66</top>
				<width>1890</width>
				<height>405</height>
				<onleft>9056</onleft>
				<onright>9056</onright>
				<onup>9056</onup>
				<ondown>9000</ondown>
				<scrolltime tween="quadratic" easing="out">300</scrolltime>
				<orientation>horizontal</orientation>
				<itemlayout width="378">
					<control type="image">
						<left>32</left>
						<top>8</top>
						<width>315</width>
						<height>315</height>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<aligny>top</aligny>
						<texture diffuse="mask-squ.png" fallback="DefaultAddon.png" background="true">$INFO[ListItem.Art(thumb)]</texture>
					</control>
				</itemlayout>
				<focusedlayout width="378">
					<control type="image">
						<left>32</left>
						<top>8</top>
						<width>315</width>
						<height>315</height>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<aligny>top</aligny>
						<texture diffuse="mask-squ.png" fallback="DefaultAddon.png" background="true">$INFO[ListItem.Art(thumb)]</texture>
						<animation effect="zoom" start="100" end="104" center="auto" time="200" tween="back" easing="out" reversible="false">focus</animation>
					</control>
					<control type="textbox">
						<left>0</left>
						<top>325</top>
						<height>74</height>
						<width>378</width>
						<font>apptv20</font>
						<align>center</align>
						<aligny>top</aligny>
						<label>$INFO[ListItem.Label]</label>
						<animation effect="fade" time="100" delay="100">Focus</animation>
						<visible>Control.HasFocus(9360)  | Control.HasFocus(9365)</visible>
					</control>
				</focusedlayout>
				<include condition="String.IsEqual(Skin.String(widget-addon),$LOCALIZE[31954])">AddonRecent</include>
				<include condition="String.IsEqual(Skin.String(widget-addon),$LOCALIZE[31959])">AddonUpdated</include>
			</control>
		</control>
	</include>
	<include name="broadcast-shelficons">
		<animation effect="slide" end="378,0" condition="![Control.HasFocus(9510) + Container(9510).Position(4)] + Skin.HasSetting(media-overlay) + [Player.HasVideo | [Player.HasAudio + String.IsEmpty(Window(videos).Property(PlayingBackgroundMedia))]]">Conditional</animation>
		<control type="group">
			<control type="label"><!-- Broadcast shelf label -->
				<left>82</left>
				<top>18</top>
				<height>33</height>
				<width>750</width>
				<label>$VAR[BroadcastShelfLabel]</label>
				<font>apptv22</font>
				<visible>Integer.IsGreater(Container(9510).NumItems,0)</visible>
			</control>
			<!-- Dummy button for mouse control -->
			<include content="ShelfDummy">
				<param name="dummyid" value="9515"/>
				<param name="focusid" value="9510"/>
			</include>
			<!-- Markers for control area items -->
			<include content="page-offscreen-horizontal">
				<param name="indicator1left" value="0"/>
				<param name="indicator1top" value="195"/>
				<param name="indicator2left" value="1872"/>
				<param name="indicator2top" value="195"/>
				<param name="indicatorsize" value="48"/>
				<param name="indicatorcontainer" value="9510"/>
			</include>
			<control type="list" id="9510">
				<left>15</left>
				<top>69</top>
				<width>1890</width>
				<height>405</height>
				<onleft>9058</onleft>
				<onright>9058</onright>
				<onup>9058</onup>
				<ondown>9000</ondown>
				<scrolltime tween="quadratic" easing="out">300</scrolltime>
				<orientation>horizontal</orientation>
				<itemlayout width="378">
					<control type="image">
						<left>32</left>
						<top>8</top>
						<width>315</width>
						<height>315</height>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<aligny>bottom</aligny>
						<texture diffuse="mask-rect.png" fallback="icon-broadcast.png" background="true">$VAR[PVRThumb]</texture>
					</control>
				</itemlayout>
				<focusedlayout width="378">
					<control type="image">
						<left>32</left>
						<top>8</top>
						<width>315</width>
						<height>315</height>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<aligny>bottom</aligny>
						<texture diffuse="mask-rect.png" fallback="icon-broadcast.png" background="true">$VAR[PVRThumb]</texture>
						<animation effect="zoom" start="100" end="104" center="auto" time="200" tween="back" easing="out" reversible="false">focus</animation>
					</control>
					<control type="group">
						<animation effect="fade" time="100" delay="100">Focus</animation>
						<visible>Control.HasFocus(9510) | Control.HasFocus(9515)</visible>
						<control type="label">
							<left>0</left>
							<top>325</top>
							<height>33</height>
							<width>378</width>
							<label>$VAR[BroadcastShelfLabel]</label>
							<align>center</align>
							<selectedcolor>button-text</selectedcolor>
							<font>apptv20</font>
						</control>
						<control type="label">
							<left>0</left>
							<top>361</top>
							<height>33</height>
							<width>378</width>
							<label>$VAR[BroadcastShelfLabel2]</label>
							<align>center</align>
							<selectedcolor>button-text</selectedcolor>
							<font>apptv18</font>
						</control>
					</control>
				</focusedlayout>
				<include condition="String.IsEqual(Skin.String(widget-broadcast),$LOCALIZE[31956])">AiringToday</include>
				<include condition="String.IsEqual(Skin.String(widget-broadcast),$LOCALIZE[31957])">PVRChannels</include>
				<include condition="String.IsEqual(Skin.String(widget-broadcast),$LOCALIZE[31958])">LatestRecordings</include>
				<include condition="String.IsEqual(Skin.String(widget-broadcast),$LOCALIZE[31661])|String.IsEqual(Skin.String(widget-broadcast),$LOCALIZE[31660])
				|String.IsEqual(Skin.String(widget-broadcast),$LOCALIZE[31652])">BroadcastCustom</include>
			</control>
		</control>
	</include>
	<include name="ShelfWeather">
		<animation effect="slide" end="315,0" condition="Skin.HasSetting(media-overlay) + [Player.HasVideo | [Player.HasAudio + String.IsEmpty(Window(videos).Property(PlayingBackgroundMedia))]]">Conditional</animation>
		<control type="group">
			<visible>!String.IsEmpty(Window(weather).Property(Current.Temperature))</visible>
			<control type="group">
				<left>30</left>
				<top>0</top>
				<control type="label">
					<left>30</left>
					<top>0</top>
					<height>69</height>
					<width>750</width>
					<label>$INFO[Window(weather).Property(Location)]</label>
					<font>apptv22</font>
				</control>
				<control type="label">
					<left>30</left>
					<top>75</top>
					<height>36</height>
					<width>750</width>
					<font>apptv22</font>
					<label>$INFO[Window(weather).Property(WeatherProvider),$LOCALIZE[31536] - ]</label>
					<visible>String.IsEmpty(Window(weather).Property(WeatherProviderLogo))</visible>
				</control>
				<control type="group">
					<control type="image"><!-- Weather provider logo shadow -->
						<left>32</left>
						<top>66</top>
						<width>270</width>
						<height>68</height>
						<colordiffuse>DropShadow</colordiffuse>
						<aspectratio>keep</aspectratio>
						<aligny>top</aligny>
						<texture>$INFO[Window(weather).Property(WeatherProviderLogo)]</texture>
					</control>
					<control type="image"><!-- Weather provider logo -->
						<left>30</left>
						<top>64</top>
						<width>270</width>
						<height>68</height>
						<aspectratio>keep</aspectratio>
						<aligny>top</aligny>
						<texture>$INFO[Window(weather).Property(WeatherProviderLogo)]</texture>
					</control>
				</control>
			</control>
			<!-- Dummy button for mouse control -->
			<include content="ShelfDummy">
				<param name="dummyid" value="9415"/>
				<param name="focusid" value="9410"/>
			</include>
			<control type="list" id="9410">
				<left>15</left>
				<top>130</top>
				<width>1890</width>
				<height>405</height>
				<orientation>horizontal</orientation>
				<itemlayout width="378">
					<control type="image"><!-- background masks -->
						<left>14</left>
						<top>0</top>
						<width>350</width>
						<height>330</height>
						<aligny>top</aligny>
						<texture diffuse="mask-squ.png" colordiffuse="LowBgnVisibity">mask-rectbkgrnd.png</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
					</control>
					<control type="label">
						<left>14</left>
						<top>8</top>
						<height>48</height>
						<width>350</width>
						<label>$INFO[ListItem.Property(day)]</label>
						<font>apptv22</font>
						<align>center</align>
					</control>
					<control type="multiimage">
						<left>117</left>
						<top>56</top>
						<width>144</width>
						<height>144</height>
						<imagepath>$INFO[Listitem.Icon]</imagepath>
						<aspectratio>keep</aspectratio>
						<timeperimage>100</timeperimage>
						<randomize>false</randomize>
						<fadetime>1</fadetime>
					</control>
					<control type="label">
						<left>14</left>
						<top>194</top>
						<height>57</height>
						<width>350</width>
						<shadowcolor>shadow-text</shadowcolor>
						<label>$INFO[Listitem.Label]</label>
						<align>center</align>
					</control>
					<control type="label">
						<left>14</left>
						<top>245</top>
						<height>63</height>
						<width>350</width>
						<label>$INFO[Listitem.Label2]</label>
						<align>center</align>
						<wrapmultiline>true</wrapmultiline>
						<font>apptv20</font>
					</control>
				</itemlayout>
				<focusedlayout width="378">
					<control type="image"><!-- background masks -->
						<left>14</left>
						<top>0</top>
						<width>350</width>
						<height>330</height>
						<aligny>top</aligny>
						<texture diffuse="mask-squ.png" colordiffuse="LowBgnVisibity">mask-rectbkgrnd.png</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
					</control>
					<control type="label">
						<left>14</left>
						<top>8</top>
						<height>48</height>
						<width>350</width>
						<label>$INFO[ListItem.Property(day)]</label>
						<font>apptv22</font>
						<align>center</align>
					</control>
					<control type="multiimage">
						<left>117</left>
						<top>56</top>
						<width>144</width>
						<height>144</height>
						<imagepath>$INFO[Listitem.Icon]</imagepath>
						<aspectratio>keep</aspectratio>
						<timeperimage>100</timeperimage>
						<randomize>false</randomize>
						<fadetime>1</fadetime>
					</control>
					<control type="label">
						<left>14</left>
						<top>194</top>
						<height>57</height>
						<width>350</width>
						<shadowcolor>shadow-text</shadowcolor>
						<label>$INFO[Listitem.Label]</label>
						<align>center</align>
					</control>
					<control type="label">
						<left>14</left>
						<top>245</top>
						<height>63</height>
						<width>350</width>
						<label>$INFO[Listitem.Label2]</label>
						<align>center</align>
						<wrapmultiline>true</wrapmultiline>
						<font>apptv20</font>
					</control>
				</focusedlayout>
				<content>
					<item>
						<property name="day">$LOCALIZE[31528] $INFO[Window(weather).Property(Current.Temperature)]</property>
						<label>[COLOR red]$INFO[Window(weather).Property(Day0.HighTemp)][/COLOR] • [COLOR FF7070FF]$INFO[Window(weather).Property(Day0.LowTemp)][/COLOR]</label>
						<label2>$INFO[Weather.Conditions]</label2>
						<icon>$VAR[WeatherIconCurrent]</icon>	
					</item>
					<item>
						<property name="day">$INFO[Window(weather).Property(Day1.Title)]</property>
						<label>[COLOR red]$INFO[Window(weather).Property(Day1.HighTemp)][/COLOR] • [COLOR FF7070FF]$INFO[Window(weather).Property(Day1.LowTemp)][/COLOR]</label>
						<label2>$INFO[Window(weather).Property(Day1.Outlook)]</label2>
						<icon>$VAR[WeatherIconDay1]</icon>	
					</item>
					<item>
						<property name="day">$INFO[Window(weather).Property(Day2.Title)]</property>
						<label>[COLOR red]$INFO[Window(weather).Property(Day2.HighTemp)][/COLOR] • [COLOR FF7070FF]$INFO[Window(weather).Property(Day2.LowTemp)][/COLOR]</label>
						<label2>$INFO[Window(weather).Property(Day2.Outlook)]</label2>
						<icon>$VAR[WeatherIconDay2]</icon>	
					</item>
					<item>
						<property name="day">$INFO[Window(weather).Property(Day3.Title)]</property>
						<label>[COLOR red]$INFO[Window(weather).Property(Day3.HighTemp)][/COLOR] • [COLOR FF7070FF]$INFO[Window(weather).Property(Day3.LowTemp)][/COLOR]</label>
						<label2>$INFO[Window(weather).Property(Day3.Outlook)]</label2>
						<icon>$VAR[WeatherIconDay3]</icon>
					</item>
					<item>
						<property name="day">$INFO[Window(weather).Property(Day4.Title)]</property>
						<label>[COLOR red]$INFO[Window(weather).Property(Day4.HighTemp)][/COLOR] • [COLOR FF7070FF]$INFO[Window(weather).Property(Day4.LowTemp)][/COLOR]</label>
						<label2>$INFO[Window(weather).Property(Day4.Outlook)]</label2>
						<icon>$VAR[WeatherIconDay4]</icon>	
					</item>
				</content>
			</control>
		</control>
	</include>
	<include name="ShelfBackground">
		<control type="group"><!-- Build up home menu shelf image -->
			<visible>![Window.IsActive(videos) | Window.IsActive(music)]</visible>
			<control type="group">
				<visible>String.IsEmpty(Control.GetLabel(9805)) | !String.IsEqual(Skin.String(shelf-backgroundtype),$LOCALIZE[20445])</visible>
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>1920</width>
					<height>288</height>
					<texture>background-iconshelfbackdrop.png</texture>
				</control>
				<control type="image">
					<left>0</left>
					<top>288</top>
					<width>1920</width>
					<height>183</height>
					<texture>background-iconshelf.png</texture>
				</control>
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>1920</width>
					<height>471</height>
					<texture>menu-mask.png</texture>
				</control>
			</control>
			<control type="multiimage" id="9805">
				<left>0</left>
				<top>0</top>
				<width>1920</width>
				<height>471</height>
				<randomize>true</randomize>
				<timeperimage>6000</timeperimage>
				<fadetime>400</fadetime>
				<imagepath background="false">$VAR[BackgndShelfImage]</imagepath>
				<aspectratio>stretch</aspectratio>
				<colordiffuse>MedBgnVisibity</colordiffuse>
				<animation effect="fade" start="0" end="100" time="200" delay="300">Visible</animation>
				<visible>String.IsEqual(Skin.String(shelf-backgroundtype),$LOCALIZE[20445])</visible>
			</control>
		</control>
	</include>
	<include name="ShelfTime">
		<control type="label"><!-- Time and date -->
			<left>1080</left>
			<top>0</top>
			<width>789</width>
			<height>69</height>
			<label>$INFO[system.Time(hh:mm xx)] $INFO[system.Date]</label>
			<align>right</align>
			<font>apptv22</font>
		</control>
	</include>
	<include name="ShelfNowPlaying">
		<control type="group">
			<visible>!Container(9160).Position(5) + !Container(9210).Position(4) + !Container(9260).Position(4) + Skin.HasSetting(media-overlay) + [Player.HasVideo | [Player.HasAudio + String.IsEmpty(Window(videos).Property(PlayingBackgroundMedia))]]</visible>
			<control type="label"><!-- Now playing -->
				<left>15</left>
				<top>15</top>
				<width>315</width>
				<height>33</height>
				<label>$LOCALIZE[31037]</label>
				<font>apptv22</font>
				<align>center</align>
			</control>
			<control type="group"><!-- Video Stuff -->
				<visible>Player.HasVideo</visible>
				<control type="image"><!-- Video cover image -->
					<left>53</left>
					<top>69</top>
					<width>240</width>
					<height>321</height>
					<texture diffuse="mask-rect.png" background="true" fallback="DefaultVideo.png">$VAR[PlayerVideoCover]</texture>
					<aspectratio scalediffuse="false">stretch</aspectratio>
					<visible>!Pvr.IsPlayingTv</visible>
				</control>
				<control type="image"><!-- PVR station image -->
					<left>38</left>
					<top>84</top>
					<width>270</width>
					<height>270</height>
					<texture diffuse="mask-rect.png" background="true" fallback="icon-livetv.png">$VAR[PVRPlayingIcon]</texture>
					<aspectratio scalediffuse="false">stretch</aspectratio>
					<aligny>top</aligny>
					<visible>Pvr.IsPlayingTv</visible>
				</control>
				<control type="button"><!-- Fake fullscreen button as a touch screen work around -->
					<left>60</left>
					<top>69</top>
					<width>225</width>
					<height>291</height>
					<texturefocus>blank.png</texturefocus>
					<texturenofocus>blank.png</texturenofocus>
					<onclick>Fullscreen</onclick>
					<visible>$EXP[isEnabledTouch]</visible>
				</control>
				<control type="group">
					<visible>!Pvr.IsPlayingTv</visible>
					<control type="label">
						<left>15</left>
						<top>394</top>
						<width>315</width>
						<height>30</height>
						<label>$INFO[VideoPlayer.Title]</label>
						<font>apptv20</font>
						<align>center</align>
						<visible>!VideoPlayer.Content(episodes)</visible>
					</control>
					<control type="label">
						<left>15</left>
						<top>394</top>
						<width>315</width>
						<height>30</height>
						<label>$INFO[VideoPlayer.TVShowTitle]</label>
						<font>apptv20</font>
						<align>center</align>
						<visible>VideoPlayer.Content(episodes)</visible>
					</control>
					<control type="label">
						<left>15</left>
						<top>429</top>
						<width>315</width>
						<height>30</height>
						<label>$INFO[VideoPlayer.Title]</label>
						<font>apptv20</font>
						<align>center</align>
						<visible>VideoPlayer.Content(episodes)</visible>
					</control>
				</control>
				<control type="textbox">
					<left>15</left>
					<top>394</top>
					<height>72</height>
					<width>315</width>
					<font>apptv20</font>
					<align>center</align>
					<aligny>top</aligny>
					<label>$INFO[VideoPlayer.ChannelName][CR]$INFO[VideoPlayer.Title]</label>
					<visible>Pvr.IsPlayingTv</visible>
				</control>
				<control type="videowindow"><!-- video preview window, hack to allow playercontrols to work -->
					<left>66</left>
					<top>780</top>
					<width>308</width>
					<height>184</height>
					<visible>false</visible>
				</control>
			</control>
			<control type="group"><!-- Audio Stuff -->
				<visible>Player.HasAudio + String.IsEmpty(Window(videos).Property(PlayingBackgroundMedia))</visible>
				<control type="group"><!-- Playing Non Radio Audio -->
					<visible>!Pvr.IsPlayingRadio</visible>
					<control type="image">
						<left>15</left>
						<top>74</top>
						<width>315</width>
						<height>315</height>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<aligny>top</aligny>
						<texture diffuse="mask-squ.png" background="true">$VAR[PlayerMusicCover]</texture>
					</control>
					<control type="label">
						<left>15</left>
						<top>392</top>
						<height>33</height>
						<width>315</width>
						<label>$VAR[PlayerMusicInfo1]</label>
						<align>center</align>
						<selectedcolor>button-text</selectedcolor>
						<font>apptv18</font>
					</control>
					<control type="label">
						<left>15</left>
						<top>426</top>
						<height>33</height>
						<width>315</width>
						<label>$VAR[PlayerMusicInfo2]</label>
						<align>center</align>
						<selectedcolor>button-text</selectedcolor>
						<font>apptv18</font>
					</control>
				</control>
				<control type="group"><!-- Playing Radio Audio -->
					<visible>Pvr.IsPlayingRadio</visible>
					<control type="image">
						<left>38</left>
						<top>84</top>
						<width>270</width>
						<height>270</height>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<aligny>top</aligny>
						<texture diffuse="mask-squ.png" background="true" fallback="icon-radio.png">$VAR[PVRPlayingIcon]</texture>
					</control>
					<control type="textbox">
						<left>15</left>
						<top>357</top>
						<height>72</height>
						<width>315</width>
						<font>apptv20</font>
						<align>center</align>
						<aligny>top</aligny>
						<label>$LOCALIZE[19021] - $INFO[MusicPlayer.ChannelName][CR]$INFO[MusicPlayer.Title]</label>
					</control>
				</control>
				<control type="button"><!-- Fake fullscreen button as a touch screen work around -->
					<left>15</left>
					<top>74</top>
					<width>315</width>
					<height>315</height>
					<texturefocus>blank.png</texturefocus>
					<texturenofocus>blank.png</texturenofocus>
					<onclick>Fullscreen</onclick>
					<visible>$EXP[isEnabledTouch]</visible>
				</control>
			</control>
		</control>
	</include>
</includes>