<?xml version="1.0" encoding="utf-8"?>
<includes>
    <include name="Viewtype_Panel_Tall_List">
        <control type="group">
            <visible>Control.IsVisible(523)</visible>
            <animation type="TYPE" condition="Window.IsVisible(2003) | Window.IsVisible(DialogAddonSettings.xml)" reversible="false">
                <effect type="slide" end="-1500,0" time="200" />
            </animation>
            <animation type="TYPE" condition="!Window.IsVisible(2003) + !Window.IsVisible(DialogAddonSettings.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>

			<!-- List Background -->
			<control type="image">
				<left>270</left>
				<top>290</top>
				<width>865</width>
				<height>315</height>
				<texture>music_fanart_diffuse.png</texture>
				<fadetime>200</fadetime>
				<aspectratio scalediffuse="false">stretch</aspectratio>
			</control>
			<!-- Year - Rating - Background -->
			<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="523">
				<viewtype label="List">List</viewtype>
				<left>270</left>
				<top>290</top>
				<width>990</width>
				<height>315</height>
				<scrolltime>200</scrolltime>
				<onleft>9000</onleft>
				<onleft>Skin.ToggleSetting(showViewOptions)</onleft>
				<onright>5231</onright>
				<onup>523</onup>
				<ondown>523</ondown>
				<pagecontrol>5231</pagecontrol>
				<visible>Container.Content(Movies) | Container.Content(TVShows)</visible>
				<itemlayout height="42" width="865">
					<control type="image">
						<width>990</width>
						<texture border="2">other_textures/buttonnf.png</texture>
					</control>
					<control type="label">
						<left>25</left>
						<width>700</width>
						<font>List_Unfocused</font>
						<label>$INFO[ListItem.Label]</label>
					</control>
					<control type="label">
						<left>870</left>
						<width>120</width>
						<height>30</height>
						<align>center</align>
						<font>List_Unfocused</font>
						<label>$INFO[ListItem.Year]</label>
					</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="image">
							<left>781</left>
							<width>42</width>
							<height>42</height>
							<bordersize>5</bordersize>
							<texture>Overlay3DList.png</texture>
							<visible>ListItem.IsStereoscopic</visible>
							<animation type="TYPE" condition="!String.IsEqual(ListItem.Overlay,OverlayWatched.png) + !ListItem.IsResumable" reversible="false">
								<effect type="slide" start="42" end="42" time="50" />
							</animation>
						</control>
						<control type="image">
							<left>781</left>
							<width>42</width>
							<height>42</height>
							<bordersize>5</bordersize>
							<texture>OverlayHDList.png</texture>
							<visible>Integer.IsGreater(ListItem.VideoResolution,699) + !ListItem.IsStereoscopic</visible>
								<animation type="TYPE" condition="!String.IsEqual(ListItem.Overlay,OverlayWatched.png) + !ListItem.IsResumable" reversible="false">
								<effect type="slide" start="42"  end="42" time="50" />
							</animation>
						</control>
						<control type="image">
							<left>781</left>
							<width>42</width>
							<height>42</height>
							<bordersize>5</bordersize>
							<texture>Overlay4KList.png</texture>
							<visible>String.IsEqual(ListItem.VideoResolution,4K) + !ListItem.IsStereoscopic</visible>
								<animation type="TYPE" condition="!String.IsEqual(ListItem.Overlay,OverlayWatched.png) + !ListItem.IsResumable" reversible="false">
								<effect type="slide" start="42" end="42" time="50" />
							</animation>
						</control>
				</itemlayout>
				<focusedlayout height="63" width="865">
					<control type="image">
						<width>865</width>
						<height>63</height>
						<texture colordiffuse="AccentDiffuse">button.png</texture>
					 </control>
					 <control type="image">
						<width>865</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 colordiffuse="AccentDiffuse" >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="label">
						<left>25</left>
						<width>820</width>
						<height>30</height>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
						<aligny>center</aligny>
						<label>$INFO[ListItem.Label]</label>
						<shadowcolor>FF000000</shadowcolor>
					</control>
					<control type="label">
						<left>25</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>
						<visible>Container.Content(Movies)</visible>
					</control>
					<control type="label">
						<left>870</left>
						<width>120</width>
						<height>30</height>
						<align>center</align>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
						<label>$INFO[ListItem.Year]</label>
						<shadowcolor>FF000000</shadowcolor>					
					</control>
					<control type="label">
						<left>25</left>
						<top>32</top>
						<width>700</width>
						<height>30</height>
						<align>left</align>
						<font>List_Hint</font>
						<selectedcolor>White</selectedcolor>
						<label>$INFO[ListItem.Property(TotalSeasons),, $LOCALIZE[33054]$COMMA ]$INFO[ListItem.Property(TotalEpisodes),, $LOCALIZE[20360]]</label>
						<visible>!Container.Content(movies) + Integer.IsGreater(ListItem.Property(TotalSeasons),1) + Integer.IsGreater(ListItem.Property(TotalEpisodes),1)</visible>
					</control>
					<control type="label">
						<left>25</left>
						<top>32</top>
						<width>700</width>
						<height>30</height>
						<align>left</align>
						<font>List_Hint</font>
						<selectedcolor>White</selectedcolor>
						<label>$INFO[ListItem.Property(TotalSeasons),, $LOCALIZE[20373]$COMMA ]$INFO[ListItem.Property(TotalEpisodes),, $LOCALIZE[20360]]</label>
						<visible>!Container.Content(movies) + !Integer.IsGreater(ListItem.Property(TotalSeasons),1) + Integer.IsGreater(ListItem.Property(TotalEpisodes),1)</visible>
					</control>
					<control type="label">
						<left>25</left>
						<top>32</top>
						<width>700</width>
						<height>30</height>
						<align>left</align>
						<font>List_Hint</font>
						<selectedcolor>White</selectedcolor>
						<label>$INFO[ListItem.Property(TotalSeasons),, $LOCALIZE[33054]$COMMA ]$INFO[ListItem.Property(TotalEpisodes),, $LOCALIZE[20359]]</label>
						<visible>!Container.Content(movies) + Integer.IsGreater(ListItem.Property(TotalSeasons),1) + !Integer.IsGreater(ListItem.Property(TotalEpisodes),1)</visible>
					</control>
					<control type="label">
						<left>25</left>
						<top>32</top>
						<width>700</width>
						<height>30</height>
						<align>left</align>
						<font>List_Hint</font>
						<selectedcolor>White</selectedcolor>
						<label>$INFO[ListItem.Property(TotalSeasons),, $LOCALIZE[20373]$COMMA ]$INFO[ListItem.Property(TotalEpisodes),, $LOCALIZE[20359]]</label>
						<visible>!Container.Content(movies) + !Integer.IsGreater(ListItem.Property(TotalSeasons),1) + !Integer.IsGreater(ListItem.Property(TotalEpisodes),1)</visible>
					</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="image">
							<top>10</top>
							<left>781</left>
							<width>42</width>
							<height>42</height>
							<bordersize>5</bordersize>
							<texture>Overlay3DList.png</texture>
							<visible>ListItem.IsStereoscopic</visible>
							<animation type="TYPE" condition="!String.IsEqual(ListItem.Overlay,OverlayWatched.png) + !ListItem.IsResumable" reversible="false">
								<effect type="slide" start="42" end="42" time="50" />
							</animation>
						</control>
						<control type="image">
							<top>10</top>
							<left>781</left>
							<width>42</width>
							<height>42</height>
							<bordersize>5</bordersize>
							<texture>OverlayHDList.png</texture>
							<visible>Integer.IsGreater(ListItem.VideoResolution,699) + !ListItem.IsStereoscopic</visible>
								<animation type="TYPE" condition="!String.IsEqual(ListItem.Overlay,OverlayWatched.png) + !ListItem.IsResumable" reversible="false">
								<effect type="slide" start="42"  end="42" time="50" />
							</animation>
						</control>
						<control type="image">
							<top>10</top>
							<left>781</left>
							<width>42</width>
							<height>42</height>
							<bordersize>5</bordersize>
							<texture>Overlay4KList.png</texture>
							<visible>String.IsEqual(ListItem.VideoResolution,4K) + !ListItem.IsStereoscopic</visible>
								<animation type="TYPE" condition="!String.IsEqual(ListItem.Overlay,OverlayWatched.png) + !ListItem.IsResumable" reversible="false">
								<effect type="slide" start="42" end="42" time="50" />
							</animation>
						</control>
					  <!-- This control displays the rating of Movie Tv Show or 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>
						<visible>[Container.Content(movies) | Container.Content(tvshows)]</visible>
					</control>
				</focusedlayout>
			</control>
		
			<control type="scrollbar" id="5231">
				<left>1265</left>
				<top>290</top>
				<width>5</width>
				<height>315</height>
				<onleft>523</onleft>
				<orientation>vertical</orientation>
			</control>
			
			<include>MovieTvShowPanelPoster</include>
			
			<!-- This control displays the Footer Text below the main Poster-->
            <control type="label">
				<include>ViewFooterTitle</include>	
                <label>$VAR[PanelFooterText]</label>
            </control>
		
		</control>
    </include>
</includes>