<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="HomeRecentlyAddedInfo">
		<control type="group" id="9003">
			<depth>DepthMenu</depth>
			<onup>20</onup>
			<ondown condition="Control.IsVisible(600)">600</ondown>
			<ondown condition="!Control.IsVisible(600)">9000</ondown>
			<visible>!Window.IsVisible(Favourites)</visible>
			<include>VisibleFadeEffect</include>
			<animation effect="fade" time="225" delay="750">WindowOpen</animation>
			<animation effect="fade" time="150">WindowClose</animation>
			<control type="group">
				<left>190</left>
				<top>50</top>
				<visible>Library.HasContent(Movies)</visible>
				<visible>Container(9000).Hasfocus(10) + !Skin.HasSetting(HomepageHideRecentlyAddedVideo) + !Skin.HasSetting(HomeMenuMovieUsePlaylist)</visible>
				<include>VisibleFadeEffect</include>
				<control type="label">
					<description>Title label</description>
					<left>180</left>
					<top>220</top>
					<height>20</height>
					<width>540</width>
					<label>20386</label>
					<align>center</align>
					<aligny>center</aligny>
					<font>font12_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="list" id="8000">
					<animation effect="slide" start="0,0" end="90,0" time="0" condition="String.IsEqual(Container(8000).NumItems,4)">conditional</animation>
					<animation effect="slide" start="0,0" end="180,0" time="0" condition="String.IsEqual(Container(8000).NumItems,3)">conditional</animation>
					<animation effect="slide" start="0,0" end="270,0" time="0" condition="String.IsEqual(Container(8000).NumItems,2)">conditional</animation>
					<animation effect="slide" start="0,0" end="360,0" time="0" condition="String.IsEqual(Container(8000).NumItems,1)">conditional</animation>
					<left>0</left>
					<top>0</top>
					<width>900</width>
					<height>220</height>
					<onleft>8000</onleft>
					<onright>8000</onright>
					<onup>20</onup>
					<ondown condition="Control.IsVisible(600)">600</ondown>
					<ondown condition="!Control.IsVisible(600)">9000</ondown>
					<viewtype label="535">list</viewtype>
					<pagecontrol/>
					<scrolltime>200</scrolltime>
					<orientation>Horizontal</orientation>
					<itemlayout height="220" width="180">
						<control type="image">
							<description>background</description>
							<left>0</left>
							<top>0</top>
							<width>180</width>
							<height>220</height>
							<texture border="15">RecentAddedBack.png</texture>
						</control>
						<control type="image">
							<left>10</left>
							<top>10</top>
							<width>160</width>
							<height>170</height>
							<texture fallback="DefaultVideoCover.png" background="true">$INFO[ListItem.Art(poster)]</texture>
							<aspectratio>keep</aspectratio>
							<bordertexture border="5">button-nofocus.png</bordertexture>
							<bordersize>5</bordersize>
						</control>
						<control type="label">
							<left>15</left>
							<top>185</top>
							<width>150</width>
							<height>20</height>
							<font>font12</font>
							<textcolor>white</textcolor>
							<shadowcolor>black</shadowcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
						</control>
					</itemlayout>
					<focusedlayout height="220" width="180">
						<control type="image">
							<description>background</description>
							<left>0</left>
							<top>0</top>
							<width>180</width>
							<height>220</height>
							<texture border="15">RecentAddedBack.png</texture>
						</control>
						<control type="image">
							<left>10</left>
							<top>10</top>
							<width>160</width>
							<height>170</height>
							<texture fallback="DefaultVideoCover.png" background="true">$INFO[ListItem.Art(poster)]</texture>
							<aspectratio>keep</aspectratio>
							<bordertexture border="5">folder-focus.png</bordertexture>
							<bordersize>5</bordersize>
							<visible>Control.HasFocus(8000)</visible>
						</control>
						<control type="image">
							<left>10</left>
							<top>10</top>
							<width>160</width>
							<height>170</height>
							<texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(poster)]</texture>
							<aspectratio>keep</aspectratio>
							<bordertexture border="5">button-nofocus.png</bordertexture>
							<bordersize>5</bordersize>
							<visible>!Control.HasFocus(8000)</visible>
						</control>
						<control type="label">
							<left>15</left>
							<top>185</top>
							<width>150</width>
							<height>20</height>
							<font>font12</font>
							<textcolor>white</textcolor>
							<shadowcolor>black</shadowcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
							<visible>!Control.HasFocus(8000)</visible>
						</control>
						<control type="label">
							<left>15</left>
							<top>185</top>
							<width>150</width>
							<height>20</height>
							<font>font12</font>
							<textcolor>blue</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
							<visible>Control.HasFocus(8000)</visible>
						</control>
					</focusedlayout>
					<content target="video"  sortorder="descending" sortby="dateadded" limit="15">videodb://movies/titles/?xsp=%7B%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22playcount%22%2C%22operator%22%3A%22is%22%2C%22value%22%3A%220%22%7D%5D%7D%2C%22type%22%3A%22movies%22%7D</content>
				</control>
				<control type="button">
					<description>left Arrow</description>
					<left>-40</left>
					<top>90</top>
					<width>30</width>
					<height>40</height>
					<texturefocus>arrow-big-left.png</texturefocus>
					<texturenofocus>arrow-big-left.png</texturenofocus>
					<onclick>Control.Move(8000,-1)</onclick>
					<visible>Control.HasFocus(8000) + Container(8000).HasPrevious</visible>
					<include>VisibleFadeEffect</include>
				</control>
				<control type="button">
					<description>right Arrow</description>
					<left>910</left>
					<top>90</top>
					<width>30</width>
					<height>40</height>
					<texturefocus>arrow-big-right.png</texturefocus>
					<texturenofocus>arrow-big-right.png</texturenofocus>
					<onclick>Control.Move(8000,1)</onclick>
					<visible>Control.HasFocus(8000) + Container(8000).HasNext</visible>
					<include>VisibleFadeEffect</include>
				</control>
			</control>
			<control type="group">
				<left>160</left>
				<top>50</top>
				<visible>Library.HasContent(TVShows)</visible>
				<visible>Container(9000).Hasfocus(11) + !Skin.HasSetting(HomepageHideRecentlyAddedVideo) + !Skin.HasSetting(HomeMenuTVShowUsePlaylist)</visible>
				<include>VisibleFadeEffect</include>
				<control type="label">
					<description>Title label</description>
					<left>240</left>
					<top>220</top>
					<height>20</height>
					<width>480</width>
					<label>20387</label>
					<align>center</align>
					<aligny>center</aligny>
					<font>font12_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="list" id="8001">
					<animation effect="slide" start="0,0" end="120,0" time="0" condition="String.IsEqual(Container(8001).NumItems,3)">conditional</animation>
					<animation effect="slide" start="0,0" end="240,0" time="0" condition="String.IsEqual(Container(8001).NumItems,2)">conditional</animation>
					<animation effect="slide" start="0,0" end="360,0" time="0" condition="String.IsEqual(Container(8001).NumItems,1)">conditional</animation>
					<left>0</left>
					<top>0</top>
					<width>960</width>
					<height>240</height>
					<onleft>8001</onleft>
					<onright>8001</onright>
					<onup>20</onup>
					<ondown condition="Control.IsVisible(600)">600</ondown>
					<ondown condition="!Control.IsVisible(600)">9000</ondown>
					<viewtype label="535">list</viewtype>
					<pagecontrol/>
					<scrolltime>200</scrolltime>
					<orientation>Horizontal</orientation>
					<itemlayout height="220" width="240">
						<control type="image">
							<description>background</description>
							<left>0</left>
							<top>0</top>
							<width>240</width>
							<height>220</height>
							<texture border="15">RecentAddedBack.png</texture>
						</control>
						<control type="image">
							<left>10</left>
							<top>10</top>
							<width>220</width>
							<height>155</height>
							<aspectratio>scale</aspectratio>
							<texture background="true">$INFO[ListItem.Art(thumb)]</texture>
							<bordertexture border="5">button-nofocus.png</bordertexture>
							<bordersize>5</bordersize>
						</control>
						<control type="label">
							<left>20</left>
							<top>168</top>
							<width>200</width>
							<height>20</height>
							<font>font10</font>
							<textcolor>grey2</textcolor>
							<shadowcolor>black</shadowcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.TVShowTitle] - $INFO[ListItem.Season,,x]$INFO[ListItem.Episode]</label>
						</control>
						<control type="label">
							<left>20</left>
							<top>185</top>
							<width>200</width>
							<height>20</height>
							<font>font12</font>
							<textcolor>white</textcolor>
							<shadowcolor>black</shadowcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Title]</label>
						</control>
					</itemlayout>
					<focusedlayout height="220" width="240">
						<control type="image">
							<description>background</description>
							<left>0</left>
							<top>0</top>
							<width>240</width>
							<height>220</height>
							<texture border="15">RecentAddedBack.png</texture>
						</control>
						<control type="image">
							<left>10</left>
							<top>10</top>
							<width>220</width>
							<height>155</height>
							<aspectratio>scale</aspectratio>
							<texture background="true">$INFO[ListItem.Art(thumb)]</texture>
							<bordertexture border="5">folder-focus.png</bordertexture>
							<bordersize>5</bordersize>
							<visible>Control.HasFocus(8001)</visible>
						</control>
						<control type="image">
							<left>10</left>
							<top>10</top>
							<width>220</width>
							<height>155</height>
							<aspectratio>scale</aspectratio>
							<texture>$INFO[ListItem.Art(thumb)]</texture>
							<bordertexture border="5">button-nofocus.png</bordertexture>
							<bordersize>5</bordersize>
							<visible>!Control.HasFocus(8001)</visible>
						</control>
						<control type="label">
							<left>20</left>
							<top>168</top>
							<width>200</width>
							<height>20</height>
							<font>font10</font>
							<textcolor>grey2</textcolor>
							<shadowcolor>black</shadowcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.TVShowTitle] - $INFO[ListItem.Season,,x]$INFO[ListItem.Episode]</label>
						</control>
						<control type="label">
							<left>20</left>
							<top>185</top>
							<width>200</width>
							<height>20</height>
							<font>font12</font>
							<textcolor>white</textcolor>
							<shadowcolor>black</shadowcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Title]</label>
							<visible>!Control.HasFocus(8001)</visible>
						</control>
						<control type="label">
							<left>20</left>
							<top>185</top>
							<width>200</width>
							<height>20</height>
							<font>font12</font>
							<textcolor>blue</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Title]</label>
							<visible>Control.HasFocus(8001)</visible>
						</control>
					</focusedlayout>
					<content target="video" sortorder="descending" sortby="dateadded" limit="15">videodb://tvshows/titles/-1/-1/?xsp=%7B%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22playcount%22%2C%22operator%22%3A%22is%22%2C%22value%22%3A%220%22%7D%5D%7D%2C%22type%22%3A%22episodes%22%7D</content>
				</control>
				<control type="button">
					<description>left Arrow</description>
					<left>-40</left>
					<top>90</top>
					<width>30</width>
					<height>40</height>
					<texturefocus>arrow-big-left.png</texturefocus>
					<texturenofocus>arrow-big-left.png</texturenofocus>
					<onclick>Control.Move(8001,-1)</onclick>
					<visible>Control.HasFocus(8001) + Container(8001).HasPrevious</visible>
					<include>VisibleFadeEffect</include>
				</control>
				<control type="button">
					<description>right Arrow</description>
					<left>970</left>
					<top>90</top>
					<width>30</width>
					<height>40</height>
					<texturefocus>arrow-big-right.png</texturefocus>
					<texturenofocus>arrow-big-right.png</texturenofocus>
					<onclick>Control.Move(8001,1)</onclick>
					<visible>Control.HasFocus(8001) + Container(8001).HasNext</visible>
					<include>VisibleFadeEffect</include>
				</control>
			</control>
			<control type="group">
				<left>240</left>
				<top>50</top>
				<visible>Library.HasContent(Music)</visible>
				<visible>Container(9000).Hasfocus(3) + !Skin.HasSetting(HomepageHideRecentlyAddedAlbums) + !Skin.HasSetting(HomeMenuMusicUsePlaylist)</visible>
				<include>VisibleFadeEffect</include>
				<control type="label">
					<description>Title label</description>
					<left>160</left>
					<top>220</top>
					<height>20</height>
					<width>480</width>
					<label>359</label>
					<align>center</align>
					<aligny>center</aligny>
					<font>font12_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="list" id="8002">
					<animation effect="slide" start="0,0" end="100,0" time="0" condition="String.IsEqual(Container(8002).NumItems,3)">conditional</animation>
					<animation effect="slide" start="0,0" end="200,0" time="0" condition="String.IsEqual(Container(8002).NumItems,2)">conditional</animation>
					<animation effect="slide" start="0,0" end="300,0" time="0" condition="String.IsEqual(Container(8002).NumItems,1)">conditional</animation>
					<left>0</left>
					<top>0</top>
					<width>800</width>
					<height>240</height>
					<onleft>8002</onleft>
					<onright>8002</onright>
					<onup>20</onup>
					<ondown condition="Control.IsVisible(600)">600</ondown>
					<ondown condition="!Control.IsVisible(600)">9000</ondown>
					<viewtype label="535">list</viewtype>
					<pagecontrol/>
					<scrolltime>200</scrolltime>
					<orientation>Horizontal</orientation>
					<onclick>PlayMedia($INFO[ListItem.FolderPath],isdir)</onclick>
					<itemlayout height="220" width="200">
						<control type="image">
							<description>background</description>
							<left>0</left>
							<top>0</top>
							<width>200</width>
							<height>220</height>
							<texture border="15">RecentAddedBack.png</texture>
						</control>
						<control type="image">
							<left>10</left>
							<top>10</top>
							<width>180</width>
							<height>155</height>
							<aspectratio>keep</aspectratio>
							<texture background="true">$INFO[ListItem.Art(thumb)]</texture>
							<bordertexture border="5">button-nofocus.png</bordertexture>
							<bordersize>5</bordersize>
						</control>
						<control type="label">
							<left>10</left>
							<top>170</top>
							<width>180</width>
							<height>20</height>
							<font>font10</font>
							<textcolor>grey2</textcolor>
							<shadowcolor>black</shadowcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Artist]</label>
						</control>
						<control type="label">
							<left>10</left>
							<top>190</top>
							<width>180</width>
							<height>20</height>
							<font>font12</font>
							<textcolor>white</textcolor>
							<shadowcolor>black</shadowcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
						</control>
					</itemlayout>
					<focusedlayout height="220" width="200">
						<control type="image">
							<description>background</description>
							<left>0</left>
							<top>0</top>
							<width>200</width>
							<height>220</height>
							<texture border="15">RecentAddedBack.png</texture>
						</control>
						<control type="image">
							<left>10</left>
							<top>10</top>
							<width>180</width>
							<height>155</height>
							<aspectratio>keep</aspectratio>
							<texture background="true">$INFO[ListItem.Art(thumb)]</texture>
							<bordertexture border="5">folder-focus.png</bordertexture>
							<bordersize>5</bordersize>
							<visible>Control.HasFocus(8002)</visible>
						</control>
						<control type="image">
							<left>10</left>
							<top>10</top>
							<width>180</width>
							<height>155</height>
							<aspectratio>keep</aspectratio>
							<texture background="true">$INFO[ListItem.Art(thumb)]</texture>
							<bordertexture border="5">button-nofocus.png</bordertexture>
							<bordersize>5</bordersize>
							<visible>!Control.HasFocus(8002)</visible>
						</control>
						<control type="label">
							<left>10</left>
							<top>170</top>
							<width>180</width>
							<height>20</height>
							<font>font10</font>
							<textcolor>grey2</textcolor>
							<shadowcolor>black</shadowcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Artist]</label>
						</control>
						<control type="label">
							<left>10</left>
							<top>190</top>
							<width>180</width>
							<height>20</height>
							<font>font12</font>
							<textcolor>white</textcolor>
							<shadowcolor>black</shadowcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
							<visible>!Control.HasFocus(8002)</visible>
						</control>
						<control type="label">
							<left>10</left>
							<top>190</top>
							<width>180</width>
							<height>20</height>
							<font>font12</font>
							<textcolor>blue</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
							<visible>Control.HasFocus(8002)</visible>
						</control>
					</focusedlayout>
					<content target="music" sortby="dateadded" sortorder="descending" limit="15">musicdb://recentlyaddedalbums</content>
				</control>
				<control type="button">
					<description>left Arrow</description>
					<left>-40</left>
					<top>90</top>
					<width>30</width>
					<height>40</height>
					<texturefocus>arrow-big-left.png</texturefocus>
					<texturenofocus>arrow-big-left.png</texturenofocus>
					<onclick>Control.Move(8002,-1)</onclick>
					<visible>Control.HasFocus(8002) + Container(8002).HasPrevious</visible>
					<include>VisibleFadeEffect</include>
				</control>
				<control type="button">
					<description>right Arrow</description>
					<left>810</left>
					<top>90</top>
					<width>30</width>
					<height>40</height>
					<texturefocus>arrow-big-right.png</texturefocus>
					<texturenofocus>arrow-big-right.png</texturenofocus>
					<onclick>Control.Move(8002,1)</onclick>
					<visible>Control.HasFocus(8002) + Container(8002).HasNext</visible>
					<include>VisibleFadeEffect</include>
				</control>
			</control>
		</control>
	</include>
</includes>