<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>9000</defaultcontrol>
	<backgroundcolor>background</backgroundcolor>
	<onload condition="Skin.HasSetting(EnableCustomMenu)">RunScript(special://home/addons/skin.estuaryplus/resources/lib/check_includes.py)</onload>
	<controls>
		<!--隐藏按钮-->
		<control type="button" id="20000">
			<include>HiddenObject</include>
			<animation effect="fade" time="300" start="100" end="0">Focus</animation>
			<onfocus>SetFocus(2000)</onfocus>
			<onclick>noop</onclick>
			<visible allowhiddenfocus="true">Control.HasFocus(20000)</visible>
		</control>
		<control type="button" id="20001">
			<include>HiddenObject</include>
			<animation effect="fade" time="300" start="100" end="0">Focus</animation>
			<onfocus>SetFocus(2000)</onfocus>
			<onclick>noop</onclick>
			<visible allowhiddenfocus="true">Control.HasFocus(20001)</visible>
		</control>

		<!--背景相关-->
		<include>DefaultBackground</include>
		<control type="multiimage">
			<depth>DepthBackground</depth>
			<include>FullScreenDimensions</include>
			<aspectratio>scale</aspectratio>
			<fadetime>600</fadetime>
			<animation effect="zoom" center="auto" end="102,102" time="0" condition="Integer.IsGreater(System.StereoscopicMode,0)">conditional</animation>
			<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
			<animation effect="fade" time="400">VisibleChange</animation>
			<imagepath background="true" colordiffuse="bg_overlay">$VAR[HomeFanartVar]</imagepath>
			<visible>!Player.HasMedia</visible>
		</control>

		<!--右侧部件-->
		<control type="group">
			<animation effect="fade" start="100" end="0" time="200" tween="sine" condition="$EXP[infodialog_active]">Conditional</animation>

			<!--部件内容-->
			<control type="group" id="2000">
				<include condition="!Skin.HasSetting(HideHomeMenu)">HomeMenuWidgetOverlay</include><!---->
				<animation effect="slide" end="462,0" time="300" tween="sine" easing="inout" condition="[Control.HasFocus(9000) | ControlGroup(700).HasFocus] + Skin.HasSetting(HideHomeMenu)">Conditional</animation><!---->
				<animation type="Conditional" condition="Control.IsVisible(20000)" reversible="false">
					<effect type="slide" end="0,20" time="60" tween="sine" />
					<effect type="slide" end="0,-20" time="180" tween="sine" delay="80" />
				</animation>
				<animation type="Conditional" condition="Control.IsVisible(20001)" reversible="false">
					<effect type="slide" end="0,-20" time="60" tween="sine" />
					<effect type="slide" end="0,20" time="180" tween="sine" delay="80" />
				</animation>
				<include>OpenClose_Right</include>

				<!--自定义菜单部件-->
				<include condition="Skin.HasSetting(EnableCustomMenu)">HomeMenuWidget</include>

				<!--主菜单部件-->
				<!--电影-->
				<control type="group" id="5000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),movies)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="movies"/>
					</include>
					<control type="grouplist" id="5001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>5010</pagecontrol>
						<include condition="!Skin.HasSetting(EnablePlusMovie)">HomeMovies</include>
						<include condition="Skin.HasSetting(EnablePlusMovie)">HomeMoviesPlus</include>
					</control>
					<include content="ImageWidget" condition="!Library.HasContent(movies)">
						<param name="text_label" value="$LOCALIZE[31104]" />
						<param name="button_label" value="$LOCALIZE[31110]" />
						<param name="button_onclick" value="ActivateWindow(videos,files,return)"/>
						<param name="button_id" value="5500"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoMovieButton)"/>
					</include>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="5010"/>
					</include>
				</control>

				<!--剧集-->
				<control type="group" id="6000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),tvshows)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="tvshows"/>
					</include>
					<control type="grouplist" id="6001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>6010</pagecontrol>
						<include condition="!Skin.HasSetting(EnablePlusTVShow)">HomeTVShows</include>
						<include condition="Skin.HasSetting(EnablePlusTVShow)">HomeTVShowsPlus</include>
					</control>
					<include content="ImageWidget" condition="!Library.HasContent(tvshows)">
						<param name="text_label" value="$LOCALIZE[31104]" />
						<param name="button_label" value="$LOCALIZE[31110]" />
						<param name="button_onclick" value="ActivateWindow(videos,files,return)"/>
						<param name="button_id" value="6400"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoTVShowButton)"/>
					</include>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="6010"/>
					</include>
				</control>

				<!--音乐-->
				<control type="group" id="7000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),music)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="music"/>
					</include>
					<control type="grouplist" id="7001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>7010</pagecontrol>
						<include content="WidgetListCategories" condition="Library.HasContent(music) + !Skin.HasSetting(home_no_categories_widget)">
							<param name="content_path" value="library://music/"/>
							<param name="widget_header" value="$LOCALIZE[31148]"/>
							<param name="widget_target" value="music"/>
							<param name="list_id" value="7900"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(music)">
							<param name="content_path" value="musicdb://recentlyplayedalbums"/>
							<param name="widget_header" value="$LOCALIZE[517]"/>
							<param name="widget_target" value="music"/>
							<param name="list_id" value="7100"/>
							<param name="fallback_icon" value="DefaultMusicAlbums.png"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(music)">
							<param name="content_path" value="musicdb://recentlyaddedalbums/"/>
							<param name="widget_header" value="$LOCALIZE[359]"/>
							<param name="widget_target" value="music"/>
							<param name="list_id" value="7200"/>
							<param name="fallback_icon" value="DefaultMusicAlbums.png"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(music)">
							<param name="content_path" value="special://skin/playlists/random_albums.xsp"/>
							<param name="widget_header" value="$LOCALIZE[31012]"/>
							<param name="widget_target" value="music"/>
							<param name="list_id" value="7300"/>
							<param name="fallback_icon" value="DefaultMusicAlbums.png"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(music)">
							<param name="content_path" value="special://skin/playlists/random_artists.xsp"/>
							<param name="widget_header" value="$LOCALIZE[31013]"/>
							<param name="widget_target" value="music"/>
							<param name="list_id" value="7400"/>
							<param name="fallback_icon" value="DefaultMusicArtists.png"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(music)">
							<param name="content_path" value="special://skin/playlists/unplayed_albums.xsp"/>
							<param name="widget_header" value="$LOCALIZE[31014]"/>
							<param name="widget_target" value="music"/>
							<param name="list_id" value="7500"/>
							<param name="fallback_icon" value="DefaultMusicAlbums.png"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(music)">
							<param name="content_path" value="special://skin/playlists/mostplayed_albums.xsp"/>
							<param name="widget_header" value="$LOCALIZE[31011]"/>
							<param name="widget_target" value="music"/>
							<param name="list_id" value="7600"/>
							<param name="fallback_icon" value="DefaultMusicAlbums.png"/>
							<param name="sortby" value="playcount"/>
							<param name="sortorder" value="descending"/>
						</include>
					</control>
					<include content="ImageWidget" condition="!Library.HasContent(music)">
						<param name="text_label" value="$LOCALIZE[31104]" />
						<param name="button_label" value="$LOCALIZE[31110]" />
						<param name="button_onclick" value="ActivateWindow(music,files)"/>
						<param name="button_id" value="7600"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoMusicButton)"/>
					</include>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="7010"/>
					</include>
				</control>

				<!--插件-->
				<control type="group" id="8000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),addons)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="addons"/>
					</include>
					<control type="grouplist" id="8001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>8010</pagecontrol>
						<include content="WidgetListCategories" condition="!Skin.HasSetting(home_no_categories_widget)" >
							<param name="content_path" value="addons://"/>
							<param name="widget_header" value="$LOCALIZE[31148]"/>
							<param name="widget_target" value="addonbrowser"/>
							<param name="list_id" value="8900"/>
							<param name="visible" value="Integer.IsGreater(Container(8100).NumItems,0) | Integer.IsGreater(Container(8200).NumItems,0) | Integer.IsGreater(Container(8300).NumItems,0) | Integer.IsGreater(Container(8400).NumItems,0) | Integer.IsGreater(Container(8500).NumItems,0) | Integer.IsGreater(Container(8700).NumItems,0)"/>
						</include>
						<include content="WidgetListSquare">
							<param name="content_path" value="addons://sources/video/"/>
							<param name="widget_header" value="$LOCALIZE[1037]"/>
							<param name="widget_target" value="videos"/>
							<param name="sortby" value="lastused"/>
							<param name="sortorder" value="descending"/>
							<param name="list_id" value="8100"/>
							<param name="fallback_icon" value="DefaultAddon.png"/>
						</include>
						<include content="WidgetListSquare">
							<param name="content_path" value="addons://sources/audio/"/>
							<param name="widget_header" value="$LOCALIZE[1038]"/>
							<param name="widget_target" value="music"/>
							<param name="sortby" value="lastused"/>
							<param name="sortorder" value="descending"/>
							<param name="list_id" value="8200"/>
							<param name="fallback_icon" value="DefaultAddon.png"/>
						</include>
						<include content="WidgetListSquare">
							<param name="content_path" value="addons://sources/game/"/>
							<param name="widget_header" value="$LOCALIZE[35049]"/>
							<param name="widget_target" value="games"/>
							<param name="sortby" value="lastused"/>
							<param name="sortorder" value="descending"/>
							<param name="list_id" value="8700"/>
							<param name="fallback_icon" value="DefaultAddonGame.png"/>
							<param name="visible" value="System.GetBool(gamesgeneral.enable)"/>
						</include>
						<include content="WidgetListSquare">
							<param name="content_path" value="addons://sources/executable/"/>
							<param name="widget_header" value="$LOCALIZE[1043]"/>
							<param name="widget_target" value="programs"/>
							<param name="sortby" value="lastused"/>
							<param name="sortorder" value="descending"/>
							<param name="list_id" value="8300"/>
							<param name="fallback_icon" value="DefaultAddon.png"/>
						</include>
						<include content="WidgetListSquare" condition="System.Platform.Android">
							<param name="content_path" value="androidapp://sources/apps/"/>
							<param name="widget_header" value="$LOCALIZE[20244]"/>
							<param name="widget_target" value="programs"/>
							<param name="sortby" value="lastused"/>
							<param name="sortorder" value="descending"/>
							<param name="list_id" value="8400"/>
							<param name="fallback_icon" value="DefaultAddon.png"/>
						</include>
						<include content="WidgetListSquare">
							<param name="content_path" value="addons://sources/image/"/>
							<param name="widget_header" value="$LOCALIZE[1039]"/>
							<param name="widget_target" value="pictures"/>
							<param name="sortby" value="lastused"/>
							<param name="sortorder" value="descending"/>
							<param name="list_id" value="8500"/>
						</include>
					</control>
					<include content="ImageWidget">
						<param name="text_label" value="$LOCALIZE[31119]" />
						<param name="button_label" value="$LOCALIZE[31118]" />
						<param name="button_onclick" value="ActivateWindow(addonbrowser)"/>
						<param name="button_id" value="8600"/>
						<param name="visible" value="!Integer.IsGreater(Container(8001).NumItems,0)"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoProgramsButton)"/>
					</include>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="8010"/>
					</include>
				</control>

				<!--视频-->
				<control type="group" id="11000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),video)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="video"/>
					</include>
					<control type="grouplist" id="11001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>11010</pagecontrol>
						<include content="WidgetListCategories">
							<param name="content_path" value="library://video/"/>
							<param name="widget_header" value="$LOCALIZE[31148]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="11900"/>
						</include>
						<include content="WidgetListCategories">
							<param name="content_path" value="sources://video/"/>
							<param name="widget_header" value="$LOCALIZE[20094]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="11100"/>
						</include>
						<include content="WidgetListCategories">
							<param name="content_path" value="special://videoplaylists/"/>
							<param name="widget_header" value="$LOCALIZE[136]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="11200"/>
							<param name="icon" value="DefaultPlaylist.png"/>
						</include>
					</control>
					<include content="ImageWidget">
						<param name="text_label" value="$LOCALIZE[31105]" />
						<param name="button_label" value="$LOCALIZE[31110]" />
						<param name="button_onclick" value="ActivateWindow(videos,root)"/>
						<param name="button_id" value="11300"/>
						<param name="visible" value="!Integer.IsGreater(Container(11001).NumItems,0)"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoVideosButton)"/>
					</include>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="11010"/>
					</include>
				</control>

				<!--电视-->
				<control type="group" id="12000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),livetv)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="livetv"/>
					</include>
					<!--<control type="grouplist" id="12001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>12010</pagecontrol>
						<control type="grouplist" id="12855">
							<height>390</height>
							<left>0</left>
							<right>0</right>
							<top>36</top>
							<orientation>horizontal</orientation>
							<visible>PVR.IsRecordingTV | PVR.HasNonRecordingTVTimer</visible>
							<align>center</align>
							<control type="group">
								<width>674</width>
								<visible>PVR.IsRecordingTV</visible>
								<include content="PVRWidget">
									<param name="icon" value="$INFO[PVR.TVNowRecordingChannelIcon]" />
									<param name="header" value="$LOCALIZE[19158]" />
									<param name="label1" value="$INFO[PVR.TVNowRecordingDateTime]" />
									<param name="label2" value="$INFO[PVR.TVNowRecordingTitle][CR][COLOR=grey]$INFO[PVR.TVNowRecordingChannel][/COLOR]" />
								</include>
							</control>
							<control type="group">
								<width>674</width>
								<visible>PVR.HasNonRecordingTVTimer</visible>
								<include content="PVRWidget">
									<param name="icon" value="$INFO[PVR.TVNextRecordingChannelIcon]" />
									<param name="header" value="$LOCALIZE[19157]" />
									<param name="label1" value="$INFO[PVR.TVNextRecordingDateTime]" />
									<param name="label2" value="$INFO[PVR.TVNextRecordingTitle][CR][COLOR=grey]$INFO[PVR.TVNextRecordingChannel][/COLOR]" />
								</include>
							</control>
						</control>
						<include content="WidgetListCategories" condition="System.HasPVRAddon">
							<param name="widget_header" value="$LOCALIZE[31148]"/>
							<param name="list_id" value="12900"/>
							<param name="pvr_submenu" value="true"/>
							<param name="pvr_type" value="TV"/>
						</include>
						<include content="WidgetListChannels" condition="System.HasPVRAddon">
							<param name="content_path" value="pvr://channels/tv/*?view=lastplayed"/>
							<param name="sortby" value="lastplayed"/>
							<param name="sortorder" value="descending"/>
							<param name="widget_header" value="$LOCALIZE[31016]"/>
							<param name="widget_target" value="pvr"/>
							<param name="list_id" value="12200"/>
						</include>
						<include content="WidgetListChannels" condition="System.HasPVRAddon">
							<param name="content_path" value="pvr://recordings/tv/active?view=flat"/>
							<param name="sortby" value="date"/>
							<param name="sortorder" value="descending"/>
							<param name="widget_header" value="$LOCALIZE[31015]"/>
							<param name="widget_target" value="pvr"/>
							<param name="list_id" value="12300"/>
							<param name="label" value="$INFO[ListItem.ChannelName]"/>
							<param name="label2" value="$INFO[ListItem.Title]$INFO[ListItem.EpisodeName, (,)]"/>
						</include>
					</control>
					<include content="ImageWidget" condition="!System.HasPVRAddon">
						<param name="text_label" value="$LOCALIZE[31143]" />
						<param name="button_label" value="$LOCALIZE[31144]" />
						<param name="button_onclick" value="ActivateWindow(addonbrowser,addons://all/xbmc.pvrclient,return)"/>
						<param name="button_id" value="12400"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoTVButton)"/>
					</include>-->

					<!--start-->
					<control type="grouplist" id="12001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>12010</pagecontrol>
						<include content="WidgetListCategories" condition="System.HasPVRAddon">
							<param name="content_path" value="pvr://tv/"/>
							<param name="widget_header" value="$LOCALIZE[31148]"/>
							<param name="list_id" value="12900"/>
							<param name="pvr_submenu" value="true"/>
							<param name="pvr_type" value="TV"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon">
							<param name="content_path" value="pvr://channels/tv/*?view=lastplayed"/>
							<param name="sortby" value="lastplayed"/>
							<param name="sortorder" value="descending"/>
							<param name="widget_header" value="$LOCALIZE[31016]"/>
							<param name="item_limit" value="15"/>
							<param name="list_id" value="12200"/>
							<param name="info_update" value="5000"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon">
							<param name="content_path" value="pvr://recordings/tv/active?view=flat"/>
							<param name="sortby" value="date"/>
							<param name="sortorder" value="descending"/>
							<param name="widget_header" value="$LOCALIZE[31015]"/>
							<param name="item_limit" value="15"/>
							<param name="list_id" value="12300"/>
							<param name="label" value="$INFO[ListItem.Title]$INFO[ListItem.Date, (,)]"/>
							<param name="label2" value="$VAR[SeasonEpisodeLabel]$INFO[ListItem.EpisodeName]"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon">
							<param name="content_path" value="pvr://timers/tv/timers/?view=hidedisabled"/>
							<param name="sortorder" value="ascending"/>
							<param name="sortby" value="date"/>
							<param name="widget_header" value="$LOCALIZE[19040]"/>
							<param name="widget_target" value="tvtimers"/>
							<param name="item_limit" value="15"/>
							<param name="list_id" value="12400"/>
							<param name="label" value="$INFO[ListItem.Title]$INFO[ListItem.Date, (,)]"/>
							<param name="label2" value="$VAR[SeasonEpisodeLabel]$INFO[ListItem.EpisodeName]"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon">
							<param name="content_path" value="pvr://channels/tv"/>
							<param name="widget_header" value="$LOCALIZE[19173]"/>
							<param name="widget_target" value="tvguide"/>
							<param name="list_id" value="12500"/>
							<param name="item_treshold" value="1"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon">
							<param name="content_path" value="pvr://search/tv/savedsearches"/>
							<param name="sortorder" value="descending"/>
							<param name="sortby" value="date"/>
							<param name="widget_header" value="$LOCALIZE[19337]"/>
							<param name="widget_target" value="tvsearch"/>
							<param name="list_id" value="12600"/>
						</include>
					</control>
					<include content="ImageWidget" condition="!System.HasPVRAddon">
						<param name="text_label" value="$LOCALIZE[31143]" />
						<param name="button_label" value="$LOCALIZE[31144]" />
						<param name="button_onclick" value="ActivateWindow(addonbrowser,addons://default_binary_addons_source/kodi.pvrclient,return)"/>
						<param name="button_id" value="12400"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoTVButton)"/>
					</include>
					<!--end-->

					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="12010"/>
					</include>
				</control>

				<!--电台-->
				<control type="group" id="13000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),radio)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="radio"/>
					</include>
					<control type="grouplist" id="13001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>13010</pagecontrol>
						<control type="grouplist" id="13855">
							<height>390</height>
							<left>25</left>
							<top>36</top>
							<orientation>horizontal</orientation>
							<align>right</align>
							<width>1360</width>
							<visible>PVR.IsRecordingRadio | PVR.HasNonRecordingRadioTimer</visible>
							<control type="group">
								<width>680</width>
								<visible>PVR.IsRecordingRadio</visible>
								<include content="PVRWidget">
									<param name="icon" value="$INFO[PVR.RadioNowRecordingChannelIcon]" />
									<param name="header" value="$LOCALIZE[19158]" />
									<param name="label1" value="$INFO[PVR.RadioNowRecordingDateTime]" />
									<param name="label2" value="$INFO[PVR.RadioNowRecordingTitle][CR][COLOR=grey]$INFO[PVR.RadioNowRecordingChannel][/COLOR]" />
								</include>
							</control>
							<control type="group">
								<visible>PVR.HasNonRecordingRadioTimer</visible>
								<width>680</width>
								<include content="PVRWidget">
									<param name="icon" value="$INFO[PVR.RadioNextRecordingChannelIcon]" />
									<param name="header" value="$LOCALIZE[19157]" />
									<param name="label1" value="$INFO[PVR.RadioNextRecordingDateTime]" />
									<param name="label2" value="$INFO[PVR.RadioNextRecordingTitle][CR][COLOR=grey]$INFO[PVR.RadioNextRecordingChannel][/COLOR]" />
								</include>
							</control>
						</control>
						<include content="WidgetListCategories" condition="System.HasPVRAddon">
							<param name="widget_header" value="$LOCALIZE[31148]"/>
							<param name="list_id" value="13900"/>
							<param name="pvr_submenu" value="true"/>
							<param name="pvr_type" value="Radio"/>
						</include>
						<include content="WidgetListChannels" condition="System.HasPVRAddon">
							<param name="content_path" value="pvr://channels/radio/*?view=lastplayed"/>
							<param name="sortby" value="lastplayed"/>
							<param name="sortorder" value="descending"/>
							<param name="widget_header" value="$LOCALIZE[31018]"/>
							<param name="widget_target" value="files"/>
							<param name="list_id" value="13200"/>
						</include>
						<include content="WidgetListChannels" condition="System.HasPVRAddon">
							<param name="content_path" value="pvr://recordings/radio/active?view=flat"/>
							<param name="sortby" value="date"/>
							<param name="sortorder" value="descending"/>
							<param name="widget_header" value="$LOCALIZE[31015]"/>
							<param name="widget_target" value="pvr"/>
							<param name="list_id" value="13300"/>
							<param name="label" value="$INFO[ListItem.ChannelName]"/>
							<param name="label2" value="$INFO[ListItem.Title]$INFO[ListItem.EpisodeName, (,)]"/>
						</include>
					</control>
					<include content="ImageWidget" condition="!System.HasPVRAddon">
						<param name="text_label" value="$LOCALIZE[31143]" />
						<param name="button_label" value="$LOCALIZE[31144]" />
						<param name="button_onclick" value="ActivateWindow(addonbrowser,addons://all/xbmc.pvrclient,return)"/>
						<param name="button_id" value="13400"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoRadioButton)"/>
					</include>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="13010"/>
					</include>
				</control>

				<!--收藏-->
				<control type="group" id="14000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),favorites)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="favorites"/>
					</include>
					<control type="panel" id="14100">
						<left>56</left>
						<top>-10</top>
						<right>0</right>
						<bottom>0</bottom>
						<onleft>9000</onleft>
						<onright>14100</onright>
						<onup>14100</onup>
						<ondown>14100</ondown>
						<preloaditems>2</preloaditems>
						<scrolltime tween="cubic" easing="out">500</scrolltime>
						<orientation>vertical</orientation>
						<pagecontrol>14010</pagecontrol>
						<visible>Integer.IsGreater(Container(14100).NumItems,0) | Container(14100).IsUpdating</visible>
						<include condition="!Skin.HasSetting(HideHomeMenu)">HomeFavoriteLarge</include><!---->
						<include condition="Skin.HasSetting(HideHomeMenu)">HomeFavoriteSmall</include><!---->
						<content>favourites://</content>
					</control>
					<include content="ImageWidget">
						<param name="text_label" value="$LOCALIZE[31025]" />
						<param name="button_label" value="$LOCALIZE[31116]" />
						<param name="button_onclick" value=""/>
						<param name="button_id" value="5500"/>
						<param name="visible" value="!Integer.IsGreater(Container(14100).NumItems,0) + !Container(14100).IsUpdating"/>
						<param name="visible_1" value="false"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoFavButton)"/>
					</include>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="14010"/>
					</include>
				</control>

				<!--天气-->
				<control type="group" id="15000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),weather)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="weather"/>
					</include>
					<control type="grouplist" id="15001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>15010</pagecontrol>
						<control type="group" id="16678">
							<description>Weather info</description>
							<left>68</left>
							<right>70</right>
							<top>102</top>
							<height>300</height>
							<visible>!String.IsEmpty(Weather.plugin)</visible>
							<control type="image">
								<bottom>90</bottom>
								<width>100%</width>
								<texture border="21">dialogs/dialog-bg.png</texture>
							</control>
							<control type="label">
								<left>840</left>
								<top>60</top>
								<aligny>center</aligny>
								<height>24</height>
								<right>60</right>
								<align>right</align>
								<font>font30_title</font>
								<label>$INFO[Weather.Location]</label>
							</control>
							<control type="label">
								<left>840</left>
								<top>120</top>
								<aligny>center</aligny>
								<height>24</height>
								<right>60</right>
								<align>right</align>
								<font>font14</font>
								<label>$INFO[Weather.Conditions,, ∙ ]$INFO[Weather.Temperature]</label>
							</control>
							<control type="grouplist">
								<top>50</top>
								<left>50</left>
								<right>20</right>
								<orientation>horizontal</orientation>
								<align>left</align>
								<itemgap>-110</itemgap>
								<include content="WeatherIcon" condition="!String.IsEmpty(Weather.Plugin)">
									<param name="label" value="Window(weather).Property(Current.Wind)" />
									<param name="texture" value="icons/weather/wind.png" />
									<param name="header" value="404" />
								</include>
								<include content="WeatherIcon" condition="!String.IsEmpty(Weather.Plugin)">
									<param name="label" value="Window(weather).Property(Current.Humidity)" />
									<param name="texture" value="icons/weather/humidity.png" />
									<param name="header" value="406" />
								</include>
								<include content="WeatherIcon" condition="!String.IsEmpty(Weather.Plugin)">
									<param name="label" value="Window(weather).Property(Current.Precipitation)" />
									<param name="texture" value="icons/weather/rain.png" />
									<param name="header" value="33021" />
								</include>
								<include content="WeatherIcon" condition="!String.IsEmpty(Weather.Plugin)">
									<param name="label" value="Window(weather).Property(Today.Sunrise)" />
									<param name="texture" value="icons/weather/sunrise.png" />
									<param name="header" value="405" />
								</include>
								<include content="WeatherIcon" condition="!String.IsEmpty(Weather.Plugin)">
									<param name="label" value="Window(weather).Property(Today.Sunset)" />
									<param name="texture" value="icons/weather/sunset.png" />
									<param name="header" value="403" />
								</include>
							</control>
						</control>
						<include content="WeatherWidget" condition="!String.IsEmpty(Weather.Plugin)">
							<param name="content_include" value="DailyItems" />
							<param name="list_id" value="15200" />
							<param name="widget_header" value="$LOCALIZE[31019]"/>
							<param name="visible" value="!String.IsEmpty(Window(weather).Property(Daily.IsFetched))" />
						</include>
						<include content="WeatherWidget" condition="!String.IsEmpty(Weather.Plugin)">
							<param name="content_include" value="HourlyItems" />
							<param name="list_id" value="15100" />
							<param name="widget_header" value="$LOCALIZE[33036]"/>
							<param name="visible" value="!String.IsEmpty(Window(weather).Property(Hourly.IsFetched))" />
						</include>
					</control>
					<include content="ImageWidget" condition="String.IsEmpty(Weather.plugin)">
						<param name="text_label" value="$LOCALIZE[31120]" />
						<param name="button_label" value="$LOCALIZE[31121]" />
						<param name="button_onclick" value="ActivateWindow(servicesettings,weather)"/>
						<param name="button_id" value="15300"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoWeatherButton)"/>
					</include>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="15010"/>
					</include>
				</control>

				<!--音乐电视-->
				<control type="group" id="16000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),musicvideos)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="musicvideos"/>
					</include>
					<control type="grouplist" id="16001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>16010</pagecontrol>
						<include content="WidgetListCategories" condition="Library.HasContent(musicvideos) + !Skin.HasSetting(home_no_categories_widget)">
							<param name="content_path" value="library://video/musicvideos/"/>
							<param name="widget_header" value="$LOCALIZE[31148]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="16900"/>
						</include>
						<include content="WidgetListEpisodes" condition="Library.HasContent(musicvideos)">
							<param name="content_path" value="videodb://recentlyaddedmusicvideos/"/>
							<param name="widget_header" value="$LOCALIZE[20390]"/>
							<param name="widget_target" value="videos"/>
							<param name="main_label" value="$INFO[ListItem.Label]" />
							<param name="sub_label" value="$INFO[ListItem.Artist]" />
							<param name="thumb_label" value="$INFO[ListItem.Year]" />
							<param name="fallback_image" value="DefaultMusicSongs.png" />
							<param name="list_id" value="16300"/>
						</include>
						<include content="WidgetListEpisodes" condition="Library.HasContent(musicvideos)">
							<param name="content_path" value="special://skin/playlists/unwatched_musicvideos.xsp"/>
							<param name="widget_header" value="$LOCALIZE[31151]"/>
							<param name="widget_target" value="videos"/>
							<param name="main_label" value="$INFO[ListItem.Label]" />
							<param name="sub_label" value="$INFO[ListItem.Artist]" />
							<param name="thumb_label" value="$INFO[ListItem.Year]" />
							<param name="fallback_image" value="DefaultMusicSongs.png" />
							<param name="list_id" value="16400"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(musicvideos)">
							<param name="content_path" value="special://skin/playlists/random_musicvideo_artists.xsp"/>
							<param name="widget_header" value="$LOCALIZE[31013]"/>
							<param name="widget_target" value="music"/>
							<param name="list_id" value="16200"/>
							<param name="widget_limit" value="10"/>
						</include>
						<include content="WidgetListEpisodes" condition="Library.HasContent(musicvideos)">
							<param name="content_path" value="special://skin/playlists/random_musicvideos.xsp"/>
							<param name="widget_header" value="$LOCALIZE[31152]"/>
							<param name="widget_target" value="videos"/>
							<param name="main_label" value="$INFO[ListItem.Label]" />
							<param name="sub_label" value="$INFO[ListItem.Artist]" />
							<param name="thumb_label" value="$INFO[ListItem.Year]" />
							<param name="fallback_image" value="DefaultMusicSongs.png" />
							<param name="list_id" value="16500"/>
						</include>
						<include content="WidgetListCategories" condition="Library.HasContent(musicvideos)">
							<param name="content_path" value="videodb://musicvideos/studios/"/>
							<param name="widget_header" value="$LOCALIZE[20388]"/>
							<param name="widget_target" value="music"/>
							<param name="list_id" value="16600"/>
							<param name="icon" value="$VAR[WidgetStudioIconVar]"/>
							<param name="icon_height" value="70"/>
						</include>
					</control>
					<include content="ImageWidget" condition="!Library.HasContent(musicvideos)">
						<param name="text_label" value="$LOCALIZE[31104]" />
						<param name="button_label" value="$LOCALIZE[31110]" />
						<param name="button_onclick" value="ActivateWindow(videos,files,return)"/>
						<param name="button_id" value="16800"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoMusicVideoButton)"/>
					</include>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="16010"/>
					</include>
				</control>

				<!--图片-->
				<control type="group" id="4000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),pictures)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="pictures"/>
					</include>
					<control type="grouplist" id="4001">
						<include>WidgetGroupListCommon</include>
						<include content="WidgetListCategories" condition="!Skin.HasSetting(HomeMenuNoPicturesButton)">
							<param name="content_path" value="sources://pictures/"/>
							<param name="widget_header" value="$LOCALIZE[20094]"/>
							<param name="widget_target" value="pictures"/>
							<param name="list_id" value="4100"/>
							<param name="icon_height" value="110"/>
						</include>
					</control>
				</control>

				<!--游戏-->
				<control type="group" id="17000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),games)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="games"/>
					</include>
					<control type="grouplist" id="17001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>17010</pagecontrol>
						<include content="WidgetListSquare">
							<param name="content_path" value="addons://sources/game/"/>
							<param name="widget_header" value="$LOCALIZE[35049]"/>
							<param name="widget_target" value="games"/>
							<param name="sortby" value="lastused"/>
							<param name="sortorder" value="descending"/>
							<param name="list_id" value="17200"/>
							<param name="fallback_icon" value="DefaultAddonGame.png"/>
						</include>
					</control>
					<include content="ImageWidget">
						<param name="text_label" value="$LOCALIZE[31162]" />
						<param name="button_label" value="$LOCALIZE[31144]" />
						<param name="button_onclick" value="ActivateWindow(addonbrowser,addons://all/category.gameaddons,return)"/>
						<param name="button_id" value="17100"/>
						<param name="visible" value="!Integer.IsGreater(Container(17001).NumItems,0)"/>
						<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoGamesButton)"/>
					</include>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="17010"/>
					</include>
				</control>

				<!--光盘-->
				<control type="group" id="21000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),disc)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="disc"/>
					</include>
					<include content="ImageWidget">
						<param name="text_label" value="$INFO[System.DVDLabel]" />
						<param name="button_label" value="$LOCALIZE[341]" />
						<param name="button_onclick" value="PlayDisc"/>
						<param name="button_id" value="21100"/>
						<param name="visible" value="true"/>
						<param name="button2_label" value="$LOCALIZE[13391]"/>
						<param name="button2_onclick" value="EjectTray()"/>
						<param name="button3_label" value="$LOCALIZE[600]"/>
						<param name="button3_onclick" value="RipCD"/>
						<param name="visible_3" value="System.HasMediaAudioCD"/>
					</include>
				</control>
			</control>

			<!--显示菜单项的隐藏按钮-->
			<include condition="Skin.HasSetting(HideHomeMenu)">HomeMenuMouseOverlay</include><!---->

			<!--左侧菜单项-->
			<control type="group">
				<animation effect="slide" end="-522,0" time="300" tween="sine" easing="inout" condition="[!Control.HasFocus(9000) + !ControlGroup(700).HasFocus] + Skin.HasSetting(HideHomeMenu)">Conditional</animation><!---->
				<depth>DepthContentPanel</depth>
				<include>OpenClose_Left</include>

				<!--菜单项背景-->
				<include content="ContentPanel">
					<param name="width" value="522" />
				</include>

				<!--用户菜单项-->
				<control type="fixedlist" id="9000">
					<left>0</left>
					<top>240</top>
					<width>462</width>
					<bottom>-10</bottom>
					<movement>7</movement>
					<focusposition>0</focusposition>
					<onfocus>ClearProperty(listposition,home)</onfocus>
					<onright>SetFocus($INFO[Container(9000).ListItem.Property(menu_id)])</onright>
					<onup>700</onup>
					<ondown>700</ondown>
					<scrolltime tween="cubic" easing="out">500</scrolltime>
					<focusedlayout height="95">
						<control type="group">
							<animation effect="fade" start="100" end="0" time="0">UnFocus</animation>
							<control type="image">
								<left>0</left>
								<top>0</top>
								<width>462</width>
								<height>95</height>
								<texture colordiffuse="button_focus">lists/focus.png</texture>
								<animation effect="fade" start="100" end="0" time="0" condition="[!Control.HasFocus(9000) + !ControlGroup(700).HasFocus] | System.HasActiveModalDialog">Conditional</animation>
							</control>
							<control type="image">
								<left>-3</left>
								<top>1</top>
								<width>95</width>
								<height>95</height>
								<texture colordiffuse="button_focus">$INFO[ListItem.Art(thumb)]</texture>
								<animation effect="fade" start="0" end="100" time="300" reversible="false">Focus</animation>
							</control>
							<control type="image">
								<left>0</left>
								<top>0</top>
								<width>95</width>
								<height>95</height>
								<texture colordiffuse="51FFFFFF">colors/black.png</texture>
								<animation effect="fade" start="100" end="0" time="0" condition="[!Control.HasFocus(9000) + !ControlGroup(700).HasFocus] | System.HasActiveModalDialog">Conditional</animation>
							</control>
						</control>
						<control type="image">
							<left>-3</left>
							<top>1</top>
							<width>95</width>
							<height>95</height>
							<texture>$INFO[ListItem.Art(thumb)]</texture>
						</control>
						<control type="label">
							<left>104</left>
							<top>0</top>
							<height>95</height>
							<width>560</width>
							<aligny>center</aligny>
							<font>font37</font>
							<label>$INFO[ListItem.Label]</label>
							<shadowcolor>text_shadow</shadowcolor>
						</control>
					</focusedlayout>
					<itemlayout height="95">
						<control type="image">
							<left>-3</left>
							<top>1</top>
							<width>95</width>
							<height>95</height>
							<texture colordiffuse="44FFFFFF">$INFO[ListItem.Art(thumb)]</texture>
						</control>
						<control type="label">
							<left>104</left>
							<top>0</top>
							<height>95</height>
							<width>560</width>
							<aligny>center</aligny>
							<font>font37</font>
							<label>$INFO[ListItem.Label]</label>
							<shadowcolor>text_shadow</shadowcolor>
						</control>
					</itemlayout>
					<content>
						<!--自定义菜单项-->
						<include condition="Skin.HasSetting(EnableCustomMenu)">HomeMenuItem</include>

						<!--主菜单项-->
						<!--电影-->
						<item>
							<label>$LOCALIZE[342]</label>
							<onclick condition="Library.HasContent(movies) + Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://movies/,return)</onclick>
							<onclick condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://movies/titles/,return)</onclick>
							<onclick condition="!Library.HasContent(movies)">ActivateWindow(Videos,sources://video/,return)</onclick>
							<property name="menu_id">$NUMBER[5000]</property>
							<thumb>icons/sidemenu/movies.png</thumb>
							<property name="id">movies</property>
							<visible>!Skin.HasSetting(HomeMenuNoMovieButton)</visible>
						</item>

						<!--剧集-->
						<item>
							<label>$LOCALIZE[20343]</label>
							<onclick condition="Library.HasContent(tvshows) + Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://tvshows/,return)</onclick>
							<onclick condition="Library.HasContent(tvshows) + !Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://tvshows/titles/,return)</onclick>
							<onclick condition="!Library.HasContent(tvshows)">ActivateWindow(Videos,sources://video/,return)</onclick>
							<property name="menu_id">$NUMBER[6000]</property>
							<thumb>icons/sidemenu/tv.png</thumb>
							<property name="id">tvshows</property>
							<visible>!Skin.HasSetting(HomeMenuNoTVShowButton)</visible>
						</item>

						<!--音乐-->
						<item>
							<label>$LOCALIZE[2]</label>
							<onclick>ActivateWindow(Music,root,return)</onclick>
							<property name="menu_id">$NUMBER[7000]</property>
							<thumb>icons/sidemenu/music.png</thumb>
							<property name="id">music</property>
							<visible>!Skin.HasSetting(HomeMenuNoMusicButton)</visible>
						</item>

						<!--光盘-->
						<item>
							<label>$LOCALIZE[427]</label>
							<onclick>PlayDisc</onclick>
							<property name="menu_id">$NUMBER[21000]</property>
							<thumb>icons/sidemenu/disc.png</thumb>
							<property name="id">disc</property>
							<visible>System.HasMediaDVD</visible>
						</item>

						<!--音乐电视-->
						<item>
							<label>$LOCALIZE[20389]</label>
							<property name="menu_id">$NUMBER[16000]</property>
							<onclick>ActivateWindow(Videos,musicvideos,return)</onclick>
							<thumb>icons/sidemenu/musicvideos.png</thumb>
							<property name="id">musicvideos</property>
							<visible>!Skin.HasSetting(HomeMenuNoMusicVideoButton)</visible>
						</item>

						<!--电视-->
						<item>
							<label>$LOCALIZE[19020]</label>
							<property name="menu_id">$NUMBER[12000]</property>
							<onclick>ActivateWindow(TVChannels)</onclick>
							<thumb>icons/sidemenu/livetv.png</thumb>
							<property name="id">livetv</property>
							<visible>!Skin.HasSetting(HomeMenuNoTVButton)</visible>
						</item>

						<!--电台-->
						<item>
							<label>$LOCALIZE[19021]</label>
							<property name="menu_id">$NUMBER[13000]</property>
							<onclick>ActivateWindow(RadioChannels)</onclick>
							<thumb>icons/sidemenu/radio.png</thumb>
							<property name="id">radio</property>
							<visible>!Skin.HasSetting(HomeMenuNoRadioButton)</visible>
						</item>

						<!--游戏-->
						<item>
							<label>$LOCALIZE[15016]</label>
							<property name="menu_id">$NUMBER[17000]</property>
							<onclick>ActivateWindow(Games)</onclick>
							<thumb>icons/sidemenu/games.png</thumb>
							<property name="id">games</property>
							<visible>System.GetBool(gamesgeneral.enable) + !Skin.HasSetting(HomeMenuNoGamesButton)</visible>
						</item>

						<!--插件-->
						<item>
							<label>$LOCALIZE[24001]</label>
							<property name="menu_id">$NUMBER[8000]</property>
							<onclick>ActivateWindow(1100)</onclick>
							<thumb>icons/sidemenu/addons.png</thumb>
							<property name="id">addons</property>
							<visible>!Skin.HasSetting(HomeMenuNoProgramsButton)</visible>
						</item>

						<!--图片-->
						<item>
							<label>$LOCALIZE[1]</label>
							<onclick>ActivateWindow(Pictures)</onclick>
							<property name="menu_id">$NUMBER[4000]</property>
							<thumb>icons/sidemenu/pictures.png</thumb>
							<property name="id">pictures</property>
							<visible>!Skin.HasSetting(HomeMenuNoPicturesButton)</visible>
						</item>

						<!--视频-->
						<item>
							<label>$LOCALIZE[3]</label>
							<onclick>ActivateWindow(Videos,root)</onclick>
							<property name="menu_id">$NUMBER[11000]</property>
							<thumb>icons/sidemenu/videos.png</thumb>
							<property name="id">video</property>
							<visible>!Skin.HasSetting(HomeMenuNoVideosButton)</visible>
						</item>

						<!--收藏-->
						<item>
							<label>$LOCALIZE[10134]</label>
							<onclick>ActivateWindow(favourites)</onclick>
							<property name="menu_id">$NUMBER[14000]</property>
							<thumb>icons/sidemenu/favourites.png</thumb>
							<property name="id">favorites</property>
							<visible>!Skin.HasSetting(HomeMenuNoFavButton)</visible>
						</item>

						<!--天气-->
						<item>
							<label>$LOCALIZE[8]</label>
							<onclick condition="!String.IsEmpty(Weather.Plugin)">ActivateWindow(Weather)</onclick>
							<onclick condition="String.IsEmpty(Weather.Plugin)">ReplaceWindow(servicesettings,weather)</onclick>
							<property name="menu_id">$NUMBER[15000]</property>
							<thumb>icons/sidemenu/weather.png</thumb>
							<property name="id">weather</property>
							<visible>!Skin.HasSetting(HomeMenuNoWeatherButton)</visible>
						</item>
					</content>
				</control>

				<!--系统菜单项-->
				<control type="grouplist" id="700">
					<orientation>horizontal</orientation>
					<itemgap>0</itemgap>
					<left>-8</left>
					<width>480</width>
					<height>110</height>
					<top>100</top>
					<onup>SetFocus(9000,99,absolute)</onup>
					<ondown>SetFocus(9000,0,absolute)</ondown>
					<onright>2000</onright>
					<align>justify</align>

					<!--电源-->
					<include content="IconButton">
						<param name="control_id" value="804" />
						<param name="onclick" value="ActivateWindow(shutdownmenu)" />
						<param name="icon" value="icons/power.png" />
						<param name="label" value="$LOCALIZE[33060]" />
					</include>

					<!--设置-->
					<include content="IconButton">
						<param name="control_id" value="802" />
						<param name="onclick" value="ActivateWindow(settings)" />
						<param name="icon" value="icons/settings.png" />
						<param name="label" value="$LOCALIZE[21417]" />
					</include>

					<!--搜索-->
					<include content="IconButton">
						<param name="control_id" value="801" />
						<param name="onclick" value="ActivateWindow(1107)" />
						<param name="icon" value="icons/search.png" />
						<param name="label" value="$LOCALIZE[137]" />
					</include>

					<!--全屏-->
					<include content="IconButton">
						<param name="control_id" value="803" />
						<param name="onclick" value="Fullscreen" />
						<param name="icon" value="icons/now-playing/fullscreen.png" />
						<param name="label" value="$LOCALIZE[31000]" />
						<param name="visible" value="Player.HasMedia" />
					</include>
				</control>
			</control>

			<!--底栏-->
			<include>BottomBar</include>

			<!--媒体标示-->
			<control type="group">
				<depth>DepthBars</depth>
				<bottom>0</bottom>
				<height>70</height>
				<animation effect="fade" start="0" end="100" time="300" delay="300">WindowOpen</animation>
				<animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
				<include condition="!Skin.HasSetting(hide_mediaflags)" content="MediaFlags">
					<param name="infolabel_prefix" value="Container." />
					<param name="resolution_var" value="$VAR[ContainerResolutionFlagVar]" />
				</include>
				<control type="rss">
					<animation effect="slide" end="0,90" time="300" tween="sine" easing="inout" condition="$EXP[infodialog_active]">conditional</animation>
					<left>0</left>
					<bottom>0</bottom>
					<height>39</height>
					<width>100%</width>
					<font>font12</font>
					<urlset>1</urlset>
					<hitrect x="-100" y="0" w="1" h="1" />
					<titlecolor>button_focus</titlecolor>
					<textcolor>button_focus</textcolor>
					<shadowcolor>text_shadow</shadowcolor>
					<headlinecolor>FFC0C0C0</headlinecolor>
					<visible>Skin.HasSetting(hide_mediaflags) | !ControlGroup(2000).HasFocus</visible>
					<animation effect="fade" time="300">VisibleChange</animation>
				</control>
			</control>

			<!--顶栏-->
			<include content="TopBar">
				<param name="breadcrumbs_label" value="" />
			</include>

			<!--kodi标志-->
			<control type="group">
				<depth>DepthBars</depth>
				<animation effect="slide" end="0,-90" time="300" tween="sine" easing="inout" condition="$EXP[infodialog_active]">conditional</animation>
				<animation effect="fade" start="0" end="100" time="300">WindowOpen</animation>
				<animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
				<top>30</top>
				<left>125</left>
				<control type="image">
					<aspectratio>keep</aspectratio>
					<width>56</width>
					<height>56</height>
					<texture colordiffuse="button_focus">icons/logo.png</texture>
				</control>
				<control type="image">
					<left>40</left>
					<top>10</top>
					<aspectratio>keep</aspectratio>
					<width>192</width>
					<height>36</height>
					<texture>icons/logo-text.png</texture>
				</control>
			</control>
		</control>
	</controls>
</window>
