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

	<include name="mediasource_List_Content">
		<param name="visible" default="Control.HasFocus(10) | Control.HasFocus(11) | Control.HasFOcus(13) | Control.HasFocus(14)" />
		<definition>
			<include content="Button_Template">
				<param name="target_id" value="11" />
				<param name="visible" value="$PARAM[visible]" />
				<param name="right" value="180" />
				<param name="width" value="90" />
				<param name="texture" value="Browse" />
				<animation effect="slide" end="90,0" time="0" condition="!Control.IsEnabled(13)">Conditional</animation>
				<animation effect="slide" end="90,0" time="0" condition="!Control.IsEnabled(14)">Conditional</animation>
			</include>
			<include content="Button_Template">
				<param name="target_id" value="13" />
				<param name="visible" value="$PARAM[visible]" />
				<param name="right" value="90" />
				<param name="width" value="90" />
				<param name="texture" value="Plus" />
				<animation effect="slide" end="90,0" time="0" condition="!Control.IsEnabled(14)">Conditional</animation>
			</include>
			<include content="Button_Template">
				<param name="target_id" value="14" />
				<param name="visible" value="$PARAM[visible]" />
				<param name="right" value="0" />
				<param name="width" value="90" />
				<param name="texture" value="Cross" />
			</include>
		</definition>
	</include>

	<include name="playerprocessinfo_Media_List_Content">
		<control type="button">
			<description>Video codec</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31605]</label>
			<label2>$INFO[VideoPlayer.VideoCodec]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>Video resolution</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31606]</label>
			<label2>$INFO[VideoPlayer.VideoResolution]$INFO[Player.Process(VideoScanType)]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>Video aspect ratio</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31607]</label>
			<label2>$INFO[VideoPlayer.VideoAspect]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>Audio codec</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31608]</label>
			<label2>$INFO[VideoPlayer.AudioCodec]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>Audio channels</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31609]</label>
			<label2>$VAR[AudioChannels_Label]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>Audio bitrate</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31610]</label>
			<label2>$INFO[VideoPlayer.AudioBitRate,, kbps]</label2>
			<visible>Player.HasVideo</visible>
		</control>
	</include>

	<include name="playerprocessinfo_Player_List_Content">
		<control type="button">
			<description>Video stream</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[38031]</label>
			<label2>$INFO[Player.Process(VideoWidth),,x]$INFO[Player.Process(VideoHeight)]$INFO[Player.Process(VideoScanType)]$VAR[Copacetic_Divider_Bold, , ]$INFO[Player.Process(VideoDAR),, AR]$VAR[Copacetic_Divider_Bold, , ]$INFO[Player.Process(VideoFPS), FPS]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>Audio stream</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[460]</label>
			<label2>$VAR[AudioChannels_Label]$VAR[Copacetic_Divider_Bold, , ]$INFO[Player.Process(AudioChannels)]$VAR[Copacetic_Divider_Bold, , ]$INFO[Player.Process(AudioDecoder)]$VAR[Copacetic_Divider_Bold, , ]$INFO[Player.Process(AudioBitsPerSample),, bits]$VAR[Copacetic_Divider_Bold, , ]$INFO[Player.Process(AudioSampleRate),, Hz]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>usage</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[565]</label>
			<label2>$INFO[System.Memory(used.percent),$LOCALIZE[31611] ]$VAR[Copacetic_Divider_Bold, , ]$INFO[System.CpuUsage,$LOCALIZE[31612] ]</label2>
			<visible>System.SupportsCPUUsage</visible>
		</control>
		<control type="button">
			<description>Video decoder</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31613]</label>
			<label2>$INFO[Player.Process(videodecoder)]$VAR[Copacetic_Divider_Bold, , ]$VAR[Video_Decoder_Type_Label]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>Pixel format</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31614]</label>
			<label2>$INFO[Player.Process(PixFormat)]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>Deinterlace method</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[16038]</label>
			<label2>$INFO[Player.Process(deintmethod)]</label2>
			<visible>Player.HasVideo</visible>
		</control>
	</include>

	<include name="playerprocessinfo_System_List_Content">
		<control type="button">
			<description>Screen resolution</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31615]</label>
			<label2>$INFO[System.ScreenResolution]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>System rendering speed</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31616]</label>
			<label2>$INFO[System.FPS]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>System memory usage</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31617]</label>
			<label2>$INFO[System.Memory(used.percent)]</label2>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="button">
			<description>System CPU usage</description>
			<include content="playerprocessinfo_Button" />
			<label>$LOCALIZE[31618]</label>
			<label2>$INFO[System.CpuUsage]</label2>
			<visible>System.SupportsCPUUsage</visible>
		</control>
	</include>

	<include name="shutdownmenu_Content">
		<item>
			<description>Home</description>
			<label>$LOCALIZE[31401]</label>
			<onclick>Dialog.Close(all)</onclick>
			<onclick>ActivateWindow(home)</onclick>
			<visible>!Window.IsVisible(home) + !Window.IsVisible(loginscreen)</visible>
		</item>
		<item>
			<description>Night Mode</description>
			<label>$LOCALIZE[31408]</label>
			<onclick>Skin.SetString(Theme,Dark)</onclick>
			<visible>Skin.String(Theme,Light)</visible>
		</item>
		<item>
			<description>Light Mode</description>
			<label>$LOCALIZE[31407]</label>
			<onclick>Skin.SetString(Theme,Light)</onclick>
			<visible>!Skin.String(Theme,Light)</visible>
		</item>
		<item>
			<description>Settings</description>
			<label>$LOCALIZE[5]</label>
			<onclick>Dialog.Close(all)</onclick>
			<onclick>ActivateWindow(Settings)</onclick>
			<visible>!Window.IsVisible(loginscreen) + !Window.IsVisible(skinsettings) + !$EXP[Settings_IsVisible]</visible>
		</item>
	</include>
	
	<include name="skinshortcuts_Left_List_Content">
		<include content="Button_Template">
			<param name="target_id" value="304" />
			<param name="visible" value="Control.HasFocus(211) | Control.HasFocus(301) | Control.HasFocus(302) | Control.HasFocus(303) | Control.HasFocus(304)" />
			<param name="right" value="300" />
			<param name="width" value="120" />
			<param name="texture" value="Down_Arrow" />
			<bottom>-15</bottom>
		</include>
		<include content="Button_Template">
			<param name="target_id" value="303" />
			<param name="visible" value="Control.HasFocus(211) | Control.HasFocus(301) | Control.HasFocus(302) | Control.HasFocus(303) | Control.HasFocus(304)" />
			<param name="right" value="210" />
			<param name="width" value="120" />
			<param name="texture" value="Up_Arrow" />
			<bottom>-15</bottom>
		</include>
		<include content="Button_Template">
			<param name="target_id" value="301" />
			<param name="visible" value="Control.HasFocus(211) | Control.HasFocus(301) | Control.HasFocus(302) | Control.HasFocus(303) | Control.HasFocus(304)" />
			<param name="right" value="135" />
			<param name="width" value="90" />
			<param name="rotated" value="false" />
			<param name="texture" value="Plus" />
		</include>
		<include content="Button_Template">
			<param name="target_id" value="302" />
			<param name="visible" value="Control.HasFocus(211) | Control.HasFocus(301) | Control.HasFocus(302) | Control.HasFocus(303) | Control.HasFocus(304)" />
			<param name="right" value="45" />
			<param name="width" value="90" />
			<param name="rotated" value="false" />
			<param name="texture" value="Cross" />
		</include>
	</include>

	<include name="skinshortcuts_Right_List_Content">
		<control type="button" id="401">
			<description>Change shortcut</description>
			<label>$ADDON[script.skinshortcuts 32048]</label>
		</control>
		<control type="button" id="305">
			<description>Change label</description>
			<label>$ADDON[script.skinshortcuts 32025]</label>
			<label2>$INFO[Container(211).ListItem.Label]</label2>
		</control>
		<control type="button" id="307">
			<description>Change action</description>
			<label>$ADDON[script.skinshortcuts 32027]</label>
			<label2>$INFO[Container(211).ListItem.Property(displaypath)]</label2>
		</control>
		<control type="button" id="310">
			<visible>String.IsEqual(Window.Property(groupname), mainmenu)</visible>
			<description>Change background path</description>
			<label>$ADDON[script.skinshortcuts 32045]</label>
			<label2>$VAR[skinshortcuts_Background_Override_Label2]</label2>
			<label2></label2>
		</control>
	</include>

	<include name="smartplaylisteditor_Left_List_Content">
		<control type="button" id="22">
			<texturefocus border="62,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_except_60_left.png</texturefocus>
			<description>Set Playlist type</description>
			<label>$LOCALIZE[467]</label>
		</control>
		<control type="button" id="12">
			<texturefocus border="62,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_except_60_left.png</texturefocus>
			<description>Name of the playlist</description>
			<label>$LOCALIZE[551]</label>
		</control>
		<control type="button" id="16">
			<texturefocus border="62,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_except_60_left.png</texturefocus>
			<description>Match rules option</description>
			<label>$LOCALIZE[31600]</label>
		</control>
		<control type="button" id="17">
			<texturefocus border="62,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_except_60_left.png</texturefocus>
			<description>Limit rules option</description>
			<label>$LOCALIZE[31601]</label>
		</control>
		<control type="button" id="18">
			<texturefocus border="62,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_except_60_left.png</texturefocus>
			<description>Sort rules option</description>
			<label>$LOCALIZE[31602]</label>
		</control>
		<control type="button" id="19">
			<texturefocus border="62,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_except_60_left.png</texturefocus>
			<description>Sort direction option</description>
			<label>$LOCALIZE[31603]</label>
		</control>
		<control type="button" id="23">
			<texturefocus border="62,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_except_60_left.png</texturefocus>
			<description>Group by</description>
			<label>$LOCALIZE[19141]</label>
		</control>
		<control type="radiobutton" id="24">
			<texturefocus border="62,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_except_60_left.png</texturefocus>
			<description>Mixed</description>
			<label>$LOCALIZE[467]: $LOCALIZE[21459]</label>
		</control>
	</include>

	<include name="smartplaylisteditor_Right_List_Content">
		<include content="Button_Template">
			<param name="visible" value="[Control.HasFocus(10) | Control.HasFocus(14)] + !String.IsEqual(Container(10).ListItem.Label,$LOCALIZE[21423])" />
			<param name="target_id" value="14" />
			<param name="right" value="45" />
			<param name="width" value="90" />
			<param name="texture" value="Cross" />
		</include>
	</include>

	<include name="smartplaylistrule_List_Content">
		<control type="togglebutton" id="15">
			<texturefocus border="2,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_focused.png</texturefocus>
			<alttexturefocus border="2,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_focused.png</alttexturefocus>
		</control>
		<control type="button" id="16">
			<texturefocus border="2,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_focused.png</texturefocus>
		</control>
		<control type="edit" id="17">
			<hinttext>$LOCALIZE[16028]...</hinttext>
			<texturefocus border="2,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_focused.png</texturefocus>
		</control>
	</include>


</includes>