<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1154">
	<onunload>ClearProperty(SelectDialogType,home)</onunload>
	<defaultcontrol always="true">999</defaultcontrol>
	<include>window-openclose</include>
	<controls>
		<control type="group">
			<visible>!Window.IsVisible(selectdialog) + !Window.IsVisible(filebrowser) + !Window.IsVisible(Custom_HomeMenuItems.xml)</visible>
			<include>fadebackground</include>
		</control>
		<control type="group">
			<visible>String.IsEqual(Window(home).Property(SelectDialogType),selectskinplaylist) | String.IsEqual(Window(home).Property(SelectDialogType),selectuserplaylist)</visible>
			<control type="image"><!-- Dialog background image -->
				<left>135</left>
				<top>144</top>
				<width>1656</width>
				<height>795</height>
				<texture border="14">button-menu-background.png</texture>
			</control>
			<control type="label"><!-- Dialog heading -->
				<left>153</left>
				<top>166</top>
				<width>1476</width>
				<height>56</height>
				<label>$LOCALIZE[1033]</label>
				<align>center</align>
				<aligny>top</aligny>
				<font>apptv23</font>
			</control>
			<control type="image">
				<left>153</left>
				<top>210</top>
				<width>1620</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="grouplist" id="1000">
				<animation effect="fade" time="200">VisibleChange</animation>
				<left>204</left>
				<top>236</top>
				<width>1026</width>
				<height>345</height>
				<itemgap>0</itemgap>
				<onup>500</onup>
				<ondown>500</ondown>
				<onright>993</onright>
				<control type="button" id="999"><!-- Fake back listitem -->
					<width>1026</width>
					<height>69</height>
					<font>apptv22</font>
					<label>..</label>
					<onclick>Close</onclick>
				</control>
				<control type="button" id="998"><!-- Fake skin music listitem -->
					<width>1026</width>
					<height>69</height>
					<font>apptv22</font>
					<label>$LOCALIZE[36914]</label>
					<onclick>Skin.SetFile($INFO[Window(settings).Property(ListCustomBase),,.List],.xsp|.m3u,special://skin/extras/playlists/music)</onclick>
					<onclick condition="String.Contains(Window(settings).Property(CurrentPAction),$LOCALIZE[14098])">Skin.SetString($INFO[Window(settings).Property(ListCustomBase),,.Path],$VAR[CustomPlaylistPlay])</onclick>
					<onclick condition="!String.Contains(Window(settings).Property(CurrentPAction),$LOCALIZE[14098])">Skin.SetString($INFO[Window(settings).Property(ListCustomBase),,.Path],$VAR[CustomPlaylistMusic])</onclick>
					<onclick>Close</onclick>
					<visible>String.IsEqual(Window(home).Property(SelectDialogType),selectskinplaylist)</visible>
				</control>
				<control type="button" id="997"><!-- Fake skin video listitem -->
					<width>1026</width>
					<height>69</height>
					<font>apptv22</font>
					<label>$LOCALIZE[36912]</label>
					<onclick>Skin.SetFile($INFO[Window(settings).Property(ListCustomBase),,.List],.xsp|.m3u,special://skin/extras/playlists/video)</onclick>
					<onclick condition="String.Contains(Window(settings).Property(CurrentPAction),$LOCALIZE[14098])">Skin.SetString($INFO[Window(settings).Property(ListCustomBase),,.Path],$VAR[CustomPlaylistPlay])</onclick>
					<onclick condition="!String.Contains(Window(settings).Property(CurrentPAction),$LOCALIZE[14098])">Skin.SetString($INFO[Window(settings).Property(ListCustomBase),,.Path],$VAR[CustomPlaylistVideo])</onclick>
					<onclick>Close</onclick>
					<visible>String.IsEqual(Window(home).Property(SelectDialogType),selectskinplaylist)</visible>
				</control>
				<control type="button" id="996"><!-- Fake User mixed listitem -->
					<width>1026</width>
					<height>69</height>
					<font>apptv22</font>
					<label>$LOCALIZE[20395]</label>
					<onclick>Skin.SetFile($INFO[Window(settings).Property(ListCustomBase),,.List],.xsp|.m3u,special://videoplaylists/)</onclick>
					<onclick condition="String.Contains(Window(settings).Property(CurrentPAction),$LOCALIZE[14098])">Skin.SetString($INFO[Window(settings).Property(ListCustomBase),,.Path],$VAR[CustomPlaylistPlay])</onclick>
					<onclick condition="!String.Contains(Window(settings).Property(CurrentPAction),$LOCALIZE[14098])">Skin.SetString($INFO[Window(settings).Property(ListCustomBase),,.Path],$VAR[CustomPlaylistMusic])</onclick>
					<onclick>Close</onclick>
					<visible>String.IsEqual(Window(home).Property(SelectDialogType),selectuserplaylist)</visible>
				</control>
				<control type="button" id="995"><!-- Fake User music listitem -->
					<width>1026</width>
					<height>69</height>
					<font>apptv22</font>
					<label>$LOCALIZE[36914]</label>
					<onclick>Skin.SetFile($INFO[Window(settings).Property(ListCustomBase),,.List],.xsp|.m3u,special://musicplaylists/)</onclick>
					<onclick condition="String.Contains(Window(settings).Property(CurrentPAction),$LOCALIZE[14098])">Skin.SetString($INFO[Window(settings).Property(ListCustomBase),,.Path],$VAR[CustomPlaylistPlay])</onclick>
					<onclick condition="!String.Contains(Window(settings).Property(CurrentPAction),$LOCALIZE[14098])">Skin.SetString($INFO[Window(settings).Property(ListCustomBase),,.Path],$VAR[CustomPlaylistMusic])</onclick>
					<onclick>Close</onclick>
					<visible>String.IsEqual(Window(home).Property(SelectDialogType),selectuserplaylist)</visible>
				</control>
				<control type="button" id="994"><!-- Fake User video listitem -->
					<width>1026</width>
					<height>69</height>
					<font>apptv22</font>
					<label>$LOCALIZE[36912]</label>
					<onclick>Skin.SetFile($INFO[Window(settings).Property(ListCustomBase),,.List],.xsp|.m3u,special://videoplaylists/)</onclick>
					<onclick condition="String.Contains(Window(settings).Property(CurrentPAction),$LOCALIZE[14098])">Skin.SetString($INFO[Window(settings).Property(ListCustomBase),,.Path],$VAR[CustomPlaylistPlay])</onclick>
					<onclick condition="!String.Contains(Window(settings).Property(CurrentPAction),$LOCALIZE[14098])">Skin.SetString($INFO[Window(settings).Property(ListCustomBase),,.Path],$VAR[CustomPlaylistVideo])</onclick>
					<onclick>Close</onclick>
					<visible>String.IsEqual(Window(home).Property(SelectDialogType),selectuserplaylist)</visible>
				</control>
			</control>
			<control type="label"><!-- Fake OK button -->
				<left>1314</left>
				<top>236</top>
				<width>384</width>
				<height>69</height>
				<font>apptv23</font>
				<label>$LOCALIZE[186]</label>
				<textcolor>disabled-text</textcolor>
				<align>center</align>
			</control>
			<control type="button" id="993"><!-- Fake Cancel button -->
				<left>1314</left>
				<top>307</top>
				<width>384</width>
				<height>69</height>
				<font>apptv23</font>
				<label>$LOCALIZE[222]</label>
				<align>center</align>
				<onleft>1000</onleft>
				<onclick>Close</onclick>
			</control>
			<control type="image">
				<left>1314</left>
				<top>444</top>
				<height>384</height>
				<width>384</width>
				<texture>DefaultFolder.png</texture>
				<aspectratio aligny="top">keep</aspectratio>
				<visible>!Control.HasFocus(999) + !Control.HasFocus(993)</visible>
			</control>
			<control type="image">
				<left>1314</left>
				<top>444</top>
				<height>384</height>
				<width>384</width>
				<texture>DefaultFolderBack.png</texture>
				<aspectratio aligny="top">keep</aspectratio>
				<visible>Control.HasFocus(999)</visible>
			</control>
		</control>
	</controls>
</window>