<?xml version="1.0" encoding="utf-8"?>
<includes>
    <include name="View_Playlist">
        <control type="group">
            <visible>Control.IsVisible(600)</visible>
            <animation type="TYPE" condition="Window.IsVisible(2001) | Window.IsVisible(2003) | Window.IsVisible(139) | Window.IsVisible(136) | Window.IsVisible(135) | Window.IsVisible(addonsettings)" reversible="false">
                <effect type="slide" end="-1500,0" time="200" />
            </animation>
            <animation type="TYPE" condition="!Window.IsVisible(2001) + !Window.IsVisible(2003) + !Window.IsVisible(139) + !Window.IsVisible(136) + !Window.IsVisible(135) + !Window.IsVisible(addonsettings)" reversible="false">
                <effect type="slide" start="-1500,0" time="200" />
            </animation>
				
			<!-- This Control displays the background behind the  playlist items title-->
			<control type="image">
                <left>420</left>
                <top>290</top>
                <width>685</width>
                <height>315</height>
                <texture>music_fanart_diffuse.png</texture>
             </control>
			<!-- This Control displays the background behind the track number or type icon -->
			<control type="image">
                <left>370</left>
                <top>290</top>
                <width>45</width>
                <height>315</height>
                <texture>other_textures/black-back.png</texture>
            </control>
			<!-- This Control displays the background behind the track rating or video item year-->
			<control type="image">
                <left>1120</left>
                <top>290</top>
                <width>140</width>
                <height>315</height>
                <texture>other_textures/black-back.png</texture>
             </control>
			<!--This control shows the label Videos -->
			<control type="label">
				<label>$LOCALIZE[559]$INFO[ListItem.Title,: ]</label>
				<left>50</left>
				<top>215</top>
				<height>30</height>
				<width>1200</width>
				<font>Panel_Title</font>
				<aligny>top</aligny>
				<align>left</align>
				<visible>!String.IsEqual(ListItem.DBType,song)</visible>
			</control>
				 
		<!-- This Control displays the list of songs or videos -->	
		<control type="list" id="600">
                <viewtype label="List">List View</viewtype>
				<left>370</left>
                <top>290</top>
                <width>890</width>
                <height>315</height>
                <onup>600</onup>
                <ondown>600</ondown>
                <onright>6001</onright>
                <onleft>9000</onleft>
				<onleft>Skin.ToggleSetting(showViewOptions)</onleft>
                <scrolltime>0</scrolltime>
                <orientation>vertical</orientation>
				<pagecontrol>6001</pagecontrol>
		        <!-- This Control defines the unfocused item layout -->
				<itemlayout height="45">
					  <!-- This Control displays the Track Number-->
					<control type="label">
                        <width>45</width>
						<font>List_Unfocused</font>
                        <align>center</align>
                        <label>$INFO[ListItem.TrackNumber]</label>
						<visible>String.IsEqual(ListItem.DBType,song)</visible>
                    </control>
					<control type="image">
                        <width>45</width>
						<height>45</height>
						<bordersize>10</bordersize>
			            <texture>DefaultMusicSongs.png</texture>
						<visible>[String.IsEmpty(ListItem.TrackNumber) + String.IsEqual(ListItem.DBType,music)] | [String.IsEmpty(ListItem.DBType)+ Container.Content(songs)]</visible>
                   </control>
					<control type="image">
                        <width>45</width>
						<height>45</height>
						<bordersize>10</bordersize>
			            <texture>DefaultTVShows.png</texture>
						<visible>String.IsEqual(ListItem.DBType,episode)</visible>
                    </control>
					<control type="image">
                        <width>45</width>
						<height>45</height>
						<bordersize>10</bordersize>
			            <texture>DefaultMovies.png</texture>
						<visible>String.IsEqual(ListItem.DBType,movie)</visible>
                    </control>
					<control type="image">
                        <width>45</width>
						<height>45</height>
						<bordersize>10</bordersize>
			            <texture>DefaultMusicVideos.png</texture>
						<visible>String.IsEqual(ListItem.DBType,musicvideo)</visible>
                    </control>
					<!-- This Control displays the List Item Title-->
                    <control type="label">
                        <left>65</left>
                        <width>645</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.Title] • $INFO[ListItem.Album] • $INFO[ListItem.Artist]</label>
						<visible>String.IsEqual(ListItem.DBType,musicvideo)</visible>
					</control>
					<control type="label">
                        <left>65</left>
                        <width>645</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.TvShowTitle] • $INFO[ListItem.Season,S]$INFO[ListItem.Episode,E] • $INFO[ListItem.Title]</label>
						<visible>String.IsEqual(ListItem.DBType,episode)</visible>
					</control>
					<control type="label">
                        <left>65</left>
                        <width>645</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.Title]</label>
						<visible>String.IsEqual(ListItem.DBType,movie)</visible>
					</control>
					<!-- This Control displays the Track Title-->
                    <control type="label">
                        <left>65</left>
                        <width>645</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.Title]</label>
						<visible>String.IsEqual(ListItem.DBType,music) | String.IsEqual(ListItem.DBType,song) | String.IsEmpty(ListItem.DBType)</visible>
                    </control>
					<control type="label">
                        <left>65</left>
                        <width>730</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.Label]</label>
						<visible>String.IsEqual(ListItem.Label,..)</visible>
					</control>
              <!-- This Control displays the unfocused Year of the video-->
					<control type="label">
                        <left>750</left>
                        <width>140</width>
                        <height>45</height>
						<font>List_Unfocused</font>
						<align>center</align>
						<aligny>center</aligny>
						<label>$INFO[ListItem.Year]</label>
						<visible>!String.IsEqual(ListItem.DBType,music) + !String.IsEqual(ListItem.DBType,song)</visible>
				    </control>
					<!-- This Control displays the Track Rating-->
					<control type="image">
                        <left>770</left>
                        <top>10</top>
                        <width>100</width>
                        <height>25</height>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<texture>other_textures/colorrating/$INFO[ListItem.UserRating,rating,.png]</texture>
						<visible>String.IsEqual(ListItem.DBType,song) + !String.IsEmpty(ListItem.UserRating)</visible>
                    </control>
					<!-- This Control displays the Track Rating when no rating is available-->
					<control type="image">
                        <left>770</left>
                        <top>10</top>
                        <width>100</width>
                        <height>25</height>
						<texture>other_textures/colorrating/rating.png</texture>
						<visible>String.IsEmpty(ListItem.UserRating) + [String.IsEqual(ListItem.DBType,music) | String.IsEqual(ListItem.DBType,song)]</visible>
						<aspectratio scalediffuse="false">keep</aspectratio>
				    </control>					
                    <!-- This Control displays the video Duration-->
					<control type="label">
                        <left>625</left>
                        <align>right</align>
                        <width>100</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.Duration(mins),, $LOCALIZE[31299]]</label>
						<visible>!String.IsEqual(ListItem.DBType,song) + !String.IsEqual(ListItem.DBType,music)</visible>
                    </control>
					   <!-- This Control displays the track Duration-->
					<control type="label">
                        <left>625</left>
                        <align>right</align>
                        <width>100</width>
						<font>List_Unfocused</font>
                        <label>$INFO[ListItem.Duration]</label>
						<visible>String.IsEqual(ListItem.DBType,song) | String.IsEqual(ListItem.DBType,music)</visible>
                    </control>
                </itemlayout>
                <focusedlayout height="45">
                    <!-- This Control displays the Focused Title Highlighted Bg-->
					<control type="image">
                        <left>50</left>
						<width>685</width>
                        <height>45</height>
                        <texture colordiffuse="AccentDiffuse">button.png</texture>
                    </control>
					<control type="image">
                        <width>45</width>
                        <height>45</height>
                        <texture colordiffuse="AccentDiffuse">button.png</texture>
                    </control>
					<control type="image">
					     <left>750</left>
                        <width>140</width>
                        <height>45</height>
                        <texture colordiffuse="AccentDiffuse">button.png</texture>
                    </control>
					<control type="image">
                        <width>45</width>
						<height>45</height>
						<bordersize>10</bordersize>
			            <texture>DefaultTVShows.png</texture>
						<visible>String.IsEqual(ListItem.DBType,episode)</visible>
                    </control>
					<control type="image">
                        <width>45</width>
						<height>45</height>
						<bordersize>10</bordersize>
			            <texture>DefaultMovies.png</texture>
						<visible>String.IsEqual(ListItem.DBType,movie)</visible>
                    </control>
					<control type="image">
                        <width>45</width>
						<height>45</height>
						<bordersize>10</bordersize>
			            <texture>DefaultMusicVideos.png</texture>
						<visible>String.IsEqual(ListItem.DBType,musicvideo)</visible>
                    </control>
					<control type="image">
                        <width>45</width>
						<height>45</height>
						<bordersize>10</bordersize>
			            <texture>DefaultMusicSongs.png</texture>
						<visible>[String.IsEmpty(ListItem.TrackNumber) + String.IsEqual(ListItem.DBType,music)] | [String.IsEmpty(ListItem.DBType)+ Container.Content(songs)]</visible>
                    </control>
					<!-- This Control displays the Focused Track Nr-->
                    <control type="label">
                        <width>45</width>
                        <align>center</align>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
                        <label>$INFO[ListItem.TrackNumber]</label>
						<shadowcolor>FF000000</shadowcolor>
						<visible>!String.IsEmpty(ListItem.TrackNumber) + String.IsEqual(ListItem.DBType,song)</visible>
                    </control>
					 <!-- This Control displays the Focused Item Title-->
					<control type="label">
                        <left>65</left>
                        <width>645</width>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
						<shadowcolor>FF000000</shadowcolor>
                        <label>$INFO[ListItem.TvShowTitle] • $INFO[ListItem.Season,S]$INFO[ListItem.Episode,E] • $INFO[ListItem.Title]</label>
						<visible>String.IsEqual(ListItem.DBType,episode)</visible>
					</control>
				   <control type="label">
                        <left>65</left>
                        <width>645</width>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
						<shadowcolor>FF000000</shadowcolor>
                        <label>$INFO[ListItem.Title] • $INFO[ListItem.Album] • $INFO[ListItem.Artist]</label>
						<visible>String.IsEqual(ListItem.DBType,musicvideo)</visible>
					</control>
					<control type="label">
                        <left>65</left>
                        <width>645</width>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
						<shadowcolor>FF000000</shadowcolor>
                        <label>$INFO[ListItem.Title]</label>
						<visible>String.IsEqual(ListItem.DBType,movie)</visible>
					</control>
					  <!-- This Control displays the Focused Track Title-->
					<control type="label">
                        <left>65</left>
                        <width>645</width>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
                        <label>$INFO[ListItem.Title]</label>
						<shadowcolor>FF000000</shadowcolor>
						<visible>String.IsEqual(ListItem.DBType,music) | String.IsEqual(ListItem.DBType,song) | String.IsEmpty(ListItem.DBType)</visible>
					</control>
					<control type="label">
                        <left>65</left>
                        <width>730</width>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
                        <label>$INFO[ListItem.Label]</label>
						<visible>String.IsEqual(ListItem.Label,..)</visible>
                    </control>		
                    <!-- This Control displays the Focused Video Year-->
					<control type="label">
                        <left>750</left>
                        <width>140</width>
                        <height>45</height>
						<font>List_Focused</font>
						<align>center</align>
						<aligny>center</aligny>
						<selectedcolor>White</selectedcolor>
						<shadowcolor>FF000000</shadowcolor>
						<label>$INFO[ListItem.Year]</label>
						<visible>!String.IsEqual(ListItem.DBType,music) + !String.IsEqual(ListItem.DBType,song)</visible>
				    </control>
					<!-- This Control displays the Track Rating when no rating is available-->
					<control type="image">
                        <left>770</left>
                        <top>10</top>
                        <width>100</width>
                        <height>25</height>
						<texture>other_textures/leftrating/rating.png</texture>
						<visible>String.IsEmpty(ListItem.UserRating) + [String.IsEqual(ListItem.DBType,music) | String.IsEqual(ListItem.DBType,song)]</visible>
						<aspectratio scalediffuse="false">keep</aspectratio>
                    </control>
                    <!-- This Control displays the Focused Track Rating-->
					<control type="image">
                        <left>771</left>
                        <top>11</top>
                        <width>100</width>
                        <height>25</height>
						<texture>other_textures/leftrating/$INFO[ListItem.UserRating,rating,.png]</texture>
						<aspectratio scalediffuse="false">keep</aspectratio>
						<visible>!String.IsEmpty(ListItem.UserRating) + String.IsEqual(ListItem.DBType,song)</visible>
			        </control>
                    <!-- This Control displays the Focused Video Duration-->
					<control type="label">
                        <left>625</left>
                        <align>right</align>
                        <width>100</width>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
                        <label>$INFO[ListItem.Duration(mins),, $LOCALIZE[31299]]</label>
						<shadowcolor>FF000000</shadowcolor>
						<visible>!String.IsEqual(ListItem.DBType,song) + !String.IsEqual(ListItem.DBType,music)</visible>
                    </control>
					 <!-- This Control displays the Focused Track Duration-->
					<control type="label">
                        <left>625</left>
                        <align>right</align>
                        <width>100</width>
						<font>List_Focused</font>
						<selectedcolor>White</selectedcolor>
                        <label>$INFO[ListItem.Duration]</label>
						<shadowcolor>FF000000</shadowcolor>
						<visible>String.IsEqual(ListItem.DBType,song) | String.IsEqual(ListItem.DBType,music)</visible>
                    </control>
                </focusedlayout>
            </control>
            <!-- This Control displays the scrollbar managing the song list-->
			<control type="scrollbar" id="6001">
                <left>1110</left>
                <top>290</top>
                <width>5</width>
                <height>315</height>
				<onleft>600</onleft>
            </control>
			
			<!-- This Control displays the Album Title-->
			<control type="label">
                <label>$INFO[ListItem.Album]</label>
                <left>50</left>
                <top>215</top>
                <height>30</height>
                <width>885</width>
                <font>Panel_Title</font>
                <scroll>true</scroll>
                <scrollout>false</scrollout>
                <pauseatend>600</pauseatend>
                <scrollspeed>50</scrollspeed>
                <aligny>top</aligny>
				<visible>String.IsEqual(ListItem.DBType,song)</visible>
            </control>
			<!-- This Control displays the Album Year-->
			<control type="label">
                <label>[COLOR Accent]$INFO[ListItem.Year][/COLOR]</label>
                <left>1145</left>
                <top>215</top>
                <height>30</height>
                <width>100</width>
                <font>Panel_Title</font>
                <scroll>true</scroll>
                <scrollout>false</scrollout>
                <pauseatend>600</pauseatend>
                <scrollspeed>50</scrollspeed>
                <aligny>top</aligny>
				<align>left</align>
				<visible>String.IsEqual(ListItem.DBType,song)</visible>
            </control>

			
			<include>ArtistAlbumPanelCover</include>
			
				<!-- This control displays the Footer Text below the main Poster-->
            <control type="label">
				<visible>String.IsEqual(ListItem.DBType,song)</visible>
				<include>ViewFooterTitle</include>	
                <label>$VAR[PanelFooterText]</label>
            </control>

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