<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="List_View_53">
		<param name="id">53</param>
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="thumblabel">$VAR[MainListLabel]</param>
		<param name="thumbmainlabel">$VAR[ThumbMainListLabel]</param>
		<param name="thumbsublabel">$VAR[ThumbSubListLabel]</param>
		<param name="rightlabel">$VAR[RightListLabel]</param>
		<param name="rightlabel2">$VAR[RightListLabel2]</param>
		<definition>
			<control type="group">
				<include>Visible_OpenClose</include>
				<visible>Control.IsVisible($PARAM[id])</visible>
				<!-- List -->
				<control id="$PARAM[id]" type="fixedlist">
					<visible>$EXP[ListViewVisible]</visible>
					<animation effect="slide" time="0" end="0,-120" condition="!Container.HasParent + [Integer.IsEqual(Container($PARAM[id]).NumItems,6) | Integer.IsEqual(Container($PARAM[id]).NumItems,5)]">Conditional</animation>
					<animation effect="slide" time="0" end="0,-240" condition="!Container.HasParent + [Integer.IsEqual(Container($PARAM[id]).NumItems,4) | Integer.IsEqual(Container($PARAM[id]).NumItems,3)]">Conditional</animation>
					<animation effect="slide" time="0" end="0,-360" condition="!Container.HasParent + [Integer.IsEqual(Container($PARAM[id]).NumItems,2) | Integer.IsEqual(Container($PARAM[id]).NumItems,1)]">Conditional</animation>
					<animation effect="slide" time="0" end="0,-120" condition="Container.HasParent + [Integer.IsEqual(Container($PARAM[id]).NumItems,5) | Integer.IsEqual(Container($PARAM[id]).NumItems,4)]">Conditional</animation>
					<animation effect="slide" time="0" end="0,-240" condition="Container.HasParent + [Integer.IsEqual(Container($PARAM[id]).NumItems,3) | Integer.IsEqual(Container($PARAM[id]).NumItems,2)]">Conditional</animation>
					<animation effect="slide" time="0" end="0,-360" condition="Container.HasParent + [Integer.IsEqual(Container($PARAM[id]).NumItems,1) | Integer.IsEqual(Container($PARAM[id]).NumItems,0)]">Conditional</animation>
					<left>660</left>
					<height>100%</height>
					<onup>SetFocus(6666)</onup>
					<onright condition="!Control.IsVisible(7000) + Control.IsVisible(17)">SetFocus(17)</onright>
					<onright condition="Control.IsVisible(7000)">SetFocus(7000)</onright>
					<ondown>noop</ondown>
					<onleft condition="Window.IsVisible(MyPlaylist.xml)">100</onleft>
					<onleft condition="!Window.IsVisible(MyPlaylist.xml)">900</onleft>
					<defaultcontrol always="true">0</defaultcontrol>
					<focusposition>4</focusposition>
					<movement>3</movement>
					<orientation>vertical</orientation>
					<viewtype label="535">list</viewtype>
					<pagecontrol>17</pagecontrol>
					<include>ScrollTime</include>
					<preloaditems>4</preloaditems>
					<oninfo condition="String.IsEqual(ListItem.DBType,set) + !String.IsEmpty(Container(2001).ListItem.Label)">RunScript(script.embuary.helper,action=textviewer,header='$ESCINFO[ListItem.Title]',message='$ESCVAR[ListViewPlot]')</oninfo>
					<oninfo condition="String.IsEqual(ListItem.DBType,musicvideo) + !String.IsEmpty(ListItem.Plot)">RunScript(script.embuary.helper,action=textviewer,header='$ESCINFO[ListItem.Title]',message='$ESCVAR[ListViewPlot]')</oninfo>
					<itemlayout height="120" width="1229">
						<control type="group">
							<left>70</left>
							<right>70</right>
							<include content="ListLayout">
								<param name="id">$PARAM[id]</param>
								<param name="mainlabel">$PARAM[mainlabel]</param>
								<param name="sublabel">$PARAM[sublabel]</param>
								<param name="rightlabel">$PARAM[rightlabel]</param>
								<param name="rightlabel2">$PARAM[rightlabel2]</param>
							</include>
						</control>
					</itemlayout>
					<focusedlayout height="120" width="1229">
						<include content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<right>70</right>
							<include content="ListLayout">
								<param name="focused" value="true"/>
								<param name="id">$PARAM[id]</param>
								<param name="mainlabel">$PARAM[mainlabel]</param>
								<param name="sublabel">$PARAM[sublabel]</param>
								<param name="rightlabel">$PARAM[rightlabel]</param>
								<param name="rightlabel2">$PARAM[rightlabel2]</param>
							</include>
						</control>
					</focusedlayout>
				</control>
				<!-- side info panel -->
				<control type="group">
					<left>20</left>
					<width>690</width>
					<control type="group">
						<top>119</top>
						<bottom>120</bottom>
						<centerleft>50%</centerleft>
						<width>590</width>
						<!-- auto thumb -->
						<control type="group">
							<control type="group">
								<control type="image">
									<top>-4</top>
									<left>-4</left>
									<width>598</width>
									<height>340</height>
									<aspectratio align="center" aligny="center">keep</aspectratio>
									<texture>$VAR[IconLandscape]</texture>
									<bordersize>4</bordersize>
									<bordertexture colordiffuse="thumb_background" border="4">items/shadow3.png</bordertexture>
									<visible>!String.StartsWith(ListItem.Icon,Default)</visible>
								</control>
								<control type="image">
									<top>-4</top>
									<left>-4</left>
									<width>598</width>
									<height>340</height>
									<aspectratio align="center" aligny="center">keep</aspectratio>
									<texture colordiffuse="text_white">$INFO[ListItem.Icon]</texture>
									<bordersize>75</bordersize>
									<bordertexture colordiffuse="thumb_background_fallback_secondary" border="4">items/shadow3.png</bordertexture>
									<visible>String.StartsWith(ListItem.Icon,Default)</visible>
								</control>
								<control type="group">
									<width>590</width>
									<height>332</height>
									<include>ListitemOverlay</include>
								</control>
							</control>
						</control>
						<!-- desc -->
						<include content="StaticLabels">
							<param name="top">348</param>
							<param name="width">590</param>
							<param name="mainlabel">$PARAM[thumbmainlabel]</param>
							<param name="sublabel">$PARAM[thumbsublabel]</param>
						</include>
						<!-- buttons -->
						<control type="grouplist" id="100">
							<visible>Window.IsVisible(MyPlaylist.xml)</visible>
							<top>431</top>
							<height>75</height>
							<orientation>horizontal</orientation>
							<itemgap>5</itemgap>
							<onright>50</onright>
							<onleft>900</onleft>
							<align>center</align>
							<control type="button" id="8">
								<include>LightGreyButton</include>
								<label>$LOCALIZE[15067]</label>
								<onclick>close</onclick>
								<visible>false</visible>
							</control>
							<control type="button" id="101">
								<include>LightGreyButton</include>
								<label>$VAR[PartyModeButton]</label>
								<onclick condition="MusicPartyMode.Enabled">Playercontrol(stop)</onclick>
								<onclick condition="!MusicPartyMode.Enabled">Playercontrol(partymode(music))</onclick>
								<onclick>close</onclick>
								<visible>Window.IsVisible(musicplaylist) + String.IsEqual(ListItemAbsolute(0).DBtype,song)</visible>
							</control>
							<control type="button" id="21">
								<include>LightGreyButton</include>
								<label>$LOCALIZE[190]</label>
								<visible>!MusicPartyMode.Enabled | Window.IsVisible(videoplaylist)</visible>
							</control>
							<control type="button" id="22">
								<include>LightGreyButton</include>
								<label>$LOCALIZE[192]</label>
								<onclick>close</onclick>
								<visible>!MusicPartyMode.Enabled | Window.IsVisible(videoplaylist)</visible>
							</control>
						</control>
						<!-- progress -->
						<include condition="!Window.IsVisible(MyPlaylist.xml)" content="Progress">
							<param name="top" value="425"/>
							<param name="width" value="590"/>
							<param name="height" value="5"/>
							<param name="bgcolor" value="ff515151"/>
						</include>
						<!-- plot -->
						<control type="textbox">
							<top>510</top>
							<bottom>0</bottom>
							<align>justify</align>
							<aligny>top</aligny>
							<label>$VAR[ListViewPlot]</label>
							<font>Light24</font>
							<visible>Window.IsVisible(MyPlaylist.xml)</visible>
						</control>
						<control type="textbox">
							<top>435</top>
							<bottom>5</bottom>
							<align>justify</align>
							<aligny>top</aligny>
							<label>$VAR[ListViewPlot]</label>
							<font>Light24</font>
							<visible>!Window.IsVisible(MyPlaylist.xml)</visible>
							<visible>![String.StartsWith(ListItem.Path,pvr://channels) + Integer.IsGreater(ListItem.Progress,0)] + ![!String.StartsWith(ListItem.Path,pvr://channels) + Integer.IsGreater(ListItem.PercentPlayed,0)]</visible>
						</control>
						<control type="textbox">
							<top>445</top>
							<bottom>0</bottom>
							<align>justify</align>
							<aligny>top</aligny>
							<label>$VAR[ListViewPlot]</label>
							<font>Light24</font>
							<visible>!Window.IsVisible(MyPlaylist.xml)</visible>
							<visible>[String.StartsWith(ListItem.Path,pvr://channels) + Integer.IsGreater(ListItem.Progress,0)] | [!String.StartsWith(ListItem.Path,pvr://channels) + Integer.IsGreater(ListItem.PercentPlayed,0)]</visible>
						</control>
					</control>
				</control>
			</control>
		</definition>
	</include>
</includes>