<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<!-- Logo -->
	<include name="LandscapeLogoLayout">
	    <param name="FocusedLogo">false</param>
		<definition>
		    <control type="group">
			    <left>52</left>
			    <top>178</top>
			    <control type="group">
				    <visible>!Skin.HasSetting(58_Logo_ClearArt) | [Skin.HasSetting(58_Logo_ClearArt) + String.IsEmpty(ListItem.Art(clearart))]</visible>
				    <control type="image">
					    <width>390</width>
					    <height>164</height>
					    <aspectratio aligny="bottom">keep</aspectratio>
					    <texture background="true">$VAR[ClearLogo]</texture>
				    </control>
				    <control type="image">
					    <visible>!$PARAM[FocusedLogo]</visible>
						<top>167</top>
					    <width>390</width>
					    <height>164</height>
					    <aspectratio aligny="top">keep</aspectratio>
					    <texture background="true" flipy="true">$VAR[ClearLogo]</texture>
					    <animation effect="fade" start="15" end="15" time="160" tween="cubic" easing="inout" condition="true">Conditional</animation>
					    <colordiffuse>E6FFFFFF</colordiffuse>
				    </control>
			    </control>
			    <control type="group">
				    <visible>Skin.HasSetting(58_Logo_ClearArt)</visible>
				    <top>-164</top>
				    <control type="image">
					    <width>390</width>
					    <height>328</height>
					    <aspectratio aligny="bottom">keep</aspectratio>
					    <texture background="true">$INFO[ListItem.Art(clearart)]</texture>
				    </control>
				    <control type="image">
					    <visible>!$PARAM[FocusedLogo]</visible>
						<top>345</top>
					    <width>390</width>
					    <height>328</height>
					    <aspectratio aligny="top">keep</aspectratio>
					    <texture background="true" flipy="true">$INFO[ListItem.Art(clearart)]</texture>
					    <animation effect="fade" start="15" end="15" time="160" tween="cubic" easing="inout" condition="true">Conditional</animation>
				    </control>
			    </control>
		    </control>
		    <control type="group">
			    <visible>String.IsEmpty(ListItem.Art(clearlogo))</visible>
			    <control type="textbox">
				    <top>200</top>
    				<left>40</left>
				    <width>380</width>
				    <height>130</height>
				    <align>center</align>
				    <aligny>center</aligny>
				    <font>font16</font>
				    <label>[B]$INFO[ListItem.Label][/B]</label>
			    </control>
		    </control>
			<control type="group">
			    <visible>Skin.HasSetting(58_Logo_Overlay)</visible>
			    <control type="image">
			        <posx>420</posx>
			        <posy>320</posy>
			        <width>18</width>
			        <height>18</height>
			        <texture>$VAR[Overlay]</texture>
				    <visible>!$PARAM[FocusedLogo]</visible>
		        </control>
                <control type="image">
			        <posx>420</posx>
			        <posy>320</posy>
			        <width>18</width>
			        <height>18</height>
			        <texture>$VAR[Overlay]</texture>
				    <colordiffuse>$VAR[HighlightColor]</colordiffuse>
				    <visible>$PARAM[FocusedLogo]</visible>
		        </control>
			</control>
		</definition>
	</include>

	<include name="View_58_Logo">
		<control type="group">
			<visible>Control.IsVisible(58)</visible>

			<control type="group" description="background">
			    <include>VignetteFade</include>
			    <control type="image">
    				<posy>1088</posy>
	    			<width>1920</width>
		    		<height>534</height>
			    	<aspectratio>stretch</aspectratio>
				    <texture border="0,30,0,30">OSD/OSDBackground.png</texture>
			    </control>
				<control type="image">
				    <animation effect="fade" start="100" end="0" time="100" delay="0">Hidden</animation>
				    <animation effect="fade" start="0" end="100" time="200" delay="0">Visible</animation>
				    <width>1920</width>
				    <height>1080</height>
				    <texture>common/VignetteStage.png</texture>
				</control>
			</control>

			<control type="fixedlist" id="58">
				<left>-277</left>
		        <top>565</top>
		        <width>2475</width>
		        <height>525</height>
		        <onleft>58</onleft>
		        <onright>58</onright>
		        <onup condition="!Skin.HasSetting(KioskMode.Enabled)">9000</onup>
				<onup condition="!Skin.HasSetting(KioskMode.Enabled)">SetProperty(MediaMenu,true,Home)</onup>
                <onup condition="Skin.HasSetting(KioskMode.Enabled)">noop</onup>

				<oninfo condition="System.AddonIsEnabled(script.extendedinfo) + Skin.HasSetting(AutoExtendedInfo) + String.IsEqual(ListItem.DBType,movie)">RunScript(script.extendedinfo,info=extendedinfo,dbid=$INFO[ListItem.DBID],id=$INFO[ListItem.UniqueID(tmdb)],imdb_id=$INFO[ListItem.IMDBNumber],name=$INFO[Listitem.Title])</oninfo>
				<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>
				<oninfo condition="System.AddonIsEnabled(script.extendedinfo) + Skin.HasSetting(AutoExtendedInfo) + String.IsEqual(ListItem.DBType,season)">RunScript(script.extendedinfo,info=seasoninfo,tvshow=$INFO[Listitem.TVShowTitle],season=$INFO[ListItem.Season])</oninfo>
				<oninfo condition="System.AddonIsEnabled(script.extendedinfo) + Skin.HasSetting(AutoExtendedInfo) + String.IsEqual(ListItem.DBType,episode)">RunScript(script.extendedinfo,info=extendedepisodeinfo,tvshow=$INFO[Listitem.TVShowTitle],season=$INFO[ListItem.Season],episode=$INFO[ListItem.Episode])</oninfo>

				<oninfo condition="ListItem.IsCollection + !String.Contains(System.BuildVersion,19)">ActivateWindow(1127)</oninfo>
                <ondown condition="!Control.IsVisible(616) | [Control.IsVisible(616) + Control.IsVisible(6058)]">6058</ondown>
		        <ondown condition="Control.IsVisible(616)">616</ondown>
		        <pagecontrol>6058</pagecontrol>
		        <preloaditems>2</preloaditems>
		        <focusposition>2</focusposition>
		        <viewtype label="$LOCALIZE[31159]">list</viewtype>
		        <scrolltime tween="quadratic" easing="out">300</scrolltime>
		        <orientation>horizontal</orientation>

				<visible>[$EXP[Exp_View_58] + Skin.HasSetting(Enable.NewViewSelector)] | [!Skin.HasSetting(hide.logoview) + !Skin.HasSetting(Enable.NewViewSelector)]</visible>

				<itemlayout width="495" height="450">
			        <control type="group">
			            <animation effect="fade" start="100" end="0" time="600" condition="!Skin.HasSetting(58_Logo_SingleLogo) + Skin.HasSetting(58_Logo_FadeRest) + System.IdleTime(5)">Conditional</animation>
			            <animation effect="fade" start="100" end="0" condition="Skin.HasSetting(58_Logo_SingleLogo)">Conditional</animation>
			            <include>LandscapeLogoLayout</include>
			        </control>
		        </itemlayout>
		        <focusedlayout width="495" height="450">
			        <control type="group">
			            <animation effect="zoom" center="auto" start="100" end="122" time="480" tween="back" reversible="false">Focus</animation>
			            <animation effect="zoom" center="auto" start="122" end="100" time="160" tween="back" reversible="false">UnFocus</animation>
			            <include content="LandscapeLogoLayout">
						    <param name="FocusedLogo">true</param>
						</include>
			        </control>
		        </focusedlayout>
		    </control>

			<control type="scrollbar" id="6058">
			    <animation effect="slide" start="0,0" end="0,-3" time="150">Focus</animation>
			    <posx>90</posx>
			    <posy>1056</posy>
			    <width>1750</width>
			    <height>36</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>true</showonepage>
			    <orientation>horizontal</orientation>
			    <onup>58</onup>
			    <onright>noop</onright>
                <visible>!Skin.HasSetting(Show.JumpToLetter) | ![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>
            <!-- Alpahbet Strip without addon -->
            <control type="button" id="6058">
                <visible>Control.IsVisible(58)</visible>
                <visible>Skin.HasSetting(Show.JumpToLetter) + !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>
                <font />
                <texturefocus />
                <texturenofocus />
                <width>1160</width>
                <onup>58</onup>
                <left>395</left>
                <height>40</height>
                <top>1035</top>
                <onright>SetFocus(58)</onright>
                <onright>Action(nextletter)</onright>
                <onright condition="!Container.HasNext | String.IsEqual(ListItem.SortLetter,Z)">Action(jumpsms2)</onright>
                <onright condition="!Container.HasNext | String.IsEqual(ListItem.SortLetter,Z)">Action(prevletter)</onright>
                <onright condition="!Container.HasNext | String.IsEqual(ListItem.SortLetter,Z)">Action(prevletter)</onright>
                <onright condition="!Container.HasNext | String.IsEqual(ListItem.SortLetter,Z)">Action(prevletter)</onright>
                <onright>SetFocus(6058)</onright>
                <onleft>SetFocus(58)</onleft>
                <onleft>Action(prevletter)</onleft>
                <onleft condition="!Container.HasPrevious | $EXP[Exp_SortLetterIsNumber]">Action(jumpsms9)</onleft>
                <onleft condition="!Container.HasPrevious | $EXP[Exp_SortLetterIsNumber]">Action(nextletter)</onleft>
                <onleft condition="!Container.HasPrevious | $EXP[Exp_SortLetterIsNumber]">Action(nextletter)</onleft>
                <onleft condition="!Container.HasPrevious | $EXP[Exp_SortLetterIsNumber]">Action(nextletter)</onleft>
                <onleft>SetFocus(6058)</onleft>
            </control>

            <control type="grouplist" id="6058581">
                <left>395</left>
                <height>40</height>
                <top>1035</top>
                <width>1160</width>
                <itemgap>0</itemgap>
                <orientation>horizontal</orientation>
                <animation effect="fade" start="100" end="0" time="400" condition="!Control.HasFocus(6058) + !Container.Scrolling">Conditional</animation>
                <include>AlphabetNumber</include>
                <include content="AlphabetLetter"><param name="label" value="A" /></include>
                <include content="AlphabetLetter"><param name="label" value="B" /></include>
                <include content="AlphabetLetter"><param name="label" value="C" /></include>
                <include content="AlphabetLetter"><param name="label" value="D" /></include>
                <include content="AlphabetLetter"><param name="label" value="E" /></include>
                <include content="AlphabetLetter"><param name="label" value="F" /></include>
                <include content="AlphabetLetter"><param name="label" value="G" /></include>
                <include content="AlphabetLetter"><param name="label" value="H" /></include>
                <include content="AlphabetLetter"><param name="label" value="I" /></include>
                <include content="AlphabetLetter"><param name="label" value="J" /></include>
                <include content="AlphabetLetter"><param name="label" value="K" /></include>
                <include content="AlphabetLetter"><param name="label" value="L" /></include>
                <include content="AlphabetLetter"><param name="label" value="M" /></include>
                <include content="AlphabetLetter"><param name="label" value="N" /></include>
                <include content="AlphabetLetter"><param name="label" value="O" /></include>
                <include content="AlphabetLetter"><param name="label" value="P" /></include>
                <include content="AlphabetLetter"><param name="label" value="Q" /></include>
                <include content="AlphabetLetter"><param name="label" value="R" /></include>
                <include content="AlphabetLetter"><param name="label" value="S" /></include>
                <include content="AlphabetLetter"><param name="label" value="T" /></include>
                <include content="AlphabetLetter"><param name="label" value="U" /></include>
                <include content="AlphabetLetter"><param name="label" value="V" /></include>
                <include content="AlphabetLetter"><param name="label" value="W" /></include>
                <include content="AlphabetLetter"><param name="label" value="X" /></include>
                <include content="AlphabetLetter"><param name="label" value="Y" /></include>
                <include content="AlphabetLetter"><param name="label" value="Z" /></include>
                <visible>Control.IsVisible(58)</visible>
                <visible>Skin.HasSetting(Show.JumpToLetter) + !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 type="group" description="Footer info">
			    <include>ContentFade</include>
			    <visible>Control.IsVisible(58)</visible>
    		    <animation effect="fade" start="100" end="0" time="50" delay="0" center="120,350" reversible="false">Hidden</animation>
			    <animation effect="fade" start="0" end="100" time="450" delay="400" center="120,350" reversible="false">Visible</animation>
			    <include>FooterInfo</include>
			</control>

			<include condition="Skin.HasSetting(Enable.TouchSupport)" content="TouchButtons">
			    <param name="ButtonsTop">935</param>
			    <param name="id">58</param>
			    <param name="left">1535</param>
			</include>

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