<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>50</defaultcontrol>
	
	<onload>ClearProperty(MediaMenu,Home)</onload>
	
	<views>50,51</views>
	<menucontrol>9051</menucontrol>
	<controls>
		<include>CommonBackground</include>
				<control type="image">
					<left>-30</left>
					<top>-30</top>
					<width>2040</width>
					<height>1277</height>
					<texture background="true">black.png</texture>
					<animation effect="fade" end="85" condition="true">Conditional</animation>
				</control>
		<control type="group">
			<top>128</top>
			<include>VisibleFadeAnimation</include>
			<include>WindowOpenCloseAnimation</include>
		</control>
		<control type="group">
			<description>Channels group</description>
			<visible>Control.IsVisible(50)</visible>
			<include>VisibleFadeAnimation</include>
			<top>128</top>
			<include>WindowOpenCloseAnimation</include>
			<control type="list" id="50">
				<left>82</left>
				<top>32</top>
				<width>821</width>
				<height>840</height>
				<onleft>SetProperty(MediaMenu,True,home)</onleft>
				<onleft>SetFocus(9050)</onleft>
				<onright>70</onright>
				<onup>50</onup>
				<ondown>50</ondown>
				<viewtype label="535">list</viewtype>
				<pagecontrol>70</pagecontrol>
				<scrolltime tween="quadratic" easing="out">200</scrolltime>
				<itemlayout height="120" width="821">
					<control type="label">
						<width>120</width>
						<height>95</height>
						<font>font35_title_bold</font>
						<textcolor>grey2</textcolor>
						<selectedcolor>selected</selectedcolor>
						<align>center</align>
						<label>[B]$INFO[ListItem.ChannelNumberLabel][/B]</label>
					</control>
					<control type="label">
						<left>130</left>
						<width>530</width>
						<height>70</height>
						<font>font30</font>
						<textcolor>grey2</textcolor>
						<selectedcolor>selected</selectedcolor>
						<label>$INFO[ListItem.Label]</label>
					</control>
					<control type="label">
						<left>130</left>
						<top>50</top>
						<width>530</width>
						<height>60</height>
						<font>font15</font>
						<textcolor>grey3</textcolor>
						<selectedcolor>grey3</selectedcolor>
						<label>$INFO[ListItem.Title]</label>
					</control>
					<control type="progress">
						<description>Progressbar</description>
						<left>5</left>
						<top>88</top>
						<width>112</width>
						<height>8</height>
						<visible>ListItem.HasEpg</visible>
						<info>ListItem.Progress</info>
						<midtexture colordiffuse="themecolor">new_pvr/texturebg_white.png</midtexture>
						<texturebg colordiffuse="grey3">new_pvr/texturebg.png</texturebg>
					</control>
					<control type="image">
						<left>681</left>
						<top>8</top>
						<width>105</width>
						<height>105</height>
						<aspectratio>keep</aspectratio>
						<texture background="true">$INFO[ListItem.Icon]</texture>
						<animation effect="slide" start="0" end="-30" time="0" tween="sine" easing="in" condition="[ListItem.HasTimer | ListItem.IsRecording]">Conditional</animation>
					</control>
					<control type="group">
						<visible>[ListItem.HasTimer | ListItem.IsRecording]</visible>
						<left>715</left>
						<control type="label">
							<top>45</top>
							<width>100</width>
							<height>30</height>
							<font>IconSmall</font>
							<textoffsetx>15</textoffsetx>
							<textcolor>themecolor</textcolor>
							<align>right</align>
							<selectedcolor>themecolor</selectedcolor>
							<label></label>
							<visible>ListItem.HasTimer + !ListItem.IsRecording</visible>
						</control>
						<control type="label">
							<top>45</top>
							<width>100</width>
							<height>30</height>
							<font>IconSmall</font>
							<textoffsetx>15</textoffsetx>
							<textcolor>red</textcolor>
							<align>right</align>
							<selectedcolor>red</selectedcolor>
							<label></label>
							<visible>ListItem.IsRecording</visible>
						</control>
					</control>
				</itemlayout>
				<focusedlayout height="120" width="821">
					<control type="image">
						<width>821</width>
						<height>120</height>
						<texture border="4">listselect_fo.png</texture>
						<visible>Control.HasFocus(50)</visible>
						<include>VisibleFadeAnimation</include>
					</control>
					<control type="label">
						<width>120</width>
						<height>95</height>
						<font>font35_title_bold</font>
						<selectedcolor>selected</selectedcolor>
						<align>center</align>
						<label>[B]$INFO[ListItem.ChannelNumberLabel][/B]</label>
					</control>
					<control type="label">
						<left>130</left>
						<width>530</width>
						<height>70</height>
						<font>font30</font>
						<selectedcolor>white</selectedcolor>
						<label>$INFO[ListItem.Label]</label>
						<animation effect="fade" start="100" end="70" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(50)">Conditional</animation>
					</control>
					<control type="label">
						<left>130</left>
						<top>50</top>
						<width>530</width>
						<height>60</height>
						<font>font15</font>
						<selectedcolor>white</selectedcolor>
						<label>$INFO[ListItem.Title]</label>
						<animation effect="fade" start="100" end="30" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(50)">Conditional</animation>
					</control>
					<control type="progress">
						<description>Progressbar</description>
						<left>5</left>
						<top>88</top>
						<width>112</width>
						<height>8</height>
						<visible>ListItem.HasEpg</visible>
						<info>ListItem.Progress</info>
						<midtexture colordiffuse="themecolor">new_pvr/texturebg_white.png</midtexture>
						<texturebg colordiffuse="grey3">new_pvr/texturebg.png</texturebg>
					</control>
					<control type="image">
						<left>681</left>
						<top>8</top>
						<width>105</width>
						<height>105</height>
						<aspectratio>keep</aspectratio>
						<texture background="true">$INFO[ListItem.Icon]</texture>
						<animation effect="slide" start="0" end="-30" time="0" tween="sine" easing="in" condition="[ListItem.HasTimer | ListItem.IsRecording]">Conditional</animation>
					</control>
					<control type="group">
						<visible>[ListItem.HasTimer | ListItem.IsRecording]</visible>
						<left>715</left>
						<control type="label">
							<top>45</top>
							<width>100</width>
							<height>30</height>
							<font>IconSmall</font>
							<textoffsetx>15</textoffsetx>
							<textcolor>themecolor</textcolor>
							<align>right</align>
							<selectedcolor>themecolor</selectedcolor>
							<label></label>
							<visible>ListItem.HasTimer + !ListItem.IsRecording</visible>
						</control>
						<control type="label">
							<top>45</top>
							<width>100</width>
							<height>30</height>
							<font>IconSmall</font>
							<textoffsetx>15</textoffsetx>
							<textcolor>red</textcolor>
							<align>right</align>
							<selectedcolor>red</selectedcolor>
							<label></label>
							<visible>ListItem.IsRecording</visible>
						</control>
					</control>
				</focusedlayout>
			</control>
			<control type="scrollbar" id="70">
				<left>903</left>
				<top>32</top>
				<width>14</width>
				<height>840</height>
				<onleft>50</onleft>
				<onright condition="!Control.IsVisible(62)">SetProperty(MediaMenu,True,home)</onright>
				<onright condition="!Control.IsVisible(62)">SetFocus(9050)</onright>
				<onright condition="Control.IsVisible(62)">62</onright>
				<ondown>70</ondown>
				<onup>70</onup>
				<showonepage>false</showonepage>
				<texturesliderbackground />
				<texturesliderbar colordiffuse="55ffffff" border="1">scrollbar/texturesliderbar2.png</texturesliderbar>
				<texturesliderbarfocus border="1">scrollbar/texturesliderbar2.png</texturesliderbarfocus>
			</control>
			<control type="group">
				<description>Small Media Window</description>
				<left>985</left>
				<control type="image">
					<left>32</left>
					<top>32</top>
					<width>821</width>
					<height>461</height>
					<texture fallback="special://skin/backgrounds/fallback_movies.jpg">$INFO[Skin.String(Home_Custom_Back_TV_Folder)]</texture>
					<include>VisibleFadeAnimation</include>
					<visible>!Player.HasVideo</visible>
				</control>
				<control type="image">
					<left>31</left>
					<top>32</top>
					<width>822</width>
					<height>461</height>
					<texture>black.png</texture>
					<include>VisibleFadeAnimation</include>
					<visible>Player.HasVideo</visible>
				</control>
				<control type="videowindow">
					<left>31</left>
					<top>32</top>
					<width>822</width>
					<height>461</height>
					<visible>Player.HasVideo</visible>
				</control>
			</control>
			<control type="group">
				<left>1017</left>
				<top>494</top>
				<control type="label">
					<top>15</top>
					<width>821</width>
					<height>30</height>
					<font>font15</font>
					<textcolor>grey2</textcolor>
					<textoffsetx>15</textoffsetx>
					<visible>Container(50).ListItem.HasEpg</visible>
					<label>[COLOR labelheader]$INFO[Container(50).ListItem.StartTime]$INFO[Container(50).ListItem.EndTime, - ,: ][/COLOR]$INFO[Container(50).ListItem.Title]</label>
				</control>
				<control type="label">
					<top>58</top>
					<width>821</width>
					<height>30</height>
					<font>font15</font>
					<textcolor>grey2</textcolor>
					<textoffsetx>15</textoffsetx>
					<visible>!String.IsEmpty(Container(50).ListItem.NextTitle)</visible>
					<label>$INFO[Container(50).ListItem.NextTitle,[COLOR labelheader]$LOCALIZE[19031]:[/COLOR] ,]</label>
				</control>
				<control type="textbox" id="80">
					<label>$INFO[Container(50).ListItem.Plot]</label>
					<left>15</left>
					<top>124</top>
					<width>791</width>
					<height>234</height>
					<font>font15_textbox</font>
					<pagecontrol>62</pagecontrol>
					<include>ShowCaseInfoPanelButtonsValues</include>
					<autoscroll time="3000" delay="4000" repeat="5000">Skin.HasSetting(Enable.AutoScroll) + !Control.HasFocus(62)</autoscroll>
				</control>
				<control type="scrollbar" id="62">
					<left>820</left>
					<top>105</top>
					<width>14</width>
					<height>272</height>
					<onup>PageUp(80)</onup>
					<ondown>PageUp(80)</ondown>
					<onleft>50</onleft>
					<onright>SetProperty(MediaMenu,True,home)</onright>
					<onright>SetFocus(9050)</onright>
					<texturesliderbackground />
					<texturesliderbar colordiffuse="55ffffff" border="1">scrollbar/texturesliderbar2.png</texturesliderbar>
					<texturesliderbarfocus border="1">scrollbar/texturesliderbar2.png</texturesliderbarfocus>
					<showonepage>false</showonepage>
					<orientation>vertical</orientation>
				</control>
			</control>
		</control>
		<control type="group">
			<left>50</left>
			<top>55</top>
			<description>Channels Wall</description>
			<visible>Control.IsVisible(51)</visible>
			<include>VisibleFadeAnimation</include>
			<control type="panel" id="51">
				<left>30</left>
				<top>30</top>
				<width>1800</width>
				<height>715</height>
				<onleft>SetProperty(MediaMenu,True,home)</onleft>
				<onleft>SetFocus(9050)</onleft>
				<onright>60</onright>
				<onup>51</onup>
				<ondown>51</ondown>
				<pagecontrol>60</pagecontrol>
				<preloaditems>2</preloaditems>
				<viewtype label="Wall">icon</viewtype>
				<scrolltime tween="quadratic" easing="out">300</scrolltime>
				<itemlayout height="180" width="445">
					<control type="image">
						<width>440</width>
						<height>175</height>
						<aspectratio>stretch</aspectratio>
						<colordiffuse>99ffffff</colordiffuse>
						<texture border="40">dialogs/default/bg.png</texture>
						<visible>true</visible>
					</control>
					<control type="label">
						<left>14</left>
						<top>10</top>
						<width>320</width>
						<height>58</height>
						<font>font13b</font>
						<textcolor>grey</textcolor>
						<selectedcolor>selected</selectedcolor>
						<label>[B]$INFO[ListItem.ChannelNumberLabel]  $INFO[ListItem.Label][/B]</label>
					</control>
					<control type="image">
						<left>335</left>
						<top>10</top>
						<width>90</width>
						<height>59</height>
						<aspectratio align="right">keep</aspectratio>
						<texture fallback="new_pvr/tv.png">$INFO[ListItem.Icon]</texture>
						<colordiffuse>BAffffff</colordiffuse>
					</control>
					<control type="group">
						<left>15</left>
						<top>85</top>
						<width>440</width>
						<height>165</height>
						<visible>ListItem.HasEpg</visible>
						<control type="label">
							<width>400</width>
							<height>30</height>
							<font>font12b</font>
							<textcolor>grey2</textcolor>
							<selectedcolor>selected</selectedcolor>
							<label>$INFO[ListItem.Title]</label>
						</control>
						<control type="progress">
							<top>38</top>
							<width>408</width>
							<height>6</height>
							<info>ListItem.Progress</info>
							<visible>!String.IsEqual(ListItem.Title,)</visible>
							<midtexture colordiffuse="themecolor">new_pvr/texturebg_white.png</midtexture>
							<texturebg colordiffuse="grey3">new_pvr/texturebg.png</texturebg>
						</control>
						<control type="label">
							<top>48</top>
							<width>400</width>
							<height>30</height>
							<font>font12</font>
							<textcolor>grey3</textcolor>
							<selectedcolor>grey2</selectedcolor>
							<label>$LOCALIZE[19031]: $INFO[ListItem.NextTitle]</label>
							<visible>true</visible>
						</control>
					</control>
				</itemlayout>
				<focusedlayout height="180" width="445">
					<control type="group">
						<animation type="Focus">
							<effect type="fade" start="80" end="100" time="200" tween="sine" easing="in" />
						</animation>
						<control type="image">
							<left>-6</left>
							<top>-6</top>
							<width>452</width>
							<height>187</height>
							<colordiffuse>bbffffff</colordiffuse>
							<aspectratio align="center">stretch</aspectratio>
							<texture diffuse="tajo/mask_cover3.png">tajo/backani.gif</texture>
						</control>
				<control type="image">
					<left>9</left>
					<top>9</top>
					<width>422</width>
					<height>157</height>
					<texture background="true">black.png</texture>
				</control>
						<control type="image">
							<left>-7</left>
							<top>-7</top>
							<width>454</width>
							<height>189</height>
							<colordiffuse>dd000000</colordiffuse>
							<aspectratio align="center">stretch</aspectratio>
							<texture diffuse="tajo/mask_cover3.png">tajo/mask78.png</texture>
							<visible>true</visible>
						</control>
						<control type="image">
							<left>335</left>
							<top>10</top>
							<width>90</width>
							<height>59</height>
							<aspectratio align="right">keep</aspectratio>
							<texture background="true" fallback="new_pvr/blank.png">$INFO[ListItem.Icon]</texture>
						</control>
						<control type="label">
							<left>14</left>
							<top>10</top>
							<width>320</width>
							<height>58</height>
							<font>font13b</font>
							<selectedcolor>selected</selectedcolor>
							<label>[B]$INFO[ListItem.ChannelNumberLabel]  $INFO[ListItem.Label][/B]</label>
						</control>
						<control type="group">
							<left>15</left>
							<top>85</top>
							<width>440</width>
							<height>165</height>
							<visible>ListItem.HasEpg</visible>
							<control type="label">
								<width>400</width>
								<height>30</height>
								<font>font12b</font>
								<selectedcolor>selected</selectedcolor>
								<label>$INFO[ListItem.Title]</label>
							</control>
							<control type="progress">
								<top>38</top>
								<width>408</width>
								<height>6</height>
								<info>ListItem.Progress</info>
								<visible>!String.IsEqual(ListItem.Title,)</visible>
								<midtexture colordiffuse="themecolor">new_pvr/texturebg_white.png</midtexture>
								<texturebg colordiffuse="grey3">new_pvr/texturebg.png</texturebg>
							</control>
							<control type="label">
								<top>48</top>
								<width>400</width>
								<height>30</height>
								<font>font12</font>
								<textcolor>grey</textcolor>
								<selectedcolor>selected</selectedcolor>
								<label>$LOCALIZE[19031]: $INFO[ListItem.NextTitle]</label>
							</control>
						</control>
					</control>
				</focusedlayout>
			</control>
			<control type="scrollbar" id="60">
				<left>1810</left>
				<top>30</top>
				<width>14</width>
				<height>900</height>
				<onleft>51</onleft>
				<onleft>51</onleft>
				<ondown>60</ondown>
				<onup>60</onup>
				<showonepage>false</showonepage>
				<texturesliderbackground />
				<texturesliderbar colordiffuse="55ffffff" border="1">scrollbar/texturesliderbar2.png</texturesliderbar>
				<texturesliderbarfocus border="1">scrollbar/texturesliderbar2.png</texturesliderbarfocus>
				<animation effect="fade" start="100" end="0" time="500" delay="500" condition="!Control.HasFocus(60) + !Container.Scrolling">Conditional</animation>
			</control>
			<!-- Bottom info-panel -->
			<control type="group">
				<left>30</left>
				<top>750</top>
				<!-- Videopreview and logo -->
				<control type="group">
					<visible>!Player.HasVideo</visible>
					<left>122</left>
					<top>12</top>
					<control type="image">
						<width>200</width>
						<height>200</height>
						<aspectratio>keep</aspectratio>
						<fadetime>400</fadetime>
						<texture>$INFO[ListItem.Icon]</texture>
					</control>
				</control>
				<control type="group">
					<visible>Player.HasVideo</visible>
					<top>2</top>
					<control type="image">
						<width>445</width>
						<height>225</height>
						<aspectratio>stretch</aspectratio>
						<texture border="0">black-back.png</texture>
					</control>
					<control type="videowindow">
						<width>445</width>
						<height>225</height>
					</control>
				</control>
				<!-- Discription and fanart -->
				<control type="group">
					<left>450</left>
					<control type="label">
						<top>15</top>
						<width>1316</width>
						<height>30</height>
						<font>font14</font>
						<textcolor>grey2</textcolor>
						<textoffsetx>15</textoffsetx>
						<label>[COLOR labelheader]$INFO[ListItem.StartTime]$INFO[ListItem.EndTime, - ,: ][/COLOR]$INFO[ListItem.Title]  |  $INFO[ListItem.Genre,[COLOR labelheader]$LOCALIZE[515]:[/COLOR] ,]</label>
					</control>
					<control type="textbox" id="81">
						<label>$INFO[ListItem.Plot]</label>
						<left>15</left>
						<top>50</top>
						<width>1286</width>
						<height>180</height>
						<font>font14_textbox2</font>
						<pagecontrol>63</pagecontrol>
						<autoscroll time="3000" delay="4000" repeat="5000">Skin.HasSetting(Enable.AutoScroll) + !Control.HasFocus(63)</autoscroll>
						<visible>![String.StartsWith(ListItem.PlotOutline,"http://") | String.StartsWith(ListItem.PlotOutline,"https://")]</visible>
					</control>
					<control type="textbox">
						<left>15</left>
						<top>50</top>
						<width>1000</width>
						<height>180</height>
						<font>font14_textbox2</font>
						<label>$INFO[ListItem.Plot]</label>
						<autoscroll time="3000" delay="4000" repeat="5000">Skin.HasSetting(Enable.AutoScroll) + !Control.HasFocus(63)</autoscroll>
						<visible>String.StartsWith(ListItem.PlotOutline,"http://") | String.StartsWith(ListItem.PlotOutline,"https://")</visible>
					</control>
					<control type="image">
						<left>1020</left>
						<top>5</top>
						<width>300</width>
						<height>220</height>
						<align>center</align>
						<aspectratio>keep</aspectratio>
						<texture>$INFO[ListItem.PlotOutline]</texture>
						<visible>String.StartsWith(ListItem.PlotOutline,"http://") | String.StartsWith(ListItem.PlotOutline,"https://")</visible>
					</control>
					<control type="scrollbar" id="63">
						<left>1328</left>
						<top>124</top>
						<width>14</width>
						<height>110</height>
						<onup>PageUp(81)</onup>
						<ondown>PageUp(81)</ondown>
						<onleft>10</onleft>
						<onright>10</onright>
						<texturesliderbackground />
						<texturesliderbar colordiffuse="55ffffff" border="1">scrollbar/texturesliderbar2.png</texturesliderbar>
						<texturesliderbarfocus border="1">scrollbar/texturesliderbar2.png</texturesliderbarfocus>
						<showonepage>false</showonepage>
						<orientation>vertical</orientation>
					</control>
				</control>
			</control>
		</control>
		<control type="image">
			<width>1920</width>
			<height>1080</height>
			<texture>black-back.png</texture>
			<animation effect="fade" time="400">Visible</animation>
			<animation effect="fade" time="200">Hidden</animation>
			<visible>Window.IsActive(FileBrowser) | Window.IsActive(PVRGuideInfo) | Window.IsActive(PVRRecordingInfo) | Window.IsActive(PVRTimerSetting) | Window.IsActive(PVRGroupManager) | Window.IsActive(PVRGuideSearch)</visible>
		</control>
		
		<include>PVRMediaMenu</include>
	</controls>
</window>
