<?xml version="1.0" encoding="utf-8"?>
<includes>
    <include name="Viewtype_RecentEpisodes_ListInfo">
        <control type="group">
            <visible>Control.IsVisible(560)</visible>
            <description>Episode List View (id=560)</description>
            <visible>$EXP[isRecentEpisodeList]</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>80</width>
					<height>315</height>
					<texture>music_fanart_diffuse.png</texture>
					<fadetime>200</fadetime>
					<aspectratio scalediffuse="false">stretch</aspectratio>
			</control>
			<control type="image">
					<left>355</left>
					<top>290</top>
					<width>440</width>
					<height>315</height>
					<texture>music_fanart_diffuse.png</texture>
					<fadetime>200</fadetime>
					<aspectratio scalediffuse="false">stretch</aspectratio>
			</control>
		    <control type="list" id="560">
                <left>270</left>
                <top>290</top>
                <width>525</width>
                <height>315</height>
                <scrolltime>200</scrolltime>
                <onup>560</onup>
                <ondown>560</ondown>
                <onright>5601</onright>
                <onleft>9000</onleft>
				<onleft>Skin.ToggleSetting(showViewOptions)</onleft>
                <viewtype label="List Info">Episodes List View</viewtype>
                <pagecontrol>5601</pagecontrol>
                <visible>$EXP[isRecentEpisodeList]</visible>
                <itemlayout height="45" width="525">
                    <control type="label">
                        <left>10</left>
                        <width>850</width>
						<font>List_Unfocused</font>
                        <label>$VAR[SeasonAndEpisodeNumber]</label>
						<visible>!String.IsEmpty(ListItem.Title)</visible>
                    </control>
					<control type="label">
						<left>95</left>
                        <width>390</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.TVShowTitle] • $INFO[ListItem.Title]</label>
						<visible>[String.IsEqual(ListItem.Overlay,OverlayWatched.png)| [ListItem.IsResumable + !String.IsEqual(ListItem.Overlay,OverlayWatched.png)]] + !String.IsEmpty(ListItem.Title)</visible>
                    </control>
					<control type="label">
						<left>95</left>
                        <width>420</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.TVShowTitle] • $INFO[ListItem.Title]</label>
						<visible>!String.IsEqual(ListItem.Overlay,OverlayWatched.png) + !ListItem.IsResumable + !String.IsEmpty(ListItem.Title)</visible>
                    </control>
					<control type="label">
						<left>95</left>
                        <width>420</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.Label]</label>
						<visible>String.IsEmpty(ListItem.Title)</visible>
	                </control>
						<control type="image">
							<left>480</left>
							<width>45</width>
							<height>45</height>
							<bordersize>5</bordersize>
							<texture>OverlayWatchedList.png</texture>
							<visible>String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
						</control>
						<control type="image">
							<left>480</left>
							<width>45</width>
							<height>45</height>
							<bordersize>5</bordersize>
							<texture>OverlayWatchingList.png</texture>
							<visible>ListItem.IsResumable + !String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
						</control>
                </itemlayout>
                <focusedlayout height="45" width="525">
					<control type="image">
						<width>80</width>
                        <height>45</height>
                        <texture colordiffuse="AccentDiffuse">button.png</texture>
                    </control>
					<control type="image">
						<width>80</width>
                        <height>45</height>
                        <texture>tile.png</texture>
                    </control>
					<control type="image">
						<left>85</left>
						<width>440</width>
                        <height>45</height>
                        <texture colordiffuse="AccentDiffuse">button.png</texture>
                    </control>
					<control type="image">
						<left>480</left>
						<width>45</width>
						<height>45</height>
						<bordersize>5</bordersize>
						<texture>OverlayWatchedList.png</texture>
						<visible>String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
					</control>
					<control type="image">
						<left>480</left>
						<width>45</width>
						<height>45</height>
						<bordersize>5</bordersize>
						<texture>OverlayWatchingList.png</texture>
						<visible>ListItem.IsResumable + !String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
					</control>
					<control type="label">
                        <left>10</left>
                        <width>470</width>
						<font>List_Focused</font>
                        <label>$VAR[SeasonAndEpisodeNumber]</label>
						<selectedcolor>White</selectedcolor>
					</control>					
                    <control type="label">
                        <left>95</left>
                        <width>385</width>
						<font>List_Focused</font>
                        <label>$INFO[ListItem.TVShowTitle] • $INFO[ListItem.Title]</label>
						<selectedcolor>White</selectedcolor>
						<shadowcolor>FF000000</shadowcolor>
						<visible>[String.IsEqual(ListItem.Overlay,OverlayWatched.png)| [ListItem.IsResumable + !String.IsEqual(ListItem.Overlay,OverlayWatched.png)]] + !String.IsEmpty(ListItem.Title)</visible>
                    </control>
					<control type="label">
                        <left>95</left>
                        <width>420</width>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
						<shadowcolor>FF000000</shadowcolor>
                        <label>$INFO[ListItem.TVShowTitle] • $INFO[ListItem.Title]</label>
						<visible>!String.IsEqual(ListItem.Overlay,OverlayWatched.png) + !ListItem.IsResumable + !String.IsEmpty(ListItem.Title)</visible>
                    </control>
					<control type="label">
                        <left>95</left>
                        <width>420</width>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
                        <label>$INFO[ListItem.Label]</label>
						<visible>String.IsEmpty(ListItem.Title)</visible>
						<shadowcolor>FF000000</shadowcolor>
                    </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[Container.FolderName]</label>
            </control>
			<control type="image">
                <left>810</left>
                <top>290</top>
                <width>450</width>
                <height>315</height>
                <texture background="true">music_fanart_diffuse.png</texture>
                <fadetime>200</fadetime>
                <aspectratio scalediffuse="false">stretch</aspectratio>
				<visible>!Skin.HasSetting(episodewidelist)</visible>
            </control>
            <control type="scrollbar" id="5601">
                <left>800</left>
                <top>290</top>
                <width>5</width>
                <height>315</height>
				<onleft>560</onleft>
                <orientation>vertical</orientation>
            </control>
            
			<control type="label">
				<left>825</left>
				<top>300</top>
				<width>420</width>
				<height>50</height>
				<font>Panel_Description_Title</font>
				<label>$INFO[ListItem.Duration(mins),, $LOCALIZE[31299]]</label>
				<visible>!String.IsEqual(ListItem.Label,.. )</visible>
			</control>
			<control type="textbox">
			 <left>825</left>
				<top>355</top>
				<width>420</width>
				<height>190</height>
				<font>Panel_Description</font>
				<info>ListItem.Plot</info>
				<align>justify</align>
				<autoscroll time="3000" delay="6000" repeat="8000"></autoscroll>
			</control>
			<control type="image">
				<left>825</left>
				<top>565</top>
				<width>100</width>
				<height>25</height>
				<texture>$VAR[ItemStarRating]</texture>
				<aspectratio scalediffuse="false">keep</aspectratio>
				<visible>!Skin.HasSetting(ShowNumericalRatingForTvShows)</visible>
			</control>
			<!-- This control displays the rating of the Episode-->
			<control type="label">
				<left>825</left>
				<top>565</top>
				<width>200</width>
				<height>25</height>
				<textcolor>Accent</textcolor>
				<align>left</align>
				<font>Panel_Description_Footer</font>
				<label>$INFO[ListItem.Rating,[COLOR=white]$LOCALIZE[563] [/COLOR]]</label>
				<visible>Skin.HasSetting(ShowNumericalRatingForTvShows)</visible>
			</control>				
			<control type="label">
				<left>1060</left>
				<top>300</top>
				<width>180</width>
				<height>50</height>
				<textcolor>Accent</textcolor>
				<align>right</align>
				<font>Panel_Description_Title</font>
				<label>$INFO[ListItem.Mpaa]</label>
			</control>
			<control type="label">
				<left>960</left>
				<top>565</top>
				<width>280</width>
				<height>25</height>
				<align>right</align>
				<font>Panel_Description_Footer</font>
				<label>[COLOR Accent]$INFO[ListItem.Premiered][/COLOR] $LOCALIZE[20416]</label>
				<visible>!String.IsEqual(ListItem.Label,.. )</visible>
			</control>

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