<?xml version="1.0" encoding="utf-8"?>
<includes>
    <include name="Viewtype_Episodes_List">
        <control type="group">
            <visible>Control.IsVisible(565)</visible>
            <description>Episode List View (id=565)</description>
            <visible>$EXP[isEpisodeList]</visible>
            <animation type="TYPE" condition="Window.IsVisible(2003)" reversible="false">
                <effect type="slide" end="-1500,0" time="200" />
            </animation>
            <animation type="TYPE" condition="!Window.IsVisible(2003)" 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>
            <control type="image">
                <left>50</left>
                <top>290</top>
                <width>215</width>
                <height>315</height>
                <texture>music_fanart_diffuse.png</texture>
                 <aspectratio scalediffuse="false">stretch</aspectratio>
             </control>
			<control type="image">
                <left>50</left>
                <top>290</top>
                <width>215</width>
                <height>315</height>
                <texture background="true">defaultfolder.png</texture>
                <fadetime>200</fadetime>
                <aspectratio scalediffuse="false">keep</aspectratio>
                <visible>String.IsEmpty(ListItem.Icon)</visible>
                <bordersize>5</bordersize>
            </control>
			<control type="image">
					<left>50</left>
					<top>290</top>
					<width>215</width>
					<height>315</height>
					<texture background="true">$INFO[ListItem.Icon]</texture>
					<fadetime>200</fadetime>
					<aspectratio scalediffuse="false">keep</aspectratio>
					<visible>String.IsEqual(ListItem.Label,.. ) | String.IsEmpty(ListItem.Art(tvshow.poster))</visible>
					<bordersize>5</bordersize>
				</control>
            <control type="image">
                <left>50</left>
                <top>290</top>
                <width>215</width>
                <height>315</height>
                <texture background="true">$INFO[ListItem.Art(tvshow.poster)]</texture>
                <fadetime>200</fadetime>
                <aspectratio scalediffuse="false">scale</aspectratio>
                <visible>!String.IsEqual(ListItem.Label,.. )</visible>
                <bordersize>5</bordersize>
				<bordertexture>white_box.png</bordertexture>
            </control>
			 <!-- Main Poster from Local Season Poster
			<control type="image">
                <left>50</left>
                <top>290</top>
                <width>215</width>
                <height>315</height>
                <texture background="true">$VAR[SeasonPoster]</texture>
                <fadetime>200</fadetime>
                <aspectratio scalediffuse="false">scale</aspectratio>
                <visible>!String.IsEqual(ListItem.Label,..)</visible>
                <bordersize>5</bordersize>
            </control>
			-->
           
			<control type="image">
                <left>270</left>
                <top>290</top>
                <width>45</width>
                <height>315</height>
                <texture>other_textures/black-back.png</texture>
                <aspectratio scalediffuse="false">stretch</aspectratio>
            </control>
            		
			<control type="image">
				<left>320</left>
				<top>290</top>
				<width>815</width>
				<height>315</height>
				<texture>music_fanart_diffuse.png</texture>
				<fadetime>200</fadetime>
				<aspectratio scalediffuse="false">stretch</aspectratio>
			</control>
			<control type="image">
				<left>1140</left>
				<top>290</top>
				<width>120</width>
				<height>315</height>
				<texture>music_fanart_diffuse.png</texture>
			</control>
			
		    <control type="list" id="565">
                <left>270</left>
                <top>290</top>
                <width>990</width>
                <height>315</height>
                <scrolltime>200</scrolltime>
                <onup>565</onup>
                <ondown>565</ondown>
                <onright>5651</onright>
                <onleft>9000</onleft>
				<onleft>Skin.ToggleSetting(showViewOptions)</onleft>
                <viewtype label="List">Episodes List View</viewtype>
                <pagecontrol>5651</pagecontrol>
                <visible>$EXP[isEpisodeList]</visible>
				<itemlayout height="42" width="815">
                    <control type="label">
                        <width>45</width>
                        <align>center</align>
						<font>Panel_Description_Header</font>
                        <label>$INFO[ListItem.Episode]</label>
                    </control>
                    <control type="label">
                        <left>65</left>
                        <width>790</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.Title]</label>
                    </control>
					<control type="label">
                        <left>65</left>
                        <width>790</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.Label]</label>
						<visible>String.IsEmpty(ListItem.Title)</visible>
                    </control>
						<control type="image">
							<left>823</left>
							<width>42</width>
							<height>42</height>
							<bordersize>5</bordersize>
							<texture>OverlayWatchedList.png</texture>
							<visible>String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
						</control>
						<control type="image">
							<left>823</left>
							<width>42</width>
							<height>42</height>
							<bordersize>5</bordersize>
							<texture>OverlayWatchingList.png</texture>
							<visible>ListItem.IsResumable + !String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
						</control>
					<control type="label">
							<left>870</left>
							<width>120</width>
							<height>30</height>
							<align>center</align>
							<font>Panel_Description_Header</font>
							<label>$INFO[ListItem.Premiered]</label>
						
						</control>
				</itemlayout>
                <focusedlayout height="63" width="815">
                    <control type="image">
						<left>50</left>
						<width>815</width>
						<height>63</height>
						<texture colordiffuse="AccentDiffuse">button.png</texture>
					 </control>
					 <control type="image">
						<left>50</left>
						<width>815</width>
						<top>30</top>
						<height>33</height>
						<texture>tile.png</texture>
					 </control>
					 <control type="image">
						<left>870</left>
						<width>120</width>
						<height>63</height>
						<texture>button.png</texture>
					 </control>
					 <control type="image">
						<width>120</width>
						<left>870</left>
						<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>
					<!-- Episode Number -->
                    <control type="label">
                        <width>45</width>
                        <align>center</align>
						<height>63</height>
						<selectedcolor>White</selectedcolor>
						<font>Panel_Description_Title</font>
						<aligny>center</aligny>
                        <label>$INFO[ListItem.Episode]</label>
                    </control>
						<control type="image">
							<top>10</top>
							<left>823</left>
							<width>42</width>
							<height>42</height>
							<bordersize>5</bordersize>
							<texture>OverlayWatchedList.png</texture>
							<visible>String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
						</control>
						<control type="image">
							<top>10</top>
							<left>823</left>
							<width>42</width>
							<height>42</height>
							<bordersize>5</bordersize>
							<texture>OverlayWatchingList.png</texture>
							<visible>ListItem.IsResumable + !String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
						</control>
                    <control type="label">
                        <left>65</left>
                        <width>790</width>
						<height>30</height>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
						<aligny>center</aligny>
						<label>$INFO[ListItem.Title]</label>
						<shadowcolor>FF000000</shadowcolor>
                    </control>
					<control type="label">
                        <left>65</left>
                        <width>790</width>
						<height>30</height>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
						<aligny>center</aligny>
                        <label>$INFO[ListItem.Label]</label>
						<visible>String.IsEmpty(ListItem.Title)</visible>
						<shadowcolor>FF000000</shadowcolor>
                    </control>
					  <!-- This control displays the rating of the Episode-->
						<control type="image">
							<left>880</left>
							<top>32</top>
							<width>100</width>
							<height>30</height>
							<texture>$VAR[ItemStarRating]</texture>
							<aspectratio scalediffuse="false">keep</aspectratio>
						</control>

						<control type="label">
							<left>870</left>
							<width>120</width>
							<height>30</height>
							<align>center</align>
							<font>Panel_Description_Header</font>
							<selectedcolor>White</selectedcolor>
							<label>$INFO[ListItem.Premiered]</label>
							<shadowcolor>FF000000</shadowcolor>
						
						</control>
						<control type="label">
							<left>65</left>
							<top>32</top>
							<width>700</width>
							<height>30</height>
							<align>left</align>
							<font>List_Hint</font>
							<selectedcolor>White</selectedcolor>
							<label>$INFO[ListItem.Duration(mins),, $LOCALIZE[31299]]</label>
						</control>
                </focusedlayout>
            
			
			</control>
            <control type="label" id="140">
				<left>50</left>
                <top>215</top>
                <height>30</height>
                <width>985</width>
                <font>Panel_Title</font>
                <textcolor>White</textcolor>
                <aligny>top</aligny>
                <visible>true</visible>
                <scroll>true</scroll>
                <scrollout>false</scrollout>
                <pauseatend>600</pauseatend>
                <scrollspeed>50</scrollspeed>
                <label>$INFO[ListItem.Season,$LOCALIZE[20373] ]</label>
                <visible>Container.Content(episodes)</visible>
            </control>
			<control type="label">
	            <left>50</left>
                <top>610</top>
                <width>600</width>
                <height>50</height>
                <align>left</align>
				<aligny>top</aligny>
                <font>Panel_Title_Footer</font>
                <label>$INFO[ListItem.TVShowTitle]</label>
                <visible>Container.Content(episodes)</visible>
            </control>
			<control type="scrollbar" id="5651">
                <left>1265</left>
                <top>290</top>
                <width>5</width>
                <height>315</height>
				<onleft>565</onleft>
				<orientation>vertical</orientation>
            </control>
            

		
		</control>
    </include>
</includes>