<?xml version="1.0" encoding="utf-8"?>
<includes>
    <include name="Viewtype_Season_Tall">
        <control type="group">
            <visible>Control.IsVisible(55)</visible>
            <visible>Container.Content(Seasons)</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>
            <animation effect="fade" time="300">WindowOpen</animation>
            <animation type="WindowClose">
                <effect type="fade" time="300" />
            </animation>
		
            <control type="fixedlist" id="55">
                <viewtype label="Poster">Seasons View</viewtype>
                <left>50</left>
                <top>215</top>
                <width>1200</width>
                <height>390</height>
                <scrolltime>200</scrolltime>
                <orientation>horizontal</orientation>
                <onleft>55</onleft>
				<onright>55</onright>
				<onup>9000</onup>
				<onup>Skin.ToggleSetting(showViewOptions)</onup>
				<focus>0</focus>
                <pagecontrol>60</pagecontrol>
                <preloaditems>2</preloaditems>
                <visible>Container.Content(Seasons)</visible>
                <itemlayout width="240" height="315">
					
		            <control type="image">
                        <top>75</top>
						<width>215</width>
                        <height>315</height>
                        <texture>tile.png</texture>
                        <aspectratio scalediffuse="false">stretch</aspectratio>
                        <visible>!String.IsEqual(ListItem.Title, )</visible>
                    </control>
                    <control type="image">
                        <top>75</top>
                        <width>215</width>
                        <height>315</height>
                        <texture>$INFO[ListItem.Art(poster)]</texture>
					    <aspectratio scalediffuse="false">scale</aspectratio>
                        <bordersize>5</bordersize>
                        <visible>!String.Contains(ListItem.Icon,default)</visible>
                    </control>
                    <control type="image">
                        <top>75</top>
                        <width>215</width>
                        <height>315</height>
                        <texture>$INFO[ListItem.Icon]</texture>
                        <aspectratio scalediffuse="false">keep</aspectratio>
                        <bordersize>5</bordersize>
                        <visible>String.Contains(ListItem.Icon,default)</visible>
                    </control>
					<control type="image">
                        <top>75</top>
                        <width>215</width>
                        <height>315</height>
                        <texture>music_fanart_diffuse.png</texture>
					    <aspectratio scalediffuse="false">scale</aspectratio>
                        <bordersize>5</bordersize>
                     </control>
                    <control type="image">
                        <left>150</left>
                        <top>80</top>
                        <width>60</width>
                        <height>60</height>
                        <texture>OverlayWatchedPanel.png</texture>
                        <animation type="Focus" reversible="false">
                            <effect type="zoom" center="0,0" start="80" end="120" time="400" tween="back" easing="out" />
                            <effect type="fade" start="80" end="100" time="400" />
                        </animation>
                        <visible> String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
                    </control>
					<control type="image">
                        <left></left>
                        <top>75</top>
                        <width>215</width>
                        <height>315</height>
                        <texture>new.png</texture>
                        <colordiffuse>PanelDiffuse</colordiffuse>
                        <bordersize>5</bordersize>
                        <visible>Container.Content(TVShows) + !Skin.HasSetting(HideNewEpisodes) + !String.IsEqual(ListItem.Overlay,OverlayWatched.png) + [String.IsEqual(Window(Home).Property(LatestEpisode.1.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.2.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.3.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.4.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.5.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.6.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.7.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.8.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.9.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.10.ShowTitle),ListItem.Label)]</visible>
                    </control>
						
                </itemlayout>
                <focusedlayout width="240" height="315">
					<control type="image">
                        <top>75</top>
						<width>215</width>
                        <height>315</height>
                        <texture>button.png</texture>
                        <aspectratio scalediffuse="false">stretch</aspectratio>
                    </control>
					<control type="image">
						<top>75</top>
                        <width>215</width>
                        <height>315</height>
                        <texture>tile.png</texture>
                        <aspectratio scalediffuse="false">stretch</aspectratio>
						<bordersize>5</bordersize>
                        <visible>String.IsEqual(ListItem.Label,..)</visible>
                    </control>
					<control type="image">
						<top>15</top>
						<left>0</left>
                        <width>150</width>
                        <height>55</height>
                        <texture>button.png</texture>
                        <aspectratio scalediffuse="false">stretch</aspectratio>
                    </control>
					<control type="image">
						<top>15</top>
						<left>0</left>
                        <width>150</width>
                        <height>55</height>
                        <texture>tile.png</texture>
                        <aspectratio scalediffuse="false">stretch</aspectratio>
                    </control>
					<control type="image">
						<top>15</top>
						<left>155</left>
                        <width>60</width>
                        <height>60</height>
                        <texture colordiffuse="AccentDiffuse">button.png</texture>
                        <aspectratio scalediffuse="false">stretch</aspectratio>
                    </control>
					<control type="image">
						<top>25</top>
						<left>165</left>
                        <width>40</width>
                        <height>40</height>
                        <texture>DefaultTvShows.png</texture>
                        <aspectratio scalediffuse="false">stretch</aspectratio>
                        <visible>String.IsEqual(ListItem.Title,$LOCALIZE[20366]) | String.IsEqual(ListItem.Title,$LOCALIZE[20381]) | String.IsEqual(ListItem.label,..)</visible>
                    </control>
					<control type="image">
						<top>25</top>
						<left>165</left>
                        <width>40</width>
                        <height>40</height>
                        <texture>DefaultMovies.png</texture>
                        <aspectratio scalediffuse="false">stretch</aspectratio>
                        <visible>String.IsEmpty(ListItem.Season) + !String.IsEmpty(ListItem.Title) + !String.IsEqual(ListItem.Title,$LOCALIZE[20366]) + !String.IsEqual(ListItem.Title,$LOCALIZE[20381])</visible>
                    </control>
					<control type="image">
						<top>75</top>
                        <width>215</width>
                        <height>315</height>
                        <texture>$INFO[ListItem.Art(poster)]</texture>
                        <aspectratio scalediffuse="false">scale</aspectratio>
                        <bordersize>5</bordersize>
                        <visible>!String.Contains(ListItem.Icon,default)</visible>
                    </control>
					<!--Display Image for All Seasons -->
					<control type="image">
						<top>75</top>
                        <width>215</width>
                        <height>315</height>
                        <texture>$INFO[ListItem.Art(tvshow.poster)]</texture>
                        <aspectratio scalediffuse="false">scale</aspectratio>
                        <bordersize>5</bordersize>
                        <visible>String.IsEqual(ListItem.Label,$LOCALIZE[20366])</visible>
                    </control>
                    <control type="image">
                        <top>75</top>
                        <width>215</width>
                        <height>315</height>
                        <texture>$INFO[ListItem.Icon]</texture>
						<bordersize>5</bordersize>
						<aspectratio>keep</aspectratio>
                        <visible>String.Contains(ListItem.Icon,default) + !String.IsEqual(ListItem.Label,$LOCALIZE[20366])</visible>
                    </control>
                    <control type="image">
                        <left>151</left>
                        <top>79</top>
                        <width>60</width>
                        <height>60</height>
                        <texture>OverlayWatchedPanel.png</texture>
						  <animation type="Focus" reversible="false">
                            <effect type="zoom" center="215,75" start="80" end="120" time="400" tween="back" easing="out" />
                            <effect type="fade" start="80" end="100" time="400" />
                        </animation>
                
                        <visible>String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
                    </control>
                     <control type="image">
                        <left>88</left>
                        <top>205</top>
                        <width>20</width>
                        <height>20</height>
                        <texture>Overlay4KPanel.png</texture>
                        <animation type="Focus" reversible="false">
                            <effect type="zoom" center="49,72" start="80" end="120" time="400" tween="back" easing="out" />
                            <effect type="fade" start="80" end="100" time="400" />
                        </animation>
                        <visible>!String.IsEqual(ListItem.Overlay,OverlayWatched.png) + [String.IsEqual(Window(Home).Property(LatestEpisode.1.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.2.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.3.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.4.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.5.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.6.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.7.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.8.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.9.ShowTitle),ListItem.Label) | String.IsEqual(Window(Home).Property(LatestEpisode.10.ShowTitle),ListItem.Label)]</visible>
                    </control>
					<!-- Display Season Nr -->
					<control type="label">
					 	<top>15</top>
						<left>155</left>
						<height>60</height>
						<width>60</width>
						<font>Panel_Title</font>
						<aligny>center</aligny>
						<align>center</align>
						<label>$INFO[ListItem.Season]</label>
						<shadowcolor>55000000</shadowcolor>
						<visible>!String.IsEmpty(ListItem.Season) + !String.IsEqual(ListItem.Title,$LOCALIZE[20381])</visible>
					</control>
					<!-- Display Season Text -->
					<control type="label">
					 	<top>15</top>
						<height>55</height>
						<width>150</width>
						<font>Panel_Title2</font>
						<aligny>center</aligny>
						<align>center</align>
						<label>$LOCALIZE[20373]</label>
						<visible>!String.IsEmpty(ListItem.Season) + !String.IsEqual(ListItem.Title,$LOCALIZE[20381])</visible>
					</control>
					<control type="label">
					 	<top>15</top>
						<height>55</height>
						<width>150</width>
						<font>Panel_Title2</font>
						<aligny>center</aligny>
						<align>center</align>
						<label>$INFO[ListItem.Label]</label>
						<visible>String.IsEqual(ListItem.Title,$LOCALIZE[20381])</visible>
					</control>
					<!-- Display Back Label-->
					<control type="label">
					 	<top>15</top>
						<height>55</height>
						<width>150</width>
						<font>Panel_Title2</font>
						<aligny>center</aligny>
						<align>center</align>
						<label>$LOCALIZE[31741]</label>
						<visible>String.IsEqual(ListItem.Label,.. )</visible>
					</control>
					<!-- Display Movie Label-->
					<control type="label">
					 	<top>15</top>
						<height>55</height>
						<width>150</width>
						<font>Panel_Title2</font>
						<aligny>center</aligny>
						<align>center</align>
						<label>$LOCALIZE[20338]</label>
						<visible>String.IsEmpty(ListItem.Season) + !String.IsEmpty(ListItem.Title) + !String.IsEqual(ListItem.Title,$LOCALIZE[20366] ) + !String.IsEqual(ListItem.Title,$LOCALIZE[20381])</visible>
					</control>
					<!-- Display All Seasons Label-->
					<control type="label">
					 	<top>15</top>
						<height>55</height>
						<width>150</width>
						<font>Panel_Title2</font>
						<aligny>center</aligny>
						<align>center</align>
						<label>$LOCALIZE[31740]</label>
						<visible>String.IsEqual(ListItem.Label,$LOCALIZE[20366])</visible>
					</control>
				</focusedlayout>
            </control>
           <!-- Episodes number info -->
			<control type="label">
                <left>50</left>
                <top>610</top>
                <width>300</width>
                <height>50</height>
                <align>left</align>
				<aligny>top</aligny>
                <font>Panel_Hint</font>
                <label>$LOCALIZE[20360] [COLOR Accent]$INFO[ListItem.Property(TotalEpisodes)][/COLOR] $LOCALIZE[16101] [COLOR Accent]$INFO[ListItem.Property(UnWatchedEpisodes)][/COLOR]</label>
				<visible>!String.IsEmpty(ListItem.Season) | String.IsEqual(ListItem.Title,$LOCALIZE[20366]) | String.IsEqual(ListItem.Title,$LOCALIZE[20381])</visible>

            </control>
			
			 <!-- Linked Movie Title -->
			<control type="label">
                <left>50</left>
                <top>610</top>
                <width>300</width>
                <height>50</height>
                <align>left</align>
				<aligny>top</aligny>
                <font>Panel_Hint</font>
                <label>$INFO[ListItem.Label]</label>
				<visible>String.IsEmpty(ListItem.Season) + !String.IsEmpty(ListItem.Title) + !String.IsEqual(ListItem.Title,$LOCALIZE[20366] ) + !String.IsEqual(ListItem.Title,$LOCALIZE[20381])</visible>

            </control>
			

			<!--
			<control type="image">
                <left>1170</left>
                <top>620</top>
                <width>50</width>
                <height>50</height>
                <texture >marker.png</texture>
                <visible>Container(55).HasNext</visible>
                <animation effect="fade" time="200">VisibleChange</animation>
			</control>
			-->
			
				<!-- Previous Button -->
				<control type="button" id="110">
					<top>650</top>
					<left>10</left>
					<width>60</width>
					<height>60</height>
					<onclick>Control.Move(55,-1)</onclick>
					<texturefocus flipy="true">down_arrow.png</texturefocus>
					<texturenofocus flipy="true">down_arrow.png</texturenofocus>
					<animation effect="rotate" end="90" center="40,680" time="0" condition="true" reversible="false">Conditional</animation>
					<visible>[System.Platform.IOS | System.Platform.Android | System.getbool(input.enablemouse)]</visible>
				</control>
				<!-- Next Button -->
				<control type="button" id="120">
					<top>650</top>
					<left>1205</left>
					<width>60</width>
					<height>60</height>
					<onclick>Control.Move(55,1)</onclick>
					<texturefocus>down_arrow.png</texturefocus>
					<texturenofocus>down_arrow.png</texturenofocus>
					<animation effect="rotate" end="90" center="1235,680" time="0" condition="true" reversible="false">Conditional</animation>
					<visible>[System.Platform.IOS | System.Platform.Android | System.getbool(input.enablemouse)]</visible>
				</control>
			
			
			
        </control>
    </include>
</includes>