<?xml version="1.0" encoding="UTF-8"?>
<includes>

    <variable name="TripleEpisodeOverlay" description="Overlay image">
        <value condition="!Skin.HasSetting(Hide_InProgress_Marks) + !String.IsEmpty(Container(6002).ListItem.Overlay) + Container(6002).ListItem.IsResumable">$VAR[TripleEpisodeSoloInProgress]</value>
        <value condition="Skin.HasSetting(Hide_InProgress_Marks) + !String.IsEmpty(Container(6002).ListItem.Overlay) + Container(6002).ListItem.IsResumable"></value>
        <value condition="!Skin.HasSetting(Hide_Watched_Marks) + !String.IsEmpty(Container(6002).ListItem.Overlay) + String.IsEqual(Container(6002).ListItem.Overlay,OverlayWatched.png)">$INFO[Container(6002).ListItem.Overlay]</value>
        <value condition="!Skin.HasSetting(Hide_Unwatched_Marks) + !String.IsEmpty(Container(6002).ListItem.Overlay) + String.IsEqual(Container(6002).ListItem.Overlay,OverlayUnWatched.png)">$INFO[Container(6002).ListItem.Overlay]</value>
        <value></value>
    </variable>

	<variable name="TripleEpisodeSoloInProgress" description="Overlay image">
        <value condition="Integer.IsLess(Container(6002).ListItem.PercentPlayed,20)">OverlayInProgress10.png</value>
		<value condition="Integer.IsGreaterOrEqual(Container(6002).ListItem.PercentPlayed,20) + Integer.IsLess(Container(6002).ListItem.PercentPlayed,30)">OverlayInProgress20.png</value>
		<value condition="Integer.IsGreaterOrEqual(Container(6002).ListItem.PercentPlayed,30) + Integer.IsLess(Container(6002).ListItem.PercentPlayed,40)">OverlayInProgress30.png</value>
		<value condition="Integer.IsGreaterOrEqual(Container(6002).ListItem.PercentPlayed,40) + Integer.IsLess(Container(6002).ListItem.PercentPlayed,50)">OverlayInProgress40.png</value>
		<value condition="Integer.IsGreaterOrEqual(Container(6002).ListItem.PercentPlayed,50) + Integer.IsLess(Container(6002).ListItem.PercentPlayed,60)">OverlayInProgress50.png</value>
		<value condition="Integer.IsGreaterOrEqual(Container(6002).ListItem.PercentPlayed,60) + Integer.IsLess(Container(6002).ListItem.PercentPlayed,70)">OverlayInProgress60.png</value>
		<value condition="Integer.IsGreaterOrEqual(Container(6002).ListItem.PercentPlayed,70) + Integer.IsLess(Container(6002).ListItem.PercentPlayed,80)">OverlayInProgress70.png</value>
		<value condition="Integer.IsGreaterOrEqual(Container(6002).ListItem.PercentPlayed,80) + Integer.IsLess(Container(6002).ListItem.PercentPlayed,90)">OverlayInProgress80.png</value>
		<value condition="Integer.IsGreaterOrEqual(Container(6002).ListItem.PercentPlayed,90) + Integer.IsLess(Container(6002).ListItem.PercentPlayed,100)">OverlayInProgress90.png</value>
    </variable>

	<!-- <variable name="TripleSeasonUnwatchedEpisodes">
	    <value condition="!Integer.IsGreater(Container(6001).ListItem.Property(UnWatchedEpisodes),99)">$INFO[Container(6001).ListItem.Property(UnWatchedEpisodes)]</value>
		<value>99+</value>
	</variable> -->

	<variable name="TripleMiddlePath">
	    <value condition="String.IsEmpty(Container.PluginName)">$INFO[Container(600).ListItem.FolderPath]</value>
		<value></value>
	</variable>

	<variable name="TripleRightPath">
	    <value condition="String.IsEmpty(Container.PluginName)">$INFO[Container(6001).ListItem.FolderPath]</value>
		<value></value>
	</variable>

	<include name="TripleTopRightOverlay">
	    <control type="group">
		    <!-- Totally watched overlay -->
			<control type="group">
			    <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
				<visible>!Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0)</visible>
				<control type="image">
				    <visible>!Control.HasFocus(600)</visible>
				    <texture background="true">$VAR[TopRightOverlay]</texture>
				    <posx>96r</posx>
				    <posy>12</posy>
				    <height>72</height>
				    <width>72</width>
			    </control>
			    <control type="image">
				    <visible>Control.HasFocus(600)</visible>
				    <texture background="true">$VAR[TopRightOverlay]</texture>
				    <posx>96r</posx>
				    <posy>12</posy>
				    <height>72</height>
				    <width>72</width>
				    <colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
			    </control>
			</control>
			<!-- Unwatched episode count -->
			<control type="group">
			    <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
				<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
				<control type="image">
				    <visible>!Control.HasFocus(600)</visible>
				    <texture background="true">overlays/toprightempty2.png</texture>
				    <posx>96r</posx>
				    <posy>12</posy>
				    <height>82</height>
				    <width>82</width>
				    <aspectratio>keep</aspectratio>
			    </control>
				<control type="image">
				    <visible>Control.HasFocus(600)</visible>
				    <texture background="true">overlays/toprightempty2.png</texture>
				    <posx>96r</posx>
				    <posy>12</posy>
				    <height>82</height>
				    <width>82</width>
				    <aspectratio>keep</aspectratio>
				    <colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
			    </control>
				<control type="label" description="l2">
				    <visible>Control.HasFocus(600)</visible>
				    <posx>89r</posx>
				    <posy>-183</posy>
				    <height>$PARAM[itemheight]</height>
				    <width>100</width>
				    <font>ListDetailsSmall</font>
				    <align>center</align>
				    <shadowcolor></shadowcolor>
				    <label>$VAR[UnwatchedEpisodes]</label>
				    <textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
				</control>
				<control type="label" description="l2">
				    <visible>!Control.HasFocus(600)</visible>
				    <posx>89r</posx>
				    <posy>-183</posy>
				    <height>$PARAM[itemheight]</height>
				    <width>100</width>
				    <font>ListDetailsSmall</font>
				    <align>center</align>
				    <label>$VAR[UnwatchedEpisodes]</label>
				    <textcolor>White2</textcolor>
				</control>
			</control>
		</control>
	</include>

	<include name="TripleRatingOverlay">
	    <param name="isFocused">false</param>
		<definition>
			<control type="group">
			    <visible>$EXP[canShowRatingOverlay] + !ListItem.IsParentFolder + Container.Content(tvshows)</visible>
			    <control type="image">
		            <visible>!$PARAM[isFocused]</visible>
		            <texture background="true" flipx="true">overlays/toprightempty2.png</texture>
		            <posx>422r</posx>
		            <posy>0</posy>
		            <height>82</height>
		            <width>82</width>
	            </control>
		        <control type="image">
		            <visible>$PARAM[isFocused]</visible>
		            <texture background="true" flipx="true" colordiffuse="$VAR[HighlightColor]">overlays/toprightempty2.png</texture>
		            <posx>422r</posx>
		            <posy>12</posy>
		            <height>82</height>
		            <width>82</width>
	            </control>
			    <control type="label" description="l2">
			        <visible>$PARAM[isFocused]</visible>
			        <posx>447r</posx>
		            <posy>-185</posy>
			        <height>$PARAM[itemheight]</height>
			        <width>100</width>
			        <font>ListDetailsSmall</font>
			        <align>center</align>
			        <shadowcolor></shadowcolor>
			        <label>$VAR[RatingOverlayVar]</label>
			        <textcolor>$VAR[HighlightColor]</textcolor>
		        </control>
		        <control type="label" description="l2">
			        <visible>!$PARAM[isFocused]</visible>
			        <posx>447r</posx>
		            <posy>-195</posy>
			        <height>$PARAM[itemheight]</height>
			        <width>100</width>
			        <font>ListDetailsSmall</font>
			        <align>center</align>
			        <label>$VAR[RatingOverlayVar]</label>
			        <textcolor>White2</textcolor>
		        </control>
			</control>
		</definition>
	</include>

    <include name="View_600_Triple">
        <control type="group" description="Triple view">
            <visible>Container.Content(tvshows) | Container.Content(artists)</visible>
			<include content="BackgroundOverlay">
                <param name="parentid" value="600"/>
            </include>
            <visible>Control.IsVisible(600)</visible>
            <include>ContentFade</include>

			<control type="image" description="Line Split">
                <posy>60</posy>
                <left>492</left>
                <width>1</width>
                <height>1000</height>
                <texture>img/LineL.png</texture>
                <aspectratio>stretch</aspectratio>
            </control>
			<control type="image" description="Line Split">
                <posy>60</posy>
                <left>930</left>
                <width>1</width>
                <height>1000</height>
                <texture>img/LineL.png</texture>
                <aspectratio>stretch</aspectratio>
				<visible>Container.Content(tvshows)</visible>
            </control>
			<control type="image" description="Line Split">
                <posy>60</posy>
                <left>1130</left>
                <width>1</width>
                <height>1000</height>
                <texture>img/LineL.png</texture>
                <aspectratio>stretch</aspectratio>
				<visible>Container.Content(artists)</visible>
            </control>

			<!-- Left third of triple view: TV Shows or Artists -->
			<control type="group">

                <control type="wraplist" id="600">
                    <viewtype label="$LOCALIZE[31157]">list</viewtype>
                    <posx>40</posx>
                    <posy>60</posy>
                    <width>434</width>
                    <height>1020</height>
                    <orientation>vertical</orientation>
    				<onleft condition="[Control.IsVisible(617) + Control.IsVisible(6000)] | [!Control.IsVisible(617) | !Skin.HasSetting(Show.EHJumpToLetter) | ![String.IsEqual(Container.SortMethod,$LOCALIZE[551]) | String.IsEqual(Container.SortMethod,$LOCALIZE[556]) |
					  String.IsEqual(Container.SortMethod,$LOCALIZE[557]) | String.IsEqual(Container.SortMethod,$LOCALIZE[558]) | String.IsEqual(Container.SortMethod,$LOCALIZE[561])]]">6000</onleft>
					<onleft condition="Control.IsVisible(617)">617</onleft>
					<onright condition="Container.Content(tvshows) + Control.IsVisible(6001)">6001</onright>
					<onright condition="Container.Content(artists) + Control.IsVisible(6003)">6003</onright>

				    <oninfo condition="System.AddonIsEnabled(script.extendedinfo) + Skin.HasSetting(AutoExtendedInfo) + String.IsEqual(ListItem.DBType,tvshow)">RunScript(script.extendedinfo,info=extendedtvinfo,dbid=$INFO[ListItem.DBID],id=$INFO[ListItem.UniqueID(tmdb)],tvdb_id=$INFO[ListItem.UniqueID(tvdb)],name=$INFO[Listitem.Title])</oninfo>

					<onup>600</onup>
                    <ondown>600</ondown>
                    <scrolltime tween="cubic" easing="out">500</scrolltime>
				    <autoscroll>false</autoscroll>
				    <focusposition>1</focusposition>
				    <preloaditems>2</preloaditems>
                    <pagecontrol>6000</pagecontrol>
				    <visible>[$EXP[Exp_View_600] + Skin.HasSetting(Enable.NewViewSelector)] | [[!Skin.HasSetting(hide.tripleview) + [Container.Content(tvshows) | Container.Content(artists)]] + !Skin.HasSetting(Enable.NewViewSelector)]</visible>

				    <itemlayout height="255">
					    <control type="image" description="BG">
        				    <left>-80</left>
				            <top>-2</top>
				            <width>600</width>
				            <height>255</height>
				            <texture flipy="true" border="3">list/ListNF.png</texture>
			            </control>
					    <control type="group">
    						<top>12</top>
						    <left>12</left>
						    <control type="group">
						        <include content="ShadowedImage">
				                    <param name="top">0</param>
				                    <param name="left">0</param>
				                    <param name="width">406</param>
				                    <param name="height">228</param>
				                    <param name="texture">$VAR[Landscape]</param>
				                    <param name="aspect">scale</param>
								    <param name="visibility">!ListItem.IsParentFolder + Container.Content(tvshows)</param>
			                    </include>
							    <include content="ShadowedImage">
				                    <param name="top">0</param>
				                    <param name="left">0</param>
				                    <param name="width">406</param>
				                    <param name="height">228</param>
				                    <param name="texture">defaultepisodeback1.png</param>
				                    <param name="aspect">scale</param>
								    <param name="visibility">ListItem.IsParentFolder + Container.Content(tvshows)</param>
			                    </include>
						    </control>
							<control type="group">
						        <include content="ShadowedImage">
				                    <param name="top">0</param>
				                    <param name="left">0</param>
				                    <param name="width">406</param>
				                    <param name="height">228</param>
				                    <param name="texture">$VAR[Landscape]</param>
				                    <param name="aspect">scale</param>
								    <param name="visibility">!ListItem.IsParentFolder + Container.Content(artists)</param>
			                    </include>
							    <include content="ShadowedImage">
				                    <param name="top">0</param>
				                    <param name="left">0</param>
				                    <param name="width">406</param>
				                    <param name="height">228</param>
				                    <param name="texture">defaultepisodeback1.png</param>
				                    <param name="aspect">scale</param>
								    <param name="visibility">ListItem.IsParentFolder + Container.Content(artists)</param>
			                    </include>
						    </control>
							<control type="image">
								<visible>String.IsEmpty(ListItem.Art(landscape))</visible>
								<left>110</left>
								<top>120</top>
								<width>260</width>
								<height>101</height>
								<aspectratio aligny="bottom" align="right">keep</aspectratio>
								<texture background="true">$INFO[ListItem.Art(clearlogo)]</texture>
							</control>
							<control type="textbox">
								<visible>String.IsEmpty(ListItem.Art(landscape)) + String.IsEmpty(ListItem.Art(clearlogo))</visible>
								<left>20</left>
								<top>107</top>
								<width>360</width>
								<height>117</height>
								<align>left</align>
								<aligny>center</aligny>
								<label>[B]$INFO[ListItem.Label][/B]</label>
								<textcolor>Silver</textcolor>
								<font>ListDetails</font>
								<shadowcolor>black</shadowcolor>
							</control>
							<include content="TripleRatingOverlay">
							    <param name="isFocused">false</param>
							</include>
							<control type="image">
								<visible>!Control.HasFocus(600)</visible>
								<colordiffuse>65000000</colordiffuse>
								<left>-2</left>
								<width>416</width>
								<height>236</height>
								<texture diffuse="img/mask_cover3.png">img/solid_bg.png</texture>
								<aspectratio align="center">scale</aspectratio>
								<visible>Container.Content(tvshows)</visible>
							</control>
							<control type="image">
								<visible>!Control.HasFocus(600)</visible>
								<colordiffuse>65000000</colordiffuse>
								<left>-2</left>
								<width>410</width>
								<height>228</height>
								<texture diffuse="img/mask_cover3.png">img/solid_bg.png</texture>
								<aspectratio align="center">scale</aspectratio>
								<visible>Container.Content(artists)</visible>
							</control>
					    </control>
						<include>TripleTopRightOverlay</include>
				    </itemlayout>
				    <focusedlayout height="255">
					    <control type="image">
					        <texture background="true">thumbs/labelback.png</texture>
					        <bordertexture colordiffuse="$VAR[HighlightColor]" border="8">thumbs/IconBorder_FO.png</bordertexture>
					        <bordersize>12,12,20,20</bordersize>
					        <aspectratio align="center" aligny="center">stretch</aspectratio>
						    <height>255</height>
						    <width>434</width>
				        </control>
					    <control type="group">
						    <top>12</top>
						    <left>12</left>
						    <control type="group">
						        <include content="ShadowedImage">
				                    <param name="top">0</param>
				                    <param name="left">0</param>
				                    <param name="width">406</param>
				                    <param name="height">228</param>
				                    <param name="texture">$VAR[Landscape]</param>
				                    <param name="aspect">scale</param>
								    <param name="visibility">!ListItem.IsParentFolder + Container.Content(tvshows)</param>
			                    </include>
							    <include content="ShadowedImage">
				                    <param name="top">0</param>
				                    <param name="left">0</param>
				                    <param name="width">406</param>
				                    <param name="height">228</param>
				                    <param name="texture">defaultepisodeback1.png</param>
				                    <param name="aspect">scale</param>
								    <param name="visibility">ListItem.IsParentFolder + Container.Content(tvshows)</param>
			                    </include>
						    </control>
							<control type="group">
						        <include content="ShadowedImage">
				                    <param name="top">0</param>
				                    <param name="left">0</param>
				                    <param name="width">406</param>
				                    <param name="height">228</param>
				                    <param name="texture">$VAR[Landscape]</param>
				                    <param name="aspect">scale</param>
								    <param name="visibility">!ListItem.IsParentFolder + Container.Content(artists)</param>
			                    </include>
							    <include content="ShadowedImage">
				                    <param name="top">0</param>
				                    <param name="left">0</param>
				                    <param name="width">406</param>
				                    <param name="height">228</param>
				                    <param name="texture">defaultepisodeback1.png</param>
				                    <param name="aspect">scale</param>
								    <param name="visibility">ListItem.IsParentFolder + Container.Content(artists)</param>
			                    </include>
						    </control>
							<control type="image">
								<visible>String.IsEmpty(ListItem.Art(landscape))</visible>
								<left>110</left>
								<top>120</top>
								<width>260</width>
								<height>101</height>
								<aspectratio aligny="bottom" align="right">keep</aspectratio>
								<texture background="true">$INFO[ListItem.Art(clearlogo)]</texture>
							</control>
							<control type="textbox">
								<visible>String.IsEmpty(ListItem.Art(landscape)) + String.IsEmpty(ListItem.Art(clearlogo))</visible>
								<left>20</left>
								<top>107</top>
								<width>360</width>
								<height>117</height>
								<align>left</align>
								<aligny>center</aligny>
								<label>[B]$INFO[ListItem.Label][/B]</label>
								<textcolor>$VAR[HighlightColor]</textcolor>
								<font>ListDetails</font>
								<shadowcolor>black</shadowcolor>
							</control>
					    </control>
						<include content="TripleRatingOverlay">
						    <param name="isFocused">true</param>
						</include>
						<include>TripleTopRightOverlay</include>
				    </focusedlayout>
                </control>

				<!-- Logo or Title -->
			    <control type="group">
				    <left>1080</left>
				    <top>940</top>

				    <control type="image">
					    <top>-40</top>
						<left>200</left>
					    <width>361</width>
                        <height>140</height>
                        <texture background="true">$VAR[ClearLogo]</texture>
			            <aspectratio>keep</aspectratio>
			            <align>center</align>
				        <aligny>center</aligny>
                    </control>
				    <control type="textbox">
					    <animation effect="fade" start="0" end="100" time="200" tween="sine">Visible</animation>
					    <align>center</align>
					    <width>840</width>
					    <height>100</height>
					    <font>font35_title</font>
					    <label>$INFO[ListItem.Label]</label>
					    <shadowcolor>black</shadowcolor>
					    <textcolor>$VAR[HighlightColor]</textcolor>
					    <visible>String.IsEmpty(ListItem.Art(clearlogo))</visible>
				    </control>
			    </control>

			</control>

			<!-- Middle third of triple view: Seasons -->
			<control type="group">
				<visible>Control.IsVisible(600) + Container.Content(tvshows)</visible>
				<control type="fixedlist" id="6001">
					<animation effect="fade" start="100" end="70" condition="!Control.HasFocus(6001) + !Control.HasFocus(6002)">Conditional</animation>
					<width>460</width>
					<height>1020</height>
					<top>60</top>
					<left>510</left>
					<scrolltime tween="cubic" easing="out">500</scrolltime>
					<orientation>vertical</orientation>
					<preloaditems>2</preloaditems>
					<movement>3</movement>
					<focusposition>0</focusposition>
					<onleft>600</onleft>
					<onright>6002</onright>
					<onup>6001</onup>
					<ondown>6001</ondown>

				    <oninfo condition="System.AddonIsEnabled(script.extendedinfo) + Skin.HasSetting(AutoExtendedInfo)">RunScript(script.extendedinfo,info=seasoninfo,tvshow=$INFO[Container(6001).ListItem.TVShowTitle],season=$INFO[Container(6001).ListItem.Season])</oninfo>

					<viewtype label="Triple">list</viewtype>
					<visible>Container.Content(tvshows)</visible>
					<itemlayout height="255">
						<control type="image">
							<left>-80</left>
							<top>-2</top>
							<width>460</width>
							<height>255</height>
				            <texture flipy="true" border="3">list/ListNF.png</texture>
						</control>
						<control type="group">
							<left>10</left>
							<top>13</top>
							<include content="ShadowedImage">
				                <param name="top">0</param>
				                <param name="left">10</param>
				                <param name="width">148</param>
				                <param name="height">222</param>
				                <param name="texture">$VAR[Poster]</param>
				                <param name="aspect">stretch</param>
			                </include>
							<control type="textbox">
								<visible>Control.HasFocus(6001)</visible>
								<left>220</left>
								<top>5</top>
								<height>210</height>
								<right>30</right>
								<width>130</width>
								<align>left</align>
								<aligny>center</aligny>
								<textcolor>white</textcolor>
								<font>ListDetails</font>
								<label>[B]$INFO[ListItem.Label][/B] $INFO[ListItem.Year,(,)] ($INFO[Container(6001).ListItem.Property(UnwatchedEpisodes)]/$INFO[Container(6001).ListItem.Property(TotalEpisodes)])</label>
								<shadowcolor>black</shadowcolor>
							</control>
							<control type="textbox">
								<visible>!Control.HasFocus(6001)</visible>
								<left>220</left>
								<top>5</top>
								<height>210</height>
								<right>30</right>
								<width>130</width>
								<align>left</align>
								<aligny>center</aligny>
								<font>ListDetails</font>
								<textcolor>ff696967</textcolor>
								<label>[B]$INFO[ListItem.Label][/B] $INFO[ListItem.Year,(,)] ($INFO[Container(6001).ListItem.Property(UnwatchedEpisodes)]/$INFO[Container(6001).ListItem.Property(TotalEpisodes)])</label>
								<shadowcolor>black</shadowcolor>
							</control>
							<control type="image">
								<visible>!Control.HasFocus(6001)</visible>
								<colordiffuse>65000000</colordiffuse>
								<left>10</left>
								<top>-1</top>
								<width>148</width>
								<height>224</height>
								<texture diffuse="img/mask_cover3.png">img/solid_bg.png</texture>
								<aspectratio align="center">scale</aspectratio>
							</control>
						</control>
					</itemlayout>
					<focusedlayout height="255">
						<control type="group">
							<control type="image">
					            <texture background="true">thumbs/labelback.png</texture>
					            <bordertexture colordiffuse="$VAR[HighlightColor]" border="8">thumbs/IconBorder_FO.png</bordertexture>
					            <bordersize>12,12,20,20</bordersize>
					            <aspectratio align="center" aligny="center">stretch</aspectratio>
						        <height>255</height>
						        <width>400</width>
				            </control>
						</control>
						<control type="group">
							<left>10</left>
							<top>13</top>
							<include content="ShadowedImage">
				                <param name="top">0</param>
				                <param name="left">10</param>
				                <param name="width">148</param>
				                <param name="height">222</param>
				                <param name="texture">$VAR[Poster]</param>
				                <param name="aspect">stretch</param>
			                </include>
							<control type="textbox">
								<left>220</left>
								<top>5</top>
								<height>210</height>
								<right>30</right>
								<width>130</width>
								<align>left</align>
								<aligny>center</aligny>
								<font>ListDetails</font>
								<textcolor>$VAR[HighlightColor]</textcolor>
								<label>[B]$INFO[ListItem.Label][/B] $INFO[ListItem.Year,(,)] ($INFO[Container(6001).ListItem.Property(UnwatchedEpisodes)]/$INFO[Container(6001).ListItem.Property(TotalEpisodes)])</label>
								<shadowcolor>black</shadowcolor>
							</control>
						</control>
					</focusedlayout>
					<content target="video" sortby="seasonnumber" sortorder="ascending">$VAR[TripleMiddlePath]</content>
				</control>
			</control>

			<!-- Middle third of triple view: Albums -->
			<control type="group">
				<visible>Control.IsVisible(600) + Container.Content(artists)</visible>
				<control type="fixedlist" id="6003">
					<animation effect="fade" start="100" end="70" condition="!Control.HasFocus(6003) + !Control.HasFocus(6004)">Conditional</animation>
					<width>600</width>
					<height>1020</height>
					<top>60</top>
					<left>510</left>
					<scrolltime tween="cubic" easing="out">500</scrolltime>
					<orientation>vertical</orientation>
					<preloaditems>2</preloaditems>
					<movement>3</movement>
					<focusposition>0</focusposition>
					<onleft>600</onleft>
					<onright>6004</onright>
					<onup>6003</onup>
					<ondown>6003</ondown>
					<viewtype label="Triple">list</viewtype>
					<visible>Container.Content(artists)</visible>
					<onclick condition="System.AddonIsEnabled(script.playalbum)">RunScript(script.playalbum,albumid=$INFO[Container(6003).ListItem.DBID])</onclick>
					<itemlayout height="255">
						<control type="image">
							<left>-80</left>
							<top>-2</top>
							<width>600</width>
							<height>255</height>
				            <texture flipy="true" border="3">list/ListNF.png</texture>
						</control>
						<control type="group">
							<left>10</left>
							<top>13</top>
							<include content="ShadowedImage">
				                <param name="top">0</param>
				                <param name="left">10</param>
				                <param name="width">224</param>
				                <param name="height">224</param>
				                <param name="texture">$VAR[Thumb]</param>
				                <param name="aspect">scale</param>
			                </include>
							<control type="image">
								<width>160</width>
								<height>45</height>
								<left>440</left>
								<top>175</top>
								<aspectratio>keep</aspectratio>
								<colordiffuse>65FFFFFF</colordiffuse>
								<texture>$INFO[ListItem.Property(Album_Label),resource://resource.images.recordlabels.white/,.png]</texture>
							</control>
							<control type="textbox">
								<visible>Control.HasFocus(6003)</visible>
								<left>240</left>
								<top>5</top>
								<height>210</height>
								<right>30</right>
								<width>330</width>
								<align>left</align>
								<aligny>center</aligny>
								<textcolor>white</textcolor>
								<font>ListDetails</font>
								<label>[B]$INFO[ListItem.Label][/B] $INFO[ListItem.Year,(,)]</label>
								<shadowcolor>black</shadowcolor>
							</control>
							<control type="textbox">
								<visible>!Control.HasFocus(6003)</visible>
								<left>240</left>
								<top>5</top>
								<height>210</height>
								<right>30</right>
								<width>330</width>
								<align>left</align>
								<aligny>center</aligny>
								<font>ListDetails</font>
								<textcolor>ff696967</textcolor>
								<label>[B]$INFO[ListItem.Label][/B] $INFO[ListItem.Year,(,)]</label>
								<shadowcolor>black</shadowcolor>
							</control>
							<control type="image">
								<visible>!Control.HasFocus(6003)</visible>
								<colordiffuse>65000000</colordiffuse>
								<left>9</left>
								<top>-1</top>
								<width>226</width>
								<height>226</height>
								<texture diffuse="img/mask_cover3.png">img/solid_bg.png</texture>
								<aspectratio align="center">scale</aspectratio>
							</control>
						</control>
					</itemlayout>
					<focusedlayout height="255">
						<control type="group">
							<control type="image">
					            <texture background="true">thumbs/labelback.png</texture>
					            <bordertexture colordiffuse="$VAR[HighlightColor]" border="8">thumbs/IconBorder_FO.png</bordertexture>
					            <bordersize>12,12,20,20</bordersize>
					            <aspectratio align="center" aligny="center">stretch</aspectratio>
						        <height>255</height>
						        <width>600</width>
				            </control>
						</control>
						<control type="group">
							<left>10</left>
							<top>13</top>
							<include content="ShadowedImage">
				                <param name="top">0</param>
				                <param name="left">10</param>
				                <param name="width">224</param>
				                <param name="height">224</param>
				                <param name="texture">$VAR[Thumb]</param>
				                <param name="aspect">scale</param>
			                </include>
							<control type="image">
								<width>160</width>
								<height>45</height>
								<left>440</left>
								<top>175</top>
								<aspectratio>keep</aspectratio>
								<colordiffuse>$VAR[HighlightColor]</colordiffuse>
								<texture>$INFO[ListItem.Property(Album_Label),resource://resource.images.recordlabels.white/,.png]</texture>
							</control>
							<control type="textbox">
								<left>240</left>
								<top>5</top>
								<height>210</height>
								<right>30</right>
								<width>330</width>
								<align>left</align>
								<aligny>center</aligny>
								<font>ListDetails</font>
								<textcolor>$VAR[HighlightColor]</textcolor>
								<label>[B]$INFO[ListItem.Label][/B] $INFO[ListItem.Year,(,)]</label>
								<shadowcolor>black</shadowcolor>
							</control>
						</control>
					</focusedlayout>
					<content target="music" sortby="year" sortorder="ascending">$VAR[TripleMiddlePath]</content>
				</control>
			</control>

			<!-- Right third of triple view: Episodes -->
			<control type="group">
				<visible>Control.IsVisible(600) + Container.Content(tvshows)</visible>
				<control type="fixedlist" id="6002">
					<animation effect="fade" start="100" end="70" condition="!Control.HasFocus(6002)">Conditional</animation>
					<width>1030</width>
					<height>809</height>
					<top>60</top>
					<left>950</left>
					<preloaditems>2</preloaditems>
					<onleft>6001</onleft>
					<onup>6002</onup>
					<ondown>6002</ondown>

				    <oninfo condition="System.AddonIsEnabled(script.extendedinfo) + Skin.HasSetting(AutoExtendedInfo) + String.IsEqual(ListItem.DBType,episode)">RunScript(script.extendedinfo,info=extendedepisodeinfo,tvshow=$INFO[Container(6002).Listitem.TVShowTitle],season=$INFO[Container(6002).ListItem.Season],episode=$INFO[Container(6002).ListItem.Episode])</oninfo>

					<scrolltime tween="cubic" easing="out">500</scrolltime>
					<orientation>vertical</orientation>
					<movement>10</movement>
					<focusposition>0</focusposition>
					<viewtype label="Triple">list</viewtype>

					<itemlayout height="67.5" condition="Container.Content(tvshows)">
						<control type="image">
							<left>-80</left>
							<top>-2</top>
							<width>1030</width>
							<height>67.5</height>
				            <texture flipy="true" border="3">list/ListNF.png</texture>
						</control>
						<control type="label">
							<top>1</top>
							<left>20</left>
							<height>58</height>
							<width>860</width>
							<align>left</align>
							<font>font14</font>
							<shadowcolor></shadowcolor>
							<label>$INFO[ListItem.Label]  ($INFO[ListItem.Premiered])</label>
						</control>
						<control type="image">
				            <left>900</left>
				            <width>30</width>
				            <height>67.5</height>
				            <texture>$VAR[TripleEpisodeOverlay]</texture>
				            <aspectratio aligny="center">keep</aspectratio>
			            </control>
					</itemlayout>

					<focusedlayout height="67.5" condition="Container.Content(tvshows) + !System.IdleTime(2)">
						<control type="image">
							<left>-80</left>
							<top>-2</top>
							<width>1030</width>
							<height>67.5</height>
				            <texture border="4" colordiffuse="$VAR[HighlightColor]">img/WhiteRoundedST2.png</texture>
<!--				            <animation effect="fade" start="100" end="50" time="100" condition="!Control.HasFocus(6002)">Conditional</animation> -->
						</control>
						<control type="label">
							<top>1</top>
							<left>20</left>
							<height>58</height>
							<width>860</width>
							<align>left</align>
							<scroll>true</scroll>
							<label>[B]$INFO[ListItem.Label][/B]  ($INFO[ListItem.Premiered])</label>
							<textcolor>$VAR[FocusedTextColor]</textcolor>
					        <selectedcolor>$VAR[FocusedTextColor]</selectedcolor>
							<font>font14</font>
							<shadowcolor></shadowcolor>
						</control>
						<control type="image">
				            <left>900</left>
				            <width>30</width>
				            <height>67.5</height>
				            <texture>$VAR[TripleEpisodeOverlay]</texture>
				            <aspectratio aligny="center">keep</aspectratio>
			            </control>
					</focusedlayout>
					<focusedlayout height="270" condition="Container.Content(tvshows) + System.IdleTime(2) + Control.HasFocus(6002)">
						<control type="group">
							<control type="image">
								<top>-0.5</top>
								<visible>Control.HasFocus(6002)</visible>
								<width>950</width>
								<height>269.5</height>
								<texture background="true">thumbs/labelback.png</texture>
					            <bordertexture colordiffuse="$VAR[HighlightColor]" border="8">thumbs/IconBorder_FO.png</bordertexture>
					            <bordersize>12,12,20,20</bordersize>
					            <aspectratio align="center" aligny="center">stretch</aspectratio>
							</control>
						</control>
						<control type="group">
							<visible>Control.IsVisible(6002)</visible>
							<top>19</top>
							<left>30</left>
							<include content="ShadowedImage">
				                <param name="top">43</param>
				                <param name="left">-8</param>
				                <param name="width">306</param>
				                <param name="height">174</param>
				                <param name="texture">$VAR[Thumb]</param>
				                <param name="aspect">scale</param>
			                </include>
							<control type="label">
								<top>-18</top>
								<left>-12</left>
								<height>58</height>
								<width>770</width>
								<align>left</align>
								<scroll>true</scroll>
								<label>[B]$INFO[ListItem.Label][/B]  ($INFO[ListItem.Premiered])</label>
								<textcolor>$VAR[HighlightColor]</textcolor>
								<selectedcolor>white</selectedcolor>
								<shadowcolor>black</shadowcolor>
							</control>
							<control type="label">
								<top>24</top>
								<left>317</left>
								<height>58</height>
								<width>785</width>
								<align>left</align>
								<font>ListDetails</font>
								<scroll>true</scroll>
								<label>[B][CAPITALIZE][COLOR=$VAR[HighlightColor]][LOWERCASE]$LOCALIZE[19081]:[/LOWERCASE][/CAPITALIZE][/COLOR][/B] $INFO[ListItem.EndTime]</label>
								<textcolor>white</textcolor>
								<selectedcolor>white</selectedcolor>
								<shadowcolor>black</shadowcolor>
							</control>
							<control type="textbox">
								<left>317</left>
								<top>71</top>
								<width>578</width>
								<height>160</height>
								<align>justify</align>
								<aligny>top</aligny>
								<textcolor>white</textcolor>
								<selectedcolor>black</selectedcolor>
								<label>$VAR[Plots]</label>
							</control>
						</control>
					</focusedlayout>
					<content target="video" sortby="episode" sortorder="ascending">$VAR[TripleRightPath]</content>
				</control>
			</control>

			<!-- Right third of triple view: Tracks -->
			<control type="group">
				<visible>Control.IsVisible(600) + Container.Content(artists)</visible>
				<control type="fixedlist" id="6004">
					<animation effect="fade" start="100" end="70" condition="!Control.HasFocus(6003) + !Control.HasFocus(6004)">Conditional</animation>
					<width>830</width>
					<height>809</height>
					<top>60</top>
					<left>1150</left>
					<preloaditems>2</preloaditems>
					<onleft>6003</onleft>
					<onup>6004</onup>
					<ondown>6004</ondown>
					<scrolltime tween="cubic" easing="out">500</scrolltime>
					<orientation>vertical</orientation>
					<movement>10</movement>
					<focusposition>0</focusposition>
					<viewtype label="Triple">list</viewtype>

					<itemlayout height="67.5" condition="Container.Content(artists)">
						<control type="image">
							<left>-80</left>
							<top>-2</top>
							<width>830</width>
							<height>67.5</height>
				            <texture flipy="true" border="3">list/ListNF.png</texture>
						</control>
						<control type="label">
							<top>1</top>
							<left>20</left>
							<height>58</height>
							<width>660</width>
							<align>left</align>
							<font>font13</font>
							<shadowcolor></shadowcolor>
							<label>$INFO[ListItem.TrackNumber,, - ]$INFO[ListItem.Label] $INFO[ListItem.Duration,(,)]</label>
						</control>
					</itemlayout>

					<focusedlayout height="67.5" condition="Container.Content(artists)">
						<control type="image">
							<left>-80</left>
							<top>-2</top>
							<width>830</width>
							<height>67.5</height>
				            <texture border="4" colordiffuse="$VAR[HighlightColor]">img/WhiteRoundedST2.png</texture>
				            <animation effect="fade" start="100" end="50" time="100" condition="!Control.HasFocus(6004)">Conditional</animation>
						</control>
						<control type="label">
							<top>1</top>
							<left>20</left>
							<height>58</height>
							<width>660</width>
							<align>left</align>
							<scroll>true</scroll>
							<label>[B]$INFO[ListItem.TrackNumber,, - ]$INFO[ListItem.Label][/B] $INFO[ListItem.Duration,(,)]</label>
							<textcolor>$VAR[FocusedTextColor]</textcolor>
					        <selectedcolor>$VAR[FocusedTextColor]</selectedcolor>
							<font>font13</font>
							<shadowcolor></shadowcolor>
						</control>
					</focusedlayout>
					<content target="music" sortby="track" sortorder="ascending">$VAR[TripleRightPath]</content>
				</control>
			</control>

            <!-- Scrollbar -->
			<control type="scrollbar" id="6000">
                <animation effect="slide" start="-6,0" end="0,0" time="150">Focus</animation>
                <animation effect="slide" start="0,0" end="-6,0" time="300">UnFocus</animation>
                <posx>0</posx>
                <posy>60</posy>
                <width>36</width>
                <height>1020</height>
                <texturesliderbackground></texturesliderbackground>
                <texturesliderbar></texturesliderbar>
                <texturesliderbarfocus></texturesliderbarfocus>
                <textureslidernib border="18">OSD/ScrollbarNibNF.png</textureslidernib>
                <textureslidernibfocus border="18" colordiffuse="$VAR[HighlightColor]">OSD/ScrollbarNibFO.png</textureslidernibfocus>
                <showonepage>false</showonepage>
                <orientation>vertical</orientation>
                <onleft condition="!Skin.HasSetting(KioskMode.Enabled)">9000</onleft>
                <onleft condition="!Skin.HasSetting(KioskMode.Enabled)">SetProperty(MediaMenu,true,Home)</onleft>
				<onleft condition="Skin.HasSetting(KioskMode.Enabled)">noop</onleft>
                <onright>600</onright>
				<visible>!Skin.HasSetting(Show.EHJumpToLetter) | ![String.IsEqual(Container.SortMethod,$LOCALIZE[551]) | String.IsEqual(Container.SortMethod,$LOCALIZE[556]) | String.IsEqual(Container.SortMethod,$LOCALIZE[561]) | String.IsEqual(Container.SortMethod,$LOCALIZE[558]) | String.IsEqual(Container.SortMethod,$LOCALIZE[557])]</visible>
            </control>

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