<?xml version="1.0" encoding="utf-8"?>
<window id="601">
    <defaultcontrol always="true">50</defaultcontrol>
	<onload>Skin.Reset(showViewOptions)</onload>
	<onunload>Skin.Reset(showViewOptions)</onunload>	
     
	<views>50</views>
    <controls>
        <include>SkinFanart</include>
        <include>BarClock</include>
		
		
		<control type="group"><visible>![Window.IsVisible(2003) | Window.IsVisible(DialogAddonInfo.xml) | Window.IsVisible(DialogMusicInfo.xml) | Window.IsVisible(DialogFavourites.xml)]</visible>
			<include>NowPlayingControls</include>
			<include>TouchscreenNavigation</include>
		</control>        
		<control type="group">
			 <animation type="TYPE" condition="Window.IsVisible(DialogPVRInfo.xml) | Window.IsVisible(DialogPVRGuideSearch.xml) | Window.IsVisible(DialogPVRGroupManager.xml) | Window.IsVisible(DialogPVRChannelGuide.xml)" reversible="false">
                <effect type="slide" end="-1500,0" time="200" />
            </animation>
            <animation type="TYPE" condition="!Window.IsVisible(DialogPVRInfo.xml) + !Window.IsVisible(DialogPVRGuideSearch.xml) + !Window.IsVisible(DialogPVRGroupManager.xml) + !Window.IsVisible(DialogPVRChannelGuide.xml)" reversible="false">
                <effect type="slide" start="-1500,0" time="200" />
            </animation>
           	<animation type="WindowClose">
                <effect type="fade" time="300" />
                <effect type="slide" end="+1500,0" time="300" />
            </animation>
            <animation type="WindowOpen">
                <effect type="fade" time="300" />
                <effect type="slide" start="+1500,0" time="300" />
            </animation>
			<include>ViewOptionsAnimation</include>
                
			<!-- -Label Channels -->
			<control type="label">
			   <left>50</left>
				<top>215</top>
				<height>30</height>
				<width>985</width>
				<font>Panel_Title</font>
				<aligny>top</aligny>
			   <scroll>true</scroll>
				<scrollout>false</scrollout>
				<pauseatend>600</pauseatend>
				<scrollspeed>50</scrollspeed>
				<label>$INFO[Container.FolderName]</label>
			</control>
            <!-- Channel Description Elements-->
			<control type="group">
                <left>815</left>
                <top>290</top>
				<control type="image">
                    <left>0</left>
                    <top>0</top>
                    <width>435</width>
                    <height>315</height>
                    <texture>music_fanart_diffuse.png</texture>
                    <fadetime>200</fadetime>
                    <aspectratio scalediffuse="false">stretch</aspectratio>
                </control>
                <control type="image">
					<left>60</left>
					<top>0</top>
					<width>315</width>
					<height>315</height>
					<aspectratio>keep</aspectratio>
					<texture>$INFO[Container(50).ListItem.Icon]</texture>
					<visible>!String.Contains(Container(50).ListItem.Icon,default) + String.IsEmpty(Container(50).ListItem.Plot)</visible>
				</control>
				<control type="image">
					<left>60</left>
					<top>0</top>
					<width>315</width>
					<height>315</height>
					<aspectratio>keep</aspectratio>
					<colordiffuse>ImageDiffuse</colordiffuse>
					<texture>$INFO[Container(50).ListItem.Icon]</texture>
					<visible>!String.Contains(Container(50).ListItem.Icon,default) + !String.IsEmpty(Container(50).ListItem.Plot)</visible>
				</control>
				<control type="label">
                    <left>10</left>
                    <top>10</top>
                    <width>415</width>
                    <height>50</height>
					<wrapmultiline>true</wrapmultiline>
					<font>Panel_Description_Title</font>
                    <label>$LOCALIZE[21821]</label>
					<visible>!String.IsEmpty(Container(50).ListItem.Plot)</visible>
                </control>
				<control type="label">
                    <left>10</left>
                    <top>275</top>
                    <width>415</width>
                    <height>50</height>
                    <font>Panel_Hint</font>
                    <align>left</align>
					<aligny>top</aligny>
					<scroll>true</scroll>
					<visible>Container(50).ListItem.HasEpg</visible>
                    <label>$INFO[Container(50).ListItem.StartTime,[COLOR Accent]TIME: [/COLOR]]$INFO[Container(50).ListItem.EndTime, / ]</label>
                </control>
                <control type="textbox">
                    <left>10</left>
                    <top>70</top>
                    <width>415</width>
                    <height>185</height>
                    <align>justify</align>
                    <autoscroll time="3000" delay="6000" repeat="8000"></autoscroll>
                    <font>Panel_Description</font>
                    <textcolor>White</textcolor>
                    <label>$INFO[Container(50).ListItem.Plot]</label>
                </control>

            </control>
			<!-- Main List Background -->
			<control type="group">
				<include>PanelCoordinates</include>
				<!-- Channel Number Background -->
				<control type="image">
					<width>45</width>
					<height>315</height>
					<texture>other_textures/black-back.png</texture>
					<fadetime>200</fadetime>
					<aspectratio scalediffuse="false">stretch</aspectratio>
				</control>
				<!-- Channel List Background -->
				<control type="image">
					<left>50</left>
					<width>700</width>
					<height>315</height>
					<texture>music_fanart_diffuse.png</texture>
					<fadetime>200</fadetime>
					<aspectratio scalediffuse="false">stretch</aspectratio>
				</control>
			</control>
            <!-- Channel List -->
			<control type="list" id="50">
                <include>PanelCoordinates</include>
                <width>750</width>
                <height>315</height>
                <onleft>9000</onleft>
				<onleft>Skin.ToggleSetting(showViewOptions)</onleft>
                <onright>70</onright>
                <onup>50</onup>
                <ondown>50</ondown>
                <viewtype label="535">list</viewtype>
                <pagecontrol>70</pagecontrol>
                <scrolltime>200</scrolltime>
                <itemlayout height="42">
                    <control type="label">
                        <width>45</width>
                        <align>center</align>
						<font>List_PVR</font>
                        <label>[B]$INFO[ListItem.ChannelNumberLabel][/B]</label>
                    </control>
                    <control type="label">
                        <left>60</left>
                        <width>730</width>
						<font>List_Unfocused</font>
						<shadowcolor>black</shadowcolor>
                        <label>$INFO[ListItem.Label][COLOR Accent]$INFO[ListItem.Title, • ][/COLOR]</label>
                    </control>
                    <control type="image">
                        <left>720</left>
                        <top>6</top>
                        <width>30</width>
                        <height>30</height>
                        <texture>PVRRecording.png</texture>
                        <visible>ListItem.IsRecording</visible>
                    </control>
                </itemlayout>
                <focusedlayout height="63">
                    <control type="image">
						<left>50</left>
						<width>700</width>
						<height>63</height>
						<texture>button.png</texture>
					 </control>
					<control type="image">
						<left>50</left>
						<width>700</width>
						<top>30</top>
						<height>33</height>
						<texture>tile.png</texture>
					 </control>
                    <control type="image">
                        <width>45</width>
                        <height>63</height>
                        <texture>button.png</texture>
                    </control>
		            <control type="label">
                        <width>45</width>
						<height>63</height>
                        <align>center</align>
						<aligny>center</aligny>
						<font>List_PVR</font>
						<selectedcolor>white</selectedcolor>
                        <label>[B]$INFO[ListItem.ChannelNumberLabel][/B]</label>
                    </control>
                    <control type="label">
                        <left>60</left>
						<width>700</width>
						<height>30</height>
						<font>List_Unfocused</font>
						<selectedcolor>white</selectedcolor>
						<shadowcolor>black</shadowcolor>
						<aligny>center</aligny>
                        <label>$INFO[ListItem.Label]$INFO[ListItem.Title, • ]</label>
                    </control>
					<control type="label">
                        <left>60</left>
						<top>32</top>
						<width>700</width>
						<height>30</height>
						<align>left</align>
						<font>List_Hint</font>
						<selectedcolor>white</selectedcolor>
                        <label>$INFO[ListItem.NextTitle,$LOCALIZE[19031] • ]$INFO[ListItem.NextStartTime, • ]/$INFO[ListItem.NextEndTime]</label>
						<visible>!String.IsEmpty(ListItem.NextTitle)</visible>
                    </control>
                    <control type="progress">
                        <description>Progressbar</description>
                        <left>50</left>
                        <top>30</top>
                        <width>700</width>
                        <height>5</height>
                        <texturebg>progresswhite.png</texturebg>
                        <midtexture>progressmidgreen.png</midtexture>
                        <visible>ListItem.HasEpg</visible>
                        <info>ListItem.Progress</info>
                    </control>
                    <control type="image">
                        <left>720</left>
                        <top>0</top>
                        <width>30</width>
                        <height>30</height>
                        <texture>PVRRecording.png</texture>
                        <visible>ListItem.IsRecording</visible>
                    </control>
                </focusedlayout>
            </control>
			<control type="scrollbar" id="70">
                <left>805</left>
                <top>290</top>
                <width>5</width>
                <height>315</height>
				<onleft>50</onleft>
                <texturesliderbackground></texturesliderbackground>
                <textureslidernib>bar.png</textureslidernib>
                <textureslidernibfocus>scroll_nib.png</textureslidernibfocus>
                <texturesliderbar></texturesliderbar>
                <texturesliderbarfocus></texturesliderbarfocus>
                <showonepage>true</showonepage>
                <orientation>vertical</orientation>
            </control>

			</control>
			
		<!--This Control Adds the Left Options Menu -->
		<include>PVRSideMenu</include>
</controls>
</window>