<?xml version="1.0" encoding="utf-8"?>
<includes>
    <include name="Viewtype_Directors_List">
        <control type="group">
            <visible>Control.IsVisible(540)</visible>
			<description>Directors View List (id=540)</description>
            <visible>Container.Content(directors)</visible>
            <animation type="TYPE" condition="Window.IsVisible(2001) | Window.IsVisible(139) | Window.IsVisible(136)" reversible="false">
                <effect type="slide" end="-1500,0" time="200" />
            </animation>
            <animation type="TYPE" condition="!Window.IsVisible(2001) + !Window.IsVisible(139) + !Window.IsVisible(136)" 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>
            <!--This control shows the label of the folder name -->
			<control type="label">
                <label>$INFO[Container.FolderName]</label>
                <left>50</left>
                <top>215</top>
                <height>30</height>
                <width>884</width>
                <font>Panel_Title</font>
				<aligny>top</aligny>
				<align>left</align>
             </control>
 			<!-- This Control displays the background behind the Album List-->
            <control type="image">
                <left>370</left>
                <top>290</top>
                <width>395</width>
                <height>315</height>
                <texture>music_fanart_diffuse.png</texture>
                <fadetime>200</fadetime>
                <aspectratio scalediffuse="false">stretch</aspectratio>
            </control>
            <!--This control defines the list that will display the items -->
			<control type="list" id="540">
				<visible>Container.Content(directors)</visible>
                <left>370</left>
                <top>290</top>
                <width>890</width>
                <height>315</height>
                <scrolltime>200</scrolltime>
                <onleft>9000</onleft>
				<onleft>Skin.ToggleSetting(showViewOptions)</onleft>
				<onright>5401</onright>
                <onup>540</onup>
                <ondown>540</ondown>
                <pagecontrol>5401</pagecontrol>
                <viewtype label="List+Movies">Director List</viewtype>
				<!-- This Control defines the unfocused item layout-->
				<itemlayout height="45">
					<control type="label">
                        <left>20</left>
                        <width>355</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.Label]</label>
                    </control>
                </itemlayout>
				<!-- This Control defines the focused item layout-->
                <focusedlayout height="45">
                    <control type="image">
                        <width>395</width>
                        <height>45</height>
                        <texture colordiffuse="AccentDiffuse">button.png</texture>
						<visible>Control.HasFocus(540)</visible>
                    </control>
					<control type="image">
                        <width>395</width>
                        <height>45</height>
                        <texture>tile.png</texture>
						<visible>!Control.HasFocus(540)</visible>
                    </control>
                    <control type="label">
                        <left>20</left>
                        <width>355</width>
						<font>List_Focused</font>
                        <label>$INFO[ListItem.Label]</label>
                    </control>
                </focusedlayout>
			</control>
			
			<include>ArtistAlbumPanelCover</include>
			
			<!-- This Control defines the scrollbar of the Album list-->
			<control type="scrollbar" id="5401">
				<left>770</left>
				<top>290</top>
				<width>5</width>
				<onleft>540</onleft>
				<onright>900</onright>
				<height>315</height>
				<orientation>vertical</orientation>
			</control>
			
		<control type="panel" id="900">
			<left>780</left>
			<top>290</top>
			<width>500</width>
			<height>320</height>
			<onleft>540</onleft>
			<scrolltime>200</scrolltime>
			<orientation>horizontal</orientation>
			<onup>540</onup>
			<ondown>540</ondown>
			<preloaditems>2</preloaditems>
			<itemlayout width="220" height="315">
				<control type="image">
					<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">
					<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">
					<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">
					<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>5</top>
					<width>60</width>
					<height>60</height>
					<texture>OverlayWatchedPanel.png</texture>
					<animation type="Focus" reversible="false">
						<effect type="zoom" center="0,215" 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>150</left>
					<top>5</top>
					<width>60</width>
					<height>60</height>
					<texture>OverlayWatchingPanel.png</texture>
					<animation type="Focus" reversible="false">
						<effect type="zoom" center="0,215" start="80" end="120" time="400" tween="back" easing="out" />
						<effect type="fade" start="80" end="100" time="400" />
					</animation>
					<visible>ListItem.IsResumable + !String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
				</control>
				<control type="image">
					<left>135</left>
					<top>5</top>
					<width>75</width>
					<height>75</height>
					<texture>OverlayNewPanel.png</texture>
					<animation type="Focus" reversible="false">
						<effect type="zoom" center="0,215" 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>
				<control type="image">
			<top>250</top>
			<left>5</left>
			<width>60</width>
			<height>60</height>
			<texture>Overlay3DPanel.png</texture>
				<visible>ListItem.IsStereoscopic</visible>
		</control>
		<control type="image">
			<top>250</top>
			<left>5</left>
			<width>60</width>
			<height>60</height>
			<texture>OverlayHDPanel.png</texture>
				<visible>Integer.IsGreater(ListItem.VideoResolution,699) + !ListItem.IsStereoscopic</visible>
		</control>
		
					<control type="image">
			<top>250</top>
			<left>5</left>
			<width>60</width>
			<height>60</height>
			<texture>Overlay4KPanel.png</texture>
			<visible>String.IsEqual(ListItem.VideoResolution,4K) + !ListItem.IsStereoscopic</visible>
		</control>
					
			</itemlayout>
			<focusedlayout width="220" height="315">
				
				<control type="image">
					<width>215</width>
					<height>315</height>
					<texture>button.png</texture>
					<aspectratio scalediffuse="false">stretch</aspectratio>
				</control>
				<control type="image">
					<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">
					<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">
					<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">
					<left>150</left>
					<top>5</top>
					<width>60</width>
					<height>60</height>
					<texture>OverlayWatchedPanel.png</texture>
					 <visible>String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
				</control>
				<control type="image">
					<left>150</left>
					<top>5</top>
					<width>60</width>
					<height>60</height>
					<texture>OverlayWatchingPanel.png</texture>
					 <visible>ListItem.IsResumable + !String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
				</control>
				<control type="image">
					<left>135</left>
					<top>5</top>
					<width>75</width>
					<height>75</height>
					<texture>OverlayNewPanel.png</texture>
					<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>
				<control type="image">
			<top>250</top>
			<left>5</left>
			<width>60</width>
			<height>60</height>
			<texture>Overlay3DPanel.png</texture>
				<visible>ListItem.IsStereoscopic</visible>
		</control>
		<control type="image">
			<top>250</top>
			<left>5</left>
			<width>60</width>
			<height>60</height>
			<texture>OverlayHDPanel.png</texture>
				<visible>Integer.IsGreater(ListItem.VideoResolution,699) + !ListItem.IsStereoscopic</visible>
		</control>
		
					<control type="image">
			<top>250</top>
			<left>5</left>
			<width>60</width>
			<height>60</height>
			<texture>Overlay4KPanel.png</texture>
			<visible>String.IsEqual(ListItem.VideoResolution,4K) + !ListItem.IsStereoscopic</visible>
		</control>
				
				
							
			</focusedlayout>
			<content>$INFO[ListItem.DBID,videodb://movies/directors/,]</content>
		</control>
			
			
			
			
			

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