<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<!-- Widget headline -->
	<include name="WidgetHeadline">
		<param name="top">23</param>
		<param name="left">65</param>
		<definition>
			<control type="grouplist" id="$PARAM[headlineID]">
				<top>$PARAM[top]</top>
				<left>$PARAM[left]</left>
				<orientation>horizontal</orientation>
				<itemgap>10</itemgap>
				<height>87</height>
				<control type="label">
					<width>auto</width>
					<font>Med23</font>
					<align>left</align>
					<aligny>center</aligny>
					<label>$PARAM[headline]</label>
					<textcolor>text_headline</textcolor>
				</control>
				<control type="image">
					<animation effect="slide" end="0,28" time="0" condition="true">Conditional</animation>
					<height>30</height>
					<width>30</width>
					<texture>$PARAM[headline_icon]</texture>
				</control>
			</control>
		</definition>
	</include>
	<!-- Widget labels -->
	<include name="WidgetLabels">
		<param name="labels_visible">true</param>
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="textoffsetx">0</param>
		<definition>
			<control type="group">
				<top>$PARAM[top]</top>
				<width>$PARAM[width]</width>
				<visible>$PARAM[labels_visible]</visible>
				<control type="label">
					<width>$PARAM[width]</width>
					<height>30</height>
					<label>$PARAM[mainlabel]</label>
					<font>Reg23</font>
					<scroll>$PARAM[focused] + Control.HasFocus($PARAM[id])</scroll>
					<align>center</align>
					<textoffsetx>$PARAM[textoffsetx]</textoffsetx>
					<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
				</control>
				<control type="label">
					<width>$PARAM[width]</width>
					<height>30</height>
					<label>$PARAM[mainlabel]</label>
					<font>Reg23</font>
					<scroll>false</scroll>
					<align>center</align>
					<textoffsetx>$PARAM[textoffsetx]</textoffsetx>
					<visible>!$PARAM[focused] | !Control.HasFocus($PARAM[id])</visible>
				</control>
				<control type="label">
					<top>30</top>
					<width>$PARAM[width]</width>
					<height>30</height>
					<label>$PARAM[sublabel]</label>
					<font>Reg23</font>
					<textcolor>text_sublabel</textcolor>
					<scroll>$PARAM[focused] + Control.HasFocus($PARAM[id])</scroll>
					<align>center</align>
					<textoffsetx>$PARAM[textoffsetx]</textoffsetx>
					<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
				</control>
				<control type="label">
					<top>30</top>
					<width>$PARAM[width]</width>
					<height>30</height>
					<label>$PARAM[sublabel]</label>
					<font>Reg23</font>
					<textcolor>text_sublabel</textcolor>
					<scroll>false</scroll>
					<align>center</align>
					<textoffsetx>$PARAM[textoffsetx]</textoffsetx>
					<visible>!$PARAM[focused] | !Control.HasFocus($PARAM[id])</visible>
				</control>
				<control type="label">
					<top>60</top>
					<width>$PARAM[width]</width>
					<height>30</height>
					<label>$PARAM[sublabel2]</label>
					<font>Reg23</font>
					<textcolor>lightgrey</textcolor>
					<scroll>$PARAM[focused] + Control.HasFocus($PARAM[id])</scroll>
					<align>center</align>
					<textoffsetx>$PARAM[textoffsetx]</textoffsetx>
					<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
				</control>
				<control type="label">
					<top>60</top>
					<width>$PARAM[width]</width>
					<height>30</height>
					<label>$PARAM[sublabel2]</label>
					<font>Reg23</font>
					<textcolor>lightgrey</textcolor>
					<scroll>false</scroll>
					<align>center</align>
					<textoffsetx>$PARAM[textoffsetx]</textoffsetx>
					<visible>!$PARAM[focused] | !Control.HasFocus($PARAM[id])</visible>
				</control>
			</control>
		</definition>
	</include>
	<!-- Static labels -->
	<include name="StaticLabels">
		<param name="labels_visible">true</param>
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="textoffsetx">0</param>
		<definition>
			<control type="group">
				<top>$PARAM[top]</top>
				<width>$PARAM[width]</width>
				<visible>$PARAM[labels_visible]</visible>
				<control type="label">
					<width>$PARAM[width]</width>
					<height>30</height>
					<label>$PARAM[mainlabel]</label>
					<font>Reg23</font>
					<scroll>true</scroll>
					<align>center</align>
					<textoffsetx>$PARAM[textoffsetx]</textoffsetx>
				</control>
				<control type="label">
					<top>30</top>
					<width>$PARAM[width]</width>
					<height>30</height>
					<label>$PARAM[sublabel]</label>
					<font>Reg23</font>
					<textcolor>lightgrey</textcolor>
					<scroll>true</scroll>
					<align>center</align>
					<textoffsetx>$PARAM[textoffsetx]</textoffsetx>
				</control>
			</control>
		</definition>
	</include>
	<!-- Icon button menu -->
	<include name="IconMenu">
		<param name="focused">false</param>
		<definition>
			<control type="group">
				<top>20</top>
				<left>-1</left>
				<width>140</width>
				<height>105</height>
				<visible>!$PARAM[focused] | !Control.HasFocus($PARAM[id])</visible>
				<control type="group">
					<height>62</height>
					<control type="image">
						<texture border="10" colordiffuse="$VAR[LightButtonAccentColor]">items/button.png</texture>
					</control>
					<control type="label">
						<align>center</align>
						<font>Material34</font>
						<label>[COLOR $INFO[ListItem.Property(color)]]$INFO[ListItem.Property(icon)][/COLOR]</label>
					</control>
				</control>
				<control type="label">
					<bottom>0</bottom>
					<height>60</height>
					<align>center</align>
					<font>Med16</font>
					<textoffsetx>2</textoffsetx>
					<label>$INFO[ListItem.Label]</label>
				</control>
			</control>
			<control type="group">
				<top>20</top>
				<left>-1</left>
				<width>140</width>
				<height>105</height>
				<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>62</height>
					<control type="image">
						<texture border="10" colordiffuse="$VAR[ButtonAccentColor]">items/button.png</texture>
					</control>
					<control type="label">
						<align>center</align>
						<font>Material34</font>
						<textcolor>white</textcolor>
						<shadowcolor>text_shadow</shadowcolor>
						<label>$INFO[ListItem.Property(icon)]</label>
					</control>
				</control>
				<control type="label">
					<bottom>0</bottom>
					<height>60</height>
					<align>center</align>
					<font>Med16</font>
					<textoffsetx>2</textoffsetx>
					<textcolor>white</textcolor>
					<scroll>true</scroll>
					<label>$INFO[ListItem.Label]</label>
				</control>
			</control>
		</definition>
	</include>
	<!-- Poster -->
	<include name="PosterLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="icon">$VAR[IconPoster]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">367</param>
					<param name="width">237</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>355</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>243</width>
						<height>361</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>261</width>
						<height>379</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>237</width>
						<height>355</height>
						<texture colordiffuse="$VAR[ThumbFallbackColor]">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>[String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)] + String.IsEmpty(ListItem.Art(tvshow.poster))</visible>
					</control>
					<control type="image">
						<width>237</width>
						<height>355</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>[!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)] | !String.IsEmpty(ListItem.Art(tvshow.poster))</visible>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>217</width>
						<height>335</height>
						<font>Light24</font>
						<textcolor>white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$PARAM[thumblabel]</label>
						<visible>[String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)] + String.IsEmpty(ListItem.Art(tvshow.poster))</visible>
					</control>
					<control type="image">
						<width>237</width>
						<height>355</height>
						<texture background="true">$PARAM[icon]</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
					</control>
					<control type="group">
						<width>237</width>
						<height>355</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="$PARAM[visible_icon]"/>
						</include>
						<include>ListitemOverlay</include>
					</control>
					<include content="Progress">
						<param name="top" value="351"/>
						<param name="width" value="237"/>
					</include>
				</control>
			</control>
		</definition>
	</include>
	<!-- Poster Cast -->
	<include name="CastLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">367</param>
					<param name="width">237</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>355</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>243</width>
						<height>361</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>261</width>
						<height>379</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="group">
						<visible>String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)</visible>
						<control type="image">
							<width>237</width>
							<height>355</height>
							<texture colordiffuse="thumb_background_fallback_secondary">common/white.jpg</texture>
							<aspectratio scalediffuse="false">stretch</aspectratio>
						</control>
						<control type="image">
							<width>237</width>
							<height>355</height>
							<texture>DefaultActor.png</texture>
							<colordiffuse>text_white</colordiffuse>
							<bordersize>20</bordersize>
							<aspectratio scalediffuse="false">keep</aspectratio>
						</control>
					</control>
					<control type="group">
						<visible>!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)</visible>
						<control type="image">
							<width>237</width>
							<height>355</height>
							<texture colordiffuse="thumb_background">common/white.jpg</texture>
							<aspectratio scalediffuse="false">stretch</aspectratio>
						</control>
						<control type="image">
							<width>239</width>
							<height>355</height>
							<texture diffuse="items/workaround_cast_diffuse.png" background="true">$VAR[IconPoster]</texture>
							<aspectratio scalediffuse="false">stretch</aspectratio>
							<visible>!String.StartsWith(ListItem.Icon,Default)</visible>
						</control>
					</control>
					<control type="group">
						<width>237</width>
						<height>355</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="false"/>
						</include>
					</control>
				</control>
			</control>
		</definition>
	</include>
	<!-- Banner -->
	<include name="BannerLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">175</param>
					<param name="width">880</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounceBanner">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>163</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>886</width>
						<height>169</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>904</width>
						<height>187</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>880</width>
						<height>163</height>
						<texture colordiffuse="$VAR[ThumbFallbackColor]">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>![!String.IsEmpty(ListItem.Art(banner)) | !String.IsEmpty(ListItem.Art(tvshow.banner)) | !String.IsEmpty(ListItem.Art(fanart)) | !String.IsEmpty(ListItem.Art(tvshow.fanart))]</visible>
					</control>
					<control type="image">
						<width>880</width>
						<height>163</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.IsEmpty(ListItem.Art(banner)) | !String.IsEmpty(ListItem.Art(tvshow.banner)) | !String.IsEmpty(ListItem.Art(fanart)) | !String.IsEmpty(ListItem.Art(tvshow.fanart))</visible>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>860</width>
						<height>143</height>
						<font>Light24</font>
						<textcolor>white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$PARAM[thumblabel]</label>
						<visible>![!String.IsEmpty(ListItem.Art(banner)) | !String.IsEmpty(ListItem.Art(tvshow.banner)) | !String.IsEmpty(ListItem.Art(fanart)) | !String.IsEmpty(ListItem.Art(tvshow.fanart))]</visible>
					</control>
					<control type="image">
						<width>880</width>
						<height>163</height>
						<texture background="true">$VAR[IconBanner]</texture>
						<aspectratio scalediffuse="false" aligny="top">scale</aspectratio>
						<visible>!String.IsEmpty(ListItem.Art(banner)) | !String.IsEmpty(ListItem.Art(tvshow.banner)) | !String.IsEmpty(ListItem.Art(fanart)) | !String.IsEmpty(ListItem.Art(tvshow.fanart))</visible>
					</control>
					<control type="image">
						<width>880</width>
						<height>163</height>
						<texture background="true">$VAR[ListItemClearlogo]</texture>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<bordersize>20</bordersize>
						<visible>String.IsEmpty(ListItem.Art(banner)) + String.IsEmpty(ListItem.Art(tvshow.banner)) + [!String.IsEmpty(ListItem.Art(fanart)) | !String.IsEmpty(ListItem.Art(tvshow.fanart))]</visible>
					</control>
					<control type="group">
						<width>880</width>
						<height>163</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="$PARAM[visible_icon]"/>
						</include>
						<include>ListitemOverlay</include>
					</control>
					<include content="Progress">
						<param name="top" value="159"/>
						<param name="width" value="880"/>
					</include>
				</control>
			</control>
		</definition>
	</include>
	<!-- Landscape -->
	<include name="LandscapeLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="ar">keep</param>
		<param name="icon">$VAR[IconLandscape]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">254</param>
					<param name="width">430</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>242</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>436</width>
						<height>248</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>454</width>
						<height>266</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>430</width>
						<height>242</height>
						<texture colordiffuse="$VAR[ThumbFallbackColor]">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="image">
						<width>430</width>
						<height>242</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>410</width>
						<height>222</height>
						<font>Light24</font>
						<textcolor>white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$PARAM[thumblabel]</label>
						<visible>String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="image">
						<width>430</width>
						<height>242</height>
						<texture background="true">$PARAM[icon]</texture>
						<aspectratio scalediffuse="false">$PARAM[ar]</aspectratio>
						<visible>![String.IsEqual(ListItem.Path,plugin://plugin.video.youtube/play/) | [String.StartsWith(ListItem.Filenameandpath,plugin://plugin.video.youtube) + String.Contains(ListItem.Filenameandpath,/playlist/)]]</visible>
					</control>
					<control type="image">
						<width>430</width>
						<height>242</height>
						<texture background="true">$PARAM[icon]</texture>
						<aspectratio scalediffuse="false">scale</aspectratio>
						<visible>String.IsEqual(ListItem.Path,plugin://plugin.video.youtube/play/) | [String.StartsWith(ListItem.Filenameandpath,plugin://plugin.video.youtube) + String.Contains(ListItem.Filenameandpath,/playlist/)]</visible>
					</control>
					<control type="group">
						<width>430</width>
						<height>242</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="$PARAM[visible_icon]"/>
						</include>
						<include>ListitemOverlay</include>
					</control>
					<include content="Progress">
						<param name="top" value="238"/>
						<param name="width" value="430"/>
					</include>
				</control>
			</control>
		</definition>
	</include>
	<!-- Landscape Retroplayer -->
	<include name="GameFilterLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">254</param>
					<param name="width">430</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>242</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>436</width>
						<height>248</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>454</width>
						<height>266</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>430</width>
						<height>242</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
					</control>
					<control type="gamewindow">
						<width>430</width>
						<height>242</height>
						<videofilter>$INFO[ListItem.Property(game.videofilter)]</videofilter>
						<stretchmode>$INFO[ListItem.Property(game.stretchmode)]</stretchmode>
						<rotation>$INFO[ListItem.Property(game.videorotation)]</rotation>
					</control>
				</control>
			</control>
		</definition>
	</include>
	<!-- Square Settings-->
	<include name="SettingsLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">292</param>
					<param name="width">280</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>280</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>286</width>
						<height>286</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>304</width>
						<height>304</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>280</width>
						<height>280</height>
						<texture colordiffuse="$PARAM[color]">common/white.jpg</texture>
						<aspectratio>stretch</aspectratio>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>260</width>
						<height>260</height>
						<font>Material80</font>
						<textcolor>text_white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$INFO[ListItem.Label2]</label>
					</control>
				</control>
			</control>
		</definition>
	</include>
	<!-- Square -->
	<include name="SquareLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="icon">$VAR[IconSquare]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">292</param>
					<param name="width">280</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>280</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>286</width>
						<height>286</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>304</width>
						<height>304</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>280</width>
						<height>280</height>
						<texture colordiffuse="$VAR[ThumbFallbackColor]">common/white.jpg</texture>
						<aspectratio>stretch</aspectratio>
						<visible>String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="image">
						<width>280</width>
						<height>280</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>260</width>
						<height>260</height>
						<font>Light24</font>
						<textcolor>white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$PARAM[thumblabel]</label>
						<visible>String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="image">
						<width>280</width>
						<height>280</height>
						<texture background="true">$PARAM[icon]</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.StartsWith(ListItem.Path,pvr://)</visible>
					</control>
					<control type="image">
						<width>280</width>
						<height>280</height>
						<texture background="true">$PARAM[icon]</texture>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<visible>String.StartsWith(ListItem.Path,pvr://)</visible>
					</control>
					<control type="group">
						<width>280</width>
						<height>280</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="$PARAM[visible_icon]"/>
						</include>
						<include content="ListitemOverlay">
							<param name="pvr_overlay" value="false"/>
						</include>
					</control>
					<include content="Progress">
						<param name="top" value="277"/>
						<param name="width" value="280"/>
					</include>
				</control>
			</control>
		</definition>
	</include>
	<!-- Profiles -->
	<include name="ProfileLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">288</param>
					<param name="width">276</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>276</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>282</width>
						<height>282</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>300</width>
						<height>300</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>276</width>
						<height>276</height>
						<texture colordiffuse="thumb_background_fallback_secondary">common/white.jpg</texture>
						<aspectratio>stretch</aspectratio>
						<visible>String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="image">
						<width>276</width>
						<height>276</height>
						<texture background="true">views/profile/logindefault.png</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="image">
						<width>276</width>
						<height>276</height>
						<texture background="true">$INFO[ListItem.Icon]</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
				</control>
			</control>
		</definition>
	</include>
	<!-- Genre
	<include name="GenreLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">367</param>
					<param name="width">237</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>355</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>243</width>
						<height>361</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>261</width>
						<height>379</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>237</width>
						<height>355</height>
						<texture colordiffuse="$VAR[ThumbFallbackColor]">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>String.IsEmpty(ListItem.Art(poster.0))</visible>
					</control>
					<control type="image">
						<width>237</width>
						<height>355</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.IsEmpty(ListItem.Art(poster.0))</visible>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>217</width>
						<height>335</height>
						<font>Light24</font>
						<textcolor>white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$PARAM[thumblabel]</label>
						<visible>String.IsEmpty(ListItem.Art(poster.0))</visible>
					</control>
					<control type="group">
						<width>237</width>
						<height>355</height>
						<control type="image">
							<width>119</width>
							<height>178</height>
							<texture background="true">$INFO[ListItem.Art(poster.0)]</texture>
							<aspectratio>stretch</aspectratio>
						</control>
						<control type="image">
							<right>0</right>
							<width>118</width>
							<height>178</height>
							<texture background="true">$INFO[ListItem.Art(poster.1)]</texture>
							<aspectratio>stretch</aspectratio>
						</control>
						<control type="image">
							<bottom>0</bottom>
							<width>119</width>
							<height>177</height>
							<texture background="true">$INFO[ListItem.Art(poster.2)]</texture>
							<aspectratio>stretch</aspectratio>
						</control>
						<control type="image">
							<right>0</right>
							<bottom>0</bottom>
							<width>118</width>
							<height>177</height>
							<texture background="true">$INFO[ListItem.Art(poster.3)]</texture>
							<aspectratio>stretch</aspectratio>
						</control>
					</control>
					<control type="group">
						<width>237</width>
						<height>355</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="$PARAM[visible_icon]"/>
						</include>
					</control>
				</control>
			</control>
		</definition>
	</include>-->
	<!-- Main Menu -->
	<include name="MainMenuLayout">
		<param name="focused">false</param>
		<definition>
			<include content="WidgetLabels">
				<param name="top">170</param>
				<param name="width">280</param>
				<param name="id">$PARAM[id]</param>
				<param name="mainlabel">$PARAM[mainlabel]</param>
				<param name="sublabel">$PARAM[sublabel]</param>
				<param name="focused">$PARAM[focused]</param>
				<param name="labels_visible">$PARAM[labels_visible]</param>
			</include>
			<control type="group">
				<include content="Animation_FocusBounce">
					<param name="id" value="$PARAM[id]"/>
				</include>
				<height>158</height>
				<control type="image">
					<top>-2</top>
					<left>-2</left>
					<width>286</width>
					<height>164</height>
					<texture border="20,20,20,20">items/shadow.png</texture>
				</control>
				<control type="image">
					<left>-12</left>
					<top>-7</top>
					<width>304</width>
					<height>182</height>
					<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
					<aspectratio>stretch</aspectratio>
					<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
					<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
				</control>
				<!-- icon -->
				<control type="group">
					<visible>
						String.IsEmpty(ListItem.Property(useFakeArt))
						| String.IsEqual(ListItem.Property(useFakeArt),false)
						| [String.IsEqual(ListItem.Property(useFakeArt),true) + [String.IsEmpty(ListItem.Property(Art1)) | String.IsEmpty(ListItem.Property(Art2)) | String.IsEmpty(ListItem.Property(Art3)) | String.IsEmpty(ListItem.Property(Art4))]]
					</visible>
					<control type="image">
						<width>280</width>
						<height>158</height>
						<texture colordiffuse="thumb_background_fallback_secondary">common/white.jpg</texture>
						<aspectratio>stretch</aspectratio>
						<visible>String.StartsWith(ListItem.Icon,Default) | String.IsEmpty(ListItem.Icon)</visible>
					</control>
					<control type="image">
						<width>280</width>
						<height>158</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<visible>!String.StartsWith(ListItem.Icon,Default) + !String.IsEmpty(ListItem.Icon)</visible>
					</control>
					<control type="group">
						<visible>!String.StartsWith(ListItem.Icon,Default) + !String.IsEmpty(ListItem.Icon)</visible>
						<control type="image">
							<width>280</width>
							<height>158</height>
							<texture background="true">$INFO[ListItem.Icon]</texture>
							<aspectratio scalediffuse="false">keep</aspectratio>
							<visible>String.IsEqual(ListItem.Property(aspectRatio),keep) | String.IsEmpty(ListItem.Property(aspectRatio))</visible>
						</control>
						<control type="image">
							<width>280</width>
							<height>158</height>
							<texture background="true">$INFO[ListItem.Icon]</texture>
							<aspectratio scalediffuse="false">stretch</aspectratio>
							<visible>String.IsEqual(ListItem.Property(aspectRatio),stretch)</visible>
						</control>
						<control type="image">
							<width>280</width>
							<height>158</height>
							<texture background="true">$INFO[ListItem.Icon]</texture>
							<aspectratio scalediffuse="false">scale</aspectratio>
							<visible>String.IsEqual(ListItem.Property(aspectRatio),scale)</visible>
						</control>
					</control>
					<control type="image">
						<width>280</width>
						<height>158</height>
						<texture background="true">$VAR[MainMenuFallbackIcon]</texture>
						<colordiffuse>ccffffff</colordiffuse>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<bordersize>10</bordersize>
						<visible>String.StartsWith(ListItem.Icon,Default) | String.IsEmpty(ListItem.Icon)</visible>
					</control>
				</control>
				<!-- emby styled art -->
				<control type="group">
					<visible>String.IsEqual(ListItem.Property(useFakeArt),true) + !String.IsEmpty(ListItem.Property(Art1)) + !String.IsEmpty(ListItem.Property(Art2)) + !String.IsEmpty(ListItem.Property(Art3)) + !String.IsEmpty(ListItem.Property(Art4))</visible>
					<top>2</top>
					<width>280</width>
					<control type="image">
						<top>-2</top>
						<width>280</width>
						<height>158</height>
						<texture colordiffuse="ff010202">common/white.jpg</texture>
					</control>
					<!-- art 1 -->
					<control type="group">
						<width>66</width>
						<left>3</left>
						<control type="image">
							<height>110</height>
							<texture colordiffuse="thumb_background">common/white.jpg</texture>
							<aspectratio>scale</aspectratio>
						</control>
						<control type="image">
							<height>110</height>
							<texture background="true">$INFO[ListItem.Property(Art1)]</texture>
							<aspectratio>scale</aspectratio>
						</control>
						<control type="image">
							<top>112</top>
							<height>110</height>
							<texture flipy="true" diffuse="items/mirror_mask.png" colordiffuse="thumb_background">common/white.jpg</texture>
							<aspectratio scalediffuse="false">scale</aspectratio>
						</control>
						<control type="image">
							<top>112</top>
							<height>110</height>
							<texture flipy="true" diffuse="items/mirror_mask.png" background="true">$INFO[ListItem.Property(Art1)]</texture>
							<aspectratio scalediffuse="false">scale</aspectratio>
						</control>
					</control>
					<!-- art 2 -->
					<control type="group">
						<width>65</width>
						<left>73</left>
						<control type="image">
							<height>110</height>
							<texture colordiffuse="thumb_background">common/white.jpg</texture>
							<aspectratio>scale</aspectratio>
						</control>
						<control type="image">
							<height>110</height>
							<texture background="true">$INFO[ListItem.Property(Art2)]</texture>
							<aspectratio>scale</aspectratio>
						</control>
						<control type="image">
							<top>112</top>
							<height>110</height>
							<texture flipy="true" diffuse="items/mirror_mask.png" colordiffuse="thumb_background">common/white.jpg</texture>
							<aspectratio scalediffuse="false">scale</aspectratio>
						</control>
						<control type="image">
							<top>112</top>
							<height>110</height>
							<texture flipy="true" diffuse="items/mirror_mask.png" background="true">$INFO[ListItem.Property(Art2)]</texture>
							<aspectratio scalediffuse="false">scale</aspectratio>
						</control>
					</control>
					<!-- art 3 -->
					<control type="group">
						<width>65</width>
						<left>142</left>
						<control type="image">
							<height>110</height>
							<texture colordiffuse="thumb_background">common/white.jpg</texture>
							<aspectratio>scale</aspectratio>
						</control>
						<control type="image">
							<height>110</height>
							<texture background="true">$INFO[ListItem.Property(Art3)]</texture>
							<aspectratio>scale</aspectratio>
						</control>
						<control type="image">
							<top>112</top>
							<height>110</height>
							<texture flipy="true" diffuse="items/mirror_mask.png" colordiffuse="thumb_background">common/white.jpg</texture>
							<aspectratio scalediffuse="false">scale</aspectratio>
						</control>
						<control type="image">
							<top>112</top>
							<height>110</height>
							<texture flipy="true" diffuse="items/mirror_mask.png" background="true">$INFO[ListItem.Property(Art3)]</texture>
							<aspectratio scalediffuse="false">scale</aspectratio>
						</control>
					</control>
					<!-- art 4 -->
					<control type="group">
						<width>66</width>
						<left>211</left>
						<control type="image">
							<height>110</height>
							<texture colordiffuse="thumb_background">common/white.jpg</texture>
							<aspectratio>scale</aspectratio>
						</control>
						<control type="image">
							<height>110</height>
							<texture background="true">$INFO[ListItem.Property(Art4)]</texture>
							<aspectratio>scale</aspectratio>
						</control>
						<control type="image">
							<top>112</top>
							<height>110</height>
							<texture flipy="true" diffuse="items/mirror_mask.png" colordiffuse="thumb_background">common/white.jpg</texture>
							<aspectratio scalediffuse="false">scale</aspectratio>
						</control>
						<control type="image">
							<top>112</top>
							<height>110</height>
							<texture flipy="true" diffuse="items/mirror_mask.png" background="true">$INFO[ListItem.Property(Art4)]</texture>
							<aspectratio scalediffuse="false">scale</aspectratio>
						</control>
					</control>
				</control>
				<control type="group">
					<width>280</width>
					<height>158</height>
					<include content="ListitemActionOverlay">
						<param name="focused" value="$PARAM[focused]"/>
						<param name="id" value="$PARAM[id]"/>
						<param name="visible_icon" value="$PARAM[visible_icon]"/>
					</include>
				</control>
			</control>
		</definition>
	</include>
	<!-- Small Menu -->
	<include name="SmallMenuLayout">
		<param name="focused">false</param>
		<definition>
			<control type="group">
				<height>60</height>
				<control type="group">
					<visible>!Control.HasFocus($PARAM[id]) | !$PARAM[focused]</visible>
					<control type="image">
						<width>250</width>
						<height>60</height>
						<texture border="10" colordiffuse="grey_button">items/button.png</texture>
						<aspectratio>stretch</aspectratio>
					</control>
					<control type="label">
						<width>250</width>
						<height>60</height>
						<font>Button</font>
						<textcolor>white</textcolor>
						<shadowcolor>text_shadow</shadowcolor>
						<textoffsetx>10</textoffsetx>
						<aligny>center</aligny>
						<align>center</align>
						<label>$INFO[ListItem.Label]</label>
						<scroll>false</scroll>
					</control>
				</control>
				<control type="group">
					<visible>Control.HasFocus($PARAM[id]) + $PARAM[focused]</visible>
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<control type="image">
						<width>250</width>
						<height>60</height>
						<texture border="10" colordiffuse="$VAR[AccentColor]">items/button.png</texture>
						<aspectratio>stretch</aspectratio>
					</control>
					<control type="label">
						<width>250</width>
						<height>60</height>
						<font>Button</font>
						<textcolor>white</textcolor>
						<shadowcolor>text_shadow</shadowcolor>
						<textoffsetx>10</textoffsetx>
						<aligny>center</aligny>
						<align>center</align>
						<label>$INFO[ListItem.Label]</label>
						<scroll>true</scroll>
					</control>
				</control>
			</control>
		</definition>
	</include>
	<!-- List -->
	<include name="ListLayout">
		<param name="focused">false</param>
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="rightlabel">$VAR[RightListLabel]</param>
		<param name="rightlabel2">$VAR[RightListLabel2]</param>
		<definition>
			<control type="group">
				<include content="Animation_FocusBounceList">
					<param name="id" value="$PARAM[id]"/>
				</include>
				<control type="group">
					<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
					<control type="image">
						<top>6</top>
						<bottom>6</bottom>
						<left>-12</left>
						<right>-11</right>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio>stretch</aspectratio>
					</control>
					<control type="image">
						<left>-25</left>
						<right>-24</right>
						<top>-2</top>
						<bottom>-12</bottom>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<include>Animation_FocusTextureFade</include>
					</control>
				</control>
				<control type="group">
					<top>10</top>
					<control type="image">
						<width>68</width>
						<height>100</height>
						<texture>DefaultIconError.png</texture>
						<aspectratio aligny="center" align="center">keep</aspectratio>
						<visible>String.IsEmpty(ListItem.Icon)</visible>
					</control>
					<control type="image">
						<width>68</width>
						<height>100</height>
						<texture background="true">$VAR[IconListView]</texture>
						<aspectratio aligny="center" align="center">keep</aspectratio>
						<visible>!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="image">
						<width>68</width>
						<height>100</height>
						<texture colordiffuse="text_white" background="true">$VAR[IconListView]</texture>
						<aspectratio aligny="center" align="center">keep</aspectratio>
						<visible>String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<include content="ListitemOverlaySmall">
						<param name="left" value="45"/>
						<param name="top" value="5"/>
					</include>
				</control>
				<control type="group">
					<visible>![Player.HasMedia + String.IsEqual(ListItem.Title,Player.Title)] + !ListItem.IsSelected</visible>
					<control type="label">
						<left>100</left>
						<right>250</right>
						<height>120</height>
						<font>Reg24</font>
						<scroll>$PARAM[focused]</scroll>
						<label>$PARAM[mainlabel][CR][COLOR text_sublabel]$PARAM[sublabel][/COLOR]</label>
					</control>
					<control type="label">
						<right>0</right>
						<width>300</width>
						<height>120</height>
						<align>right</align>
						<font>Reg24</font>
						<scroll>$PARAM[focused]</scroll>
						<label>$PARAM[rightlabel][CR][COLOR text_sublabel]$PARAM[rightlabel2][/COLOR]</label>
					</control>
				</control>
				<control type="group">
					<visible>[Player.HasMedia + String.IsEqual(ListItem.Title,Player.Title)] | ListItem.IsSelected</visible>
					<control type="label">
						<left>100</left>
						<right>250</right>
						<height>120</height>
						<font>Reg24</font>
						<label>$PARAM[mainlabel][CR]$PARAM[sublabel]</label>
					</control>
					<control type="label">
						<right>0</right>
						<width>300</width>
						<height>120</height>
						<align>right</align>
						<font>Reg24</font>
						<label>$PARAM[rightlabel][CR]$PARAM[rightlabel2]</label>
					</control>
				</control>
			</control>
		</definition>
	</include>
	<!-- Big list -->
	<include name="BigListLayout">
		<param name="mainlabel">$VAR[EpisodeListLabel]</param>
		<param name="sublabel">$VAR[DurationMinutes,,   ]$VAR[ListItemEndTime,$LOCALIZE[31037] ]</param>
		<param name="thumblabel">$VAR[EpisodeListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<!-- art -->
				<control type="group">
					<width>448</width>
					<height>263</height>
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>430</width>
						<height>245</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>448</width>
						<height>263</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>424</width>
						<height>239</height>
						<texture colordiffuse="$VAR[ThumbFallbackColor]">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="image">
						<width>424</width>
						<height>239</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>404</width>
						<height>219</height>
						<font>Light24</font>
						<textcolor>white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$PARAM[thumblabel]</label>
						<visible>String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="image">
						<width>424</width>
						<height>239</height>
						<texture background="true">$VAR[IconLandscape]</texture>
						<aspectratio scalediffuse="false">keep</aspectratio>
					</control>
					<control type="group">
						<width>424</width>
						<height>239</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="$PARAM[visible_icon]"/>
						</include>
						<include>ListitemOverlay</include>
					</control>
					<include content="Progress">
						<param name="top" value="235"/>
						<param name="width" value="424"/>
					</include>
				</control>
				<!-- meta -->
				<control type="group">
					<visible>!ListItem.IsParentFolder</visible>
					<left>450</left>
					<control type="label">
						<top>4</top>
						<height>50</height>
						<label>$PARAM[mainlabel]</label>
						<font>Reg32</font>
						<aligny>top</aligny>
					</control>
					<control type="label">
						<animation effect="slide" end="0,1" time="0" condition="true">Conditional</animation>
						<label>&#xf4ce;</label>
						<font>Material28</font>
						<textcolor>red</textcolor>
						<top>50</top>
						<right>55</right>
						<height>50</height>
						<aligny>top</aligny>
						<visible>!String.IsEmpty(ListItem.Rating)</visible>
					</control>
					<control type="label">
						<left>30</left>
						<top>50</top>
						<height>50</height>
						<label>$INFO[ListItem.Rating]</label>
						<font>Reg24</font>
						<aligny>top</aligny>
						<visible>!String.IsEmpty(ListItem.Rating)</visible>
					</control>
					<control type="label">
						<animation effect="slide" end="80,0" time="0" condition="!String.IsEmpty(ListItem.Rating) + !String.IsEqual(ListItem.Rating,10.0)">Conditional</animation>
						<animation effect="slide" end="95,0" time="0" condition="!String.IsEmpty(ListItem.Rating) + String.IsEqual(ListItem.Rating,10.0)">Conditional</animation>
						<top>50</top>
						<height>50</height>
						<label>$PARAM[sublabel]</label>
						<font>Reg24</font>
						<aligny>top</aligny>
					</control>
					<control type="textbox">
						<top>100</top>
						<width>100%</width>
						<height max="135">auto</height>
						<align>justify</align>
						<aligny>top</aligny>
						<label fallback="19055">$INFO[ListItem.EpisodeName,, - ]$INFO[ListItem.Plot]</label>
						<font>Light24</font>
						<autoscroll>false</autoscroll>
					</control>
				</control>
			</control>
		</definition>
	</include>
	<!-- Square Favourites -->
	<include name="SquareFavourites">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">292</param>
					<param name="width">280</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>280</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>286</width>
						<height>286</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>304</width>
						<height>304</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>280</width>
						<height>280</height>
						<texture colordiffuse="$VAR[ThumbFallbackColor]">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="image">
						<width>280</width>
						<height>280</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>260</width>
						<height>260</height>
						<font>Light24</font>
						<textcolor>white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$PARAM[thumblabel]</label>
						<visible>String.IsEmpty(ListItem.Icon) | String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="image">
						<width>280</width>
						<height>280</height>
						<texture background="true">$INFO[ListItem.Icon]</texture>
						<aspectratio scalediffuse="true">keep</aspectratio>
						<bordersize>20</bordersize>
						<visible>!String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="group">
						<width>280</width>
						<height>280</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="$PARAM[visible_icon]"/>
						</include>
					</control>
				</control>
			</control>
		</definition>
	</include>
	<!-- Fake mini epg -->
	<include name="MiniEPG">
		<control type="group">
			<!-- headlines -->
			<control type="group">
				<bottom>383</bottom>
				<height>30</height>
				<!-- channel layout -->
				<control type="group">
					<width>395</width>
					<control type="label">
						<height>30</height>
						<font>Med20</font>
						<label>$INFO[VideoPlayer.ChannelGroup]</label>
						<aligny>center</aligny>
						<textoffsetx>25</textoffsetx>
					</control>
				</control>
				<control type="group">
					<left>395</left>
					<!-- on now -->
					<control type="group">
						<width>50%</width>
						<control type="label">
							<left>25</left>
							<height>30</height>
							<font>Med20</font>
							<label>$LOCALIZE[31346]</label>
							<aligny>center</aligny>
						</control>
						<control type="label">
							<right>25</right>
							<height>30</height>
							<font>Med20</font>
							<label>$LOCALIZE[19127]</label>
							<aligny>center</aligny>
							<align>right</align>
						</control>
					</control>
					<!-- next up  -->
					<control type="group">
						<right>0</right>
						<width>50%</width>
						<control type="label">
							<left>25</left>
							<height>30</height>
							<font>Med20</font>
							<label>$LOCALIZE[31012]</label>
							<aligny>center</aligny>
						</control>
						<control type="label">
							<right>25</right>
							<height>30</height>
							<font>Med20</font>
							<label>$LOCALIZE[19127]</label>
							<aligny>center</aligny>
							<align>right</align>
						</control>
					</control>
				</control>
			</control>
			<!-- list -->
			<control type="list" id="11">
				<bottom>30</bottom>
				<height>332</height>
				<orientation>vertical</orientation>
				<onleft>PreviousChannelGroup</onleft>
				<onright>NextChannelGroup</onright>
				<itemlayout height="83">
					<include>MiniEPGLayout</include>
				</itemlayout>
				<focusedlayout height="83">
					<include content="MiniEPGLayout">
						<param name="focused" value="true"/>
					</include>
				</focusedlayout>
			</control>
			<!-- grid -->
			<control type="image">
				<texture colordiffuse="grid_border">common/white.jpg</texture>
				<bottom>360</bottom>
				<height>2</height>
			</control>
			<control type="image">
				<texture colordiffuse="grid_border">common/white.jpg</texture>
				<bottom>30</bottom>
				<height>2</height>
			</control>
			<!-- fake focus -->
			<control type="group">
				<animation effect="slide" end="0,-83" time="0" condition="Container(11).Row(2)">Conditional</animation>
				<animation effect="slide" end="0,-166" time="0" condition="Container(11).Row(1)">Conditional</animation>
				<animation effect="slide" end="0,-249" time="0" condition="Container(11).Row(0)">Conditional</animation>
				<bottom>12</bottom>
				<left>395</left>
				<height>101</height>
				<control type="group">
					<width>50%</width>
					<control type="image">
						<left>-12</left>
						<right>-10</right>
						<top>-7</top>
						<height>105</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
					</control>
				</control>
			</control>
		</control>
	</include>
	<include name="MiniEPGLayout">
		<param name="focused">false</param>
		<definition>
			<!-- channel layout -->
			<control type="group">
				<width>395</width>
				<control type="image">
					<width>395</width>
					<height>83</height>
					<texture border="3,3,3,3" colordiffuse="grid_border">views/guide/epg_tile.png</texture>
				</control>
				<control type="label">
					<left>25</left>
					<width>50</width>
					<height>81</height>
					<aligny>center</aligny>
					<font>Reg22</font>
					<label>$INFO[ListItem.ChannelNumberLabel]</label>
				</control>
				<control type="label">
					<left>78</left>
					<right>120</right>
					<height>81</height>
					<aligny>center</aligny>
					<font>Reg22</font>
					<label>$INFO[ListItem.ChannelName]</label>
				</control>
				<control type="image">
					<right>10</right>
					<width>100</width>
					<height>81</height>
					<texture background="true">$INFO[ListItem.Icon]</texture>
					<aspectratio align="right">keep</aspectratio>
					<bordersize>10</bordersize>
				</control>
			</control>
			<!-- current programme -->
			<control type="group">
				<left>395</left>
				<control type="group">
					<width>50%</width>
					<control type="image">
						<height>83</height>
						<texture colordiffuse="cc282828">common/white.jpg</texture>
						<include>FakeProgressAnimation</include>
					</control>
					<control type="image">
						<height>83</height>
						<texture border="3,3,3,3" colordiffuse="grid_border">views/guide/epg_tile.png</texture>
					</control>
					<control type="label">
						<textoffsetx>25</textoffsetx>
						<width>75%</width>
						<height>81</height>
						<aligny>center</aligny>
						<font>Reg22</font>
						<selectedcolor>text_white</selectedcolor>
						<label fallback="19055">$INFO[ListItem.Title]</label>
					</control>
					<control type="label">
						<right>0</right>
						<textoffsetx>25</textoffsetx>
						<width>25%</width>
						<height>81</height>
						<aligny>center</aligny>
						<align>right</align>
						<font>Reg22</font>
						<selectedcolor>text_white</selectedcolor>
						<label>$INFO[ListItem.EndTime]</label>
					</control>
				</control>
				<control type="group">
					<right>0</right>
					<width>50%</width>
					<control type="image">
						<height>83</height>
						<texture border="3,3,3,3" colordiffuse="grid_border">views/guide/epg_tile.png</texture>
					</control>
					<control type="label">
						<textoffsetx>25</textoffsetx>
						<width>75%</width>
						<height>81</height>
						<aligny>center</aligny>
						<font>Reg22</font>
						<selectedcolor>text_white</selectedcolor>
						<label fallback="19055">$INFO[ListItem.NextTitle]</label>
					</control>
					<control type="label">
						<right>0</right>
						<textoffsetx>25</textoffsetx>
						<width>25%</width>
						<height>81</height>
						<aligny>center</aligny>
						<align>right</align>
						<font>Reg22</font>
						<selectedcolor>text_white</selectedcolor>
						<label>$INFO[ListItem.NextEndTime]</label>
					</control>
				</control>
			</control>
		</definition>
	</include>
	<!-- PVR -->
	<include name="PVRPosterLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">367</param>
					<param name="width">237</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>355</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>243</width>
						<height>361</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>261</width>
						<height>379</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>237</width>
						<height>355</height>
						<texture colordiffuse="$VAR[ThumbFallbackColor]">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>String.IsEmpty(ListItem.EpgEventIcon) + [String.StartsWith(ListItem.Icon,Default) | String.IsEmpty(ListItem.Icon)]</visible>
					</control>
					<control type="image">
						<width>237</width>
						<height>355</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.IsEmpty(ListItem.EpgEventIcon) | [!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)]</visible>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>217</width>
						<height>335</height>
						<font>Light24</font>
						<textcolor>white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label fallback="10006">$PARAM[thumblabel]</label>
						<visible>String.IsEmpty(ListItem.EpgEventIcon) + [String.StartsWith(ListItem.Icon,Default) | String.IsEmpty(ListItem.Icon)]</visible>
					</control>
					<control type="image">
						<width>237</width>
						<height>355</height>
						<texture background="true">$VAR[IconPVR]</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>[!String.IsEmpty(ListItem.EpgEventIcon) | $EXP[RecHasThumb]] + !Skin.HasSetting(UseChannelLogo)</visible>
					</control>
					<control type="image">
						<width>237</width>
						<height>355</height>
						<texture background="true">$VAR[IconPVR]</texture>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<visible>[String.IsEmpty(ListItem.EpgEventIcon) + !$EXP[RecHasThumb]] | Skin.HasSetting(UseChannelLogo)</visible>
					</control>
					<control type="group">
						<width>237</width>
						<height>355</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="$PARAM[visible_icon]"/>
						</include>
						<include>ListitemOverlay</include>
					</control>
					<include content="Progress">
						<param name="top" value="351"/>
						<param name="width" value="237"/>
					</include>
				</control>
			</control>
		</definition>
	</include>
	<include name="PVRLandscapeLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">254</param>
					<param name="width">430</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>242</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>436</width>
						<height>248</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>454</width>
						<height>266</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>430</width>
						<height>242</height>
						<texture colordiffuse="$VAR[ThumbFallbackColor]">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>String.IsEmpty(ListItem.EpgEventIcon) + [String.StartsWith(ListItem.Icon,Default) | String.IsEmpty(ListItem.Icon)]</visible>
					</control>
					<control type="image">
						<width>430</width>
						<height>242</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.IsEmpty(ListItem.EpgEventIcon) | [!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)]</visible>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>410</width>
						<height>222</height>
						<font>Light24</font>
						<textcolor>white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label fallback="10006">$PARAM[thumblabel]</label>
						<visible>String.IsEmpty(ListItem.EpgEventIcon) + [String.StartsWith(ListItem.Icon,Default) | String.IsEmpty(ListItem.Icon)]</visible>
					</control>
					<control type="image">
						<width>430</width>
						<height>242</height>
						<texture background="true">$VAR[IconPVR]</texture>
						<aspectratio scalediffuse="false">keep</aspectratio>
					</control>
					<control type="group">
						<width>430</width>
						<height>242</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="$PARAM[visible_icon]"/>
						</include>
						<include>ListitemOverlay</include>
					</control>
					<include content="Progress">
						<param name="top" value="238"/>
						<param name="width" value="430"/>
					</include>
				</control>
			</control>
		</definition>
	</include>
	<include name="PVRLandscapeLogoLayout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">254</param>
					<param name="width">430</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>242</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>436</width>
						<height>248</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>454</width>
						<height>266</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>430</width>
						<height>242</height>
						<texture colordiffuse="$VAR[ThumbFallbackColor]">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>String.StartsWith(ListItem.Icon,Default) | String.IsEmpty(ListItem.Icon)</visible>
					</control>
					<control type="image">
						<width>430</width>
						<height>242</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>410</width>
						<height>222</height>
						<font>Light24</font>
						<textcolor>white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label fallback="10006">$PARAM[thumblabel]</label>
						<visible>String.StartsWith(ListItem.Icon,Default) | String.IsEmpty(ListItem.Icon)</visible>
					</control>
					<control type="image">
						<width>430</width>
						<height>242</height>
						<texture background="true">$INFO[ListItem.Icon]</texture>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<visible>!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)</visible>
					</control>
					<control type="group">
						<width>430</width>
						<height>242</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="$PARAM[visible_icon]"/>
						</include>
						<include content="ListitemOverlay">
							<param name="pvr_overlay" value="false"/>
						</include>
					</control>
					<include content="Progress">
						<param name="top" value="238"/>
						<param name="width" value="430"/>
					</include>
				</control>
			</control>
		</definition>
	</include>
	<include name="PVR4to3Layout">
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="focused">false</param>
		<param name="visible">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="WidgetLabels">
					<param name="top">239</param>
					<param name="width">340</param>
					<param name="id">$PARAM[id]</param>
					<param name="mainlabel">$PARAM[mainlabel]</param>
					<param name="sublabel">$PARAM[sublabel]</param>
					<param name="focused">$PARAM[focused]</param>
					<param name="labels_visible">$PARAM[labels_visible]</param>
				</include>
				<control type="group">
					<include content="Animation_FocusBounce">
						<param name="id" value="$PARAM[id]"/>
					</include>
					<height>242</height>
					<control type="image">
						<top>-2</top>
						<left>-2</left>
						<width>346</width>
						<height>233</height>
						<texture border="20,20,20,20">items/shadow.png</texture>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>364</width>
						<height>251</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>$PARAM[focused] + Control.HasFocus($PARAM[id])</visible>
						<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
					</control>
					<control type="image">
						<width>340</width>
						<height>227</height>
						<texture colordiffuse="$VAR[ThumbFallbackColor]">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>String.IsEmpty(ListItem.EpgEventIcon) + [String.StartsWith(ListItem.Icon,Default) | String.IsEmpty(ListItem.Icon)]</visible>
					</control>
					<control type="image">
						<width>340</width>
						<height>227</height>
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>!String.IsEmpty(ListItem.EpgEventIcon) | [!String.IsEmpty(ListItem.Icon) + !String.StartsWith(ListItem.Icon,Default)]</visible>
					</control>
					<control type="textbox">
						<top>10</top>
						<left>10</left>
						<width>320</width>
						<height>207</height>
						<font>Light24</font>
						<textcolor>white</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label fallback="10006">$PARAM[thumblabel]</label>
						<visible>String.IsEmpty(ListItem.EpgEventIcon) + [String.StartsWith(ListItem.Icon,Default) | String.IsEmpty(ListItem.Icon)]</visible>
					</control>
					<control type="image">
						<width>340</width>
						<height>227</height>
						<texture background="true">$VAR[IconPVR]</texture>
						<aspectratio scalediffuse="false">stretch</aspectratio>
						<visible>[!String.IsEmpty(ListItem.EpgEventIcon) | $EXP[RecHasThumb]] + !Skin.HasSetting(UseChannelLogo)</visible>
					</control>
					<control type="image">
						<width>340</width>
						<height>227</height>
						<texture background="true">$VAR[IconPVR]</texture>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<visible>[String.IsEmpty(ListItem.EpgEventIcon) + !$EXP[RecHasThumb]] | Skin.HasSetting(UseChannelLogo)</visible>
					</control>
					<control type="group">
						<width>340</width>
						<height>227</height>
						<include content="ListitemActionOverlay">
							<param name="focused" value="$PARAM[focused]"/>
							<param name="id" value="$PARAM[id]"/>
							<param name="visible_icon" value="$PARAM[visible_icon]"/>
						</include>
						<include>ListitemOverlay</include>
					</control>
					<include content="Progress">
						<param name="top" value="223"/>
						<param name="width" value="340"/>
					</include>
				</control>
			</control>
		</definition>
	</include>
</includes>
