<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>9000</defaultcontrol>
	<backgroundcolor>background</backgroundcolor>
	<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">
				<left>462</left>
				<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>
				<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 content="WidgetListCategories" condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_movies_categories_widget)">
							<param name="content_path" value="library://video/movies/"/>
							<param name="additional_movie_items" value="true"/>
							<param name="widget_header" value="$LOCALIZE[31148]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="5900"/>
						</include>
						<include content="WidgetListPoster" condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_movies_inprogress_widget)">
							<param name="content_path" value="special://skin/playlists/inprogress_movies.xsp"/>
							<param name="widget_header" value="$LOCALIZE[31010]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="5100"/>
						</include>
						<include content="WidgetListPoster" condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_movies_recentlyadded_widget)">
							<param name="content_path" value="special://skin/playlists/recent_unwatched_movies.xsp"/>
							<param name="widget_header" value="$LOCALIZE[20386]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="5200"/>
						</include>
						<include content="WidgetListPoster" condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_movies_unwatched_widget)">
							<param name="content_path" value="special://skin/playlists/unwatched_movies.xsp"/>
							<param name="widget_header" value="$LOCALIZE[31007]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="5300"/>
						</include>
						<include content="WidgetListPoster" condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_movies_random_widget)">
							<param name="content_path" value="special://skin/playlists/random_movies.xsp"/>
							<param name="widget_header" value="$LOCALIZE[31006]"/>
							<param name="widget_target" value="videos"/>
							<param name="browse_mode" value="never"/>
							<param name="list_id" value="5400"/>
						</include>
						<include content="WidgetListCategories" condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_movies_genres_widget)">
							<param name="content_path" value="videodb://movies/genres/"/>
							<param name="widget_header" value="$LOCALIZE[135]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="5500"/>
							<param name="icon" value="$VAR[WidgetGenreIconVar]"/>
							<param name="icon_height" value="70"/>
						</include>
						<include content="WidgetListPoster" condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_movies_sets_widget)">
							<param name="content_path" value="videodb://movies/sets/"/>
							<param name="widget_header" value="$LOCALIZE[31075]"/>
							<param name="widget_target" value="videos"/>
							<param name="sortby" value="random"/>
							<param name="list_id" value="5600"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[MovieSetOnClickActionVar]"/>
						</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 content="WidgetListCategories" condition="Library.HasContent(tvshows) + !Skin.HasSetting(home_no_tvshows_categories_widget)">
							<param name="content_path" value="library://video/tvshows/"/>
							<param name="additional_tvshow_items" value="true"/>
							<param name="widget_header" value="$LOCALIZE[31148]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="6900"/>
						</include>
						<include content="WidgetListPoster" condition="Library.HasContent(tvshows) + !Skin.HasSetting(home_no_tvshows_inprogress_widget)">
							<param name="content_path" value="videodb://inprogresstvshows"/>
							<param name="sortby" value="lastplayed"/>
							<param name="sortorder" value="descending"/>
							<param name="widget_header" value="$LOCALIZE[626]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="6100"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[TVShowOnClickActionVar]"/>
						</include>
						<include content="WidgetListEpisodes" condition="Library.HasContent(tvshows) + !Skin.HasSetting(home_no_tvshows_recentlyaddedepisodes_widget)">
							<param name="content_path" value="special://skin/playlists/recent_unwatched_episodes.xsp"/>
							<param name="widget_header" value="$LOCALIZE[20387]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="6200"/>
						</include>
						<include content="WidgetListPoster" condition="Library.HasContent(tvshows) + !Skin.HasSetting(home_no_tvshows_unwatched_widget)">
							<param name="content_path" value="special://skin/playlists/unwatched_tvshows.xsp"/>
							<param name="widget_header" value="$LOCALIZE[31122]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="6300"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[TVShowOnClickActionVar]"/>
						</include>
						<include content="WidgetListCategories" condition="Library.HasContent(tvshows) + !Skin.HasSetting(home_no_tvshows_genres_widget)">
							<param name="content_path" value="videodb://tvshows/genres/"/>
							<param name="widget_header" value="$LOCALIZE[135]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="6400"/>
							<param name="icon" value="$VAR[WidgetGenreIconVar]"/>
							<param name="icon_height" value="70"/>
						</include>
						<include content="WidgetListCategories" condition="Library.HasContent(tvshows) + !Skin.HasSetting(home_no_tvshows_studios_widget)">
							<param name="content_path" value="videodb://tvshows/studios/"/>
							<param name="widget_header" value="$LOCALIZE[20388]"/>
							<param name="widget_target" value="videos"/>
							<param name="list_id" value="6500"/>
							<param name="icon" value="$VAR[WidgetStudioIconVar]"/>
							<param name="icon_height" value="70"/>
						</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_music_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) + !Skin.HasSetting(home_no_music_recentlyplayedalbums_widget)">
							<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"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[AlbumOnClickActionVar]"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(music) + !Skin.HasSetting(home_no_music_recentalbums_widget)">
							<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"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[AlbumOnClickActionVar]"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(music) + !Skin.HasSetting(home_no_music_randomalbums_widget)">
							<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="browse_mode" value="never"/>
							<param name="list_id" value="7300"/>
							<param name="fallback_icon" value="DefaultMusicAlbums.png"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[AlbumOnClickActionVar]"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(music) + !Skin.HasSetting(home_no_music_randomartists_widget)">
							<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="browse_mode" value="never"/>
							<param name="list_id" value="7400"/>
							<param name="fallback_icon" value="DefaultMusicArtists.png"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(music) + !Skin.HasSetting(home_no_music_unplayedalbums_widget)">
							<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"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[AlbumOnClickActionVar]"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(music) + !Skin.HasSetting(home_no_music_mostplayedalbums_widget)">
							<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"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[AlbumOnClickActionVar]"/>
						</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_addons_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="$VAR[WidgetPlaylistIconVar]"/>
						</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>
						<include content="WidgetListCategories" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_tv_categories_widget)">
							<param name="content_path" value="pvr://tv/"/>
							<param name="widget_header" value="$LOCALIZE[31148]"/>
							<param name="list_id" value="12900"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_tv_recentlyplayed_widget)">
							<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="tvchannels"/>
							<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 + !Skin.HasSetting(home_no_tv_recentrecordings_widget)">
							<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="tvrecordings"/>
							<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[SeasonEpisodeAndNameLabel]"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_tv_timers_widget)">
							<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[SeasonEpisodeAndNameLabel]"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_tv_channelgroups_widget)">
							<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 + !Skin.HasSetting(home_no_tv_savedsearches_widget)">
							<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>
						<include content="WidgetListPVR" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_tv_recentlyaddedchannels_widget)">
							<param name="content_path" value="pvr://channels/tv/*?view=dateadded"/>
							<param name="sortby" value="dateadded"/>
							<param name="sortorder" value="descending"/>
							<param name="widget_header" value="$LOCALIZE[855]"/>
							<param name="widget_target" value="tvchannels"/>
							<param name="item_limit" value="15"/>
							<param name="list_id" value="12700"/>
							<param name="info_update" value="5000"/>
							<param name="label2" value="$INFO[ListItem.DateAdded]"/>
						</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>
					<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>
						<include content="WidgetListCategories" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_radio_categories_widget)">
							<param name="content_path" value="pvr://radio/"/>
							<param name="widget_header" value="$LOCALIZE[31148]"/>
							<param name="list_id" value="13900"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_radio_recentlyplayed_widget)">
							<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="radiochannels"/>
							<param name="item_limit" value="15"/>
							<param name="list_id" value="13200"/>
							<param name="info_update" value="5000"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_radio_recentrecordings_widget)">
							<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="radiorecordings"/>
							<param name="item_limit" value="15"/>
							<param name="list_id" value="13300"/>
							<param name="label" value="$INFO[ListItem.Title]$INFO[ListItem.Date, (,)]"/>
							<param name="label2" value="$VAR[SeasonEpisodeAndNameLabel]"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_radio_timers_widget)">
							<param name="content_path" value="pvr://timers/radio/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="radiotimers"/>
							<param name="item_limit" value="15"/>
							<param name="list_id" value="13400"/>
							<param name="label" value="$INFO[ListItem.Title]$INFO[ListItem.Date, (,)]"/>
							<param name="label2" value="$VAR[SeasonEpisodeAndNameLabel]"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_radio_channelgroups_widget)">
							<param name="content_path" value="pvr://channels/radio"/>
							<param name="widget_header" value="$LOCALIZE[19174]"/>
							<param name="widget_target" value="radioguide"/>
							<param name="list_id" value="13500"/>
							<param name="item_treshold" value="1"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_radio_savedsearches_widget)">
							<param name="content_path" value="pvr://search/radio/savedsearches"/>
							<param name="sortorder" value="descending"/>
							<param name="sortby" value="date"/>
							<param name="widget_header" value="$LOCALIZE[19337]"/>
							<param name="widget_target" value="radiosearch"/>
							<param name="list_id" value="13600"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_radio_recentlyaddedchannels_widget)">
							<param name="content_path" value="pvr://channels/radio/*?view=dateadded"/>
							<param name="sortby" value="dateadded"/>
							<param name="sortorder" value="descending"/>
							<param name="widget_header" value="$LOCALIZE[855]"/>
							<param name="widget_target" value="radiochannels"/>
							<param name="item_limit" value="15"/>
							<param name="list_id" value="13700"/>
							<param name="info_update" value="5000"/>
							<param name="label2" value="$INFO[ListItem.DateAdded]"/>
						</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="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>65</left>
						<top>0</top>
						<right>0</right>
						<bottom>0</bottom>
						<onleft>9000</onleft>
						<onright>9000</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>
						<itemlayout width="330" height="401">
							<control type="group">
								<top>130</top>
								<include content="InfoWallMusicLayout">
									<param name="fallback_image" value="DefaultFavourites.png" />
									<param name="focused" value="false" />
								</include>
							</control>
						</itemlayout>
						<focusedlayout width="330" height="401">
							<control type="group">
								<depth>DepthContentPopout</depth>
								<top>130</top>
								<animation effect="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="170,320">Focus</animation>
								<animation effect="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="170,320">UnFocus</animation>
								<include content="InfoWallMusicLayout">
									<param name="fallback_image" value="DefaultFavourites.png" />
									<param name="focused" value="true" />
								</include>
							</control>
						</focusedlayout>
						<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>360</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="group">
								<visible>!Weather.IsFetched + Weather.IsUpdating</visible>
								<top>90</top>
								<left>600</left>
								<control type="image">
									<width>100</width>
									<height>100</height>
									<aspectratio aligny="center">keep</aspectratio>
									<texture colordiffuse="black">dialogs/extendedprogress/loading-back.png</texture>
								</control>
								<control type="image">
									<width>100</width>
									<height>100</height>
									<aspectratio aligny="center">keep</aspectratio>
									<texture>dialogs/extendedprogress/loading.png</texture>
									<animation effect="rotate" center="auto" start="360" end="0" time="1500" loop="true" condition="true">Conditional</animation>
								</control>
							</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.Data(Current.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.Data(Current.Condition)]</label>
							</control>
							<control type="label">
								<left>840</left>
								<top>180</top>
								<aligny>center</aligny>
								<height>24</height>
								<right>60</right>
								<align>right</align>
								<font>font14</font>
								<label>$INFO[Weather.Data(Current.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="WeatherIconHome" condition="!String.IsEmpty(Weather.Plugin)">
									<param name="label" value="Weather.Data(Current.Wind)" />
									<param name="texture" value="icons/weather/wind.png" />
									<param name="header" value="404" />
								</include>
								<include content="WeatherIconHome" condition="!String.IsEmpty(Weather.Plugin)">
									<param name="label" value="Weather.Data(Current.Humidity)" />
									<param name="texture" value="icons/weather/humidity.png" />
									<param name="header" value="406" />
								</include>
								<include content="WeatherIconHome" condition="!String.IsEmpty(Weather.Plugin)">
									<param name="label" value="Weather.Data(Current.Precipitation)" />
									<param name="texture" value="icons/weather/rain.png" />
									<param name="header" value="33021" />
								</include>
								<include content="WeatherIconHome" condition="!String.IsEmpty(Weather.Plugin)">
									<param name="label" value="Weather.Data(Today.Sunrise)" />
									<param name="texture" value="icons/weather/sunrise.png" />
									<param name="header" value="405" />
								</include>
								<include content="WeatherIconHome" condition="!String.IsEmpty(Weather.Plugin)">
									<param name="label" value="Weather.Data(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(Weather.Data(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(Weather.Data(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_musicvideos_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) + !Skin.HasSetting(show_musicvideoposter) + !Skin.HasSetting(home_no_musicvideos_recentlyadded_widget)">
							<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="WidgetListPoster" condition="Library.HasContent(musicvideos) + Skin.HasSetting(show_musicvideoposter) + !Skin.HasSetting(home_no_musicvideos_recentlyadded_widget)">
							<param name="content_path" value="videodb://recentlyaddedmusicvideos/"/>
							<param name="widget_header" value="$LOCALIZE[20390]"/>
							<param name="widget_target" value="videos"/>
							<param name="fallback_image" value="DefaultMusicSongs.png" />
							<param name="list_id" value="16300"/>
						</include>
						<include content="WidgetListEpisodes" condition="Library.HasContent(musicvideos) + !Skin.HasSetting(show_musicvideoposter) + !Skin.HasSetting(home_no_musicvideos_unwatched_widget)">
							<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="WidgetListPoster" condition="Library.HasContent(musicvideos) + Skin.HasSetting(show_musicvideoposter) + !Skin.HasSetting(home_no_musicvideos_unwatched_widget)">
							<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="fallback_image" value="DefaultMusicSongs.png" />
							<param name="list_id" value="16400"/>
						</include>
						<include content="WidgetListSquare" condition="Library.HasContent(musicvideos) + !Skin.HasSetting(home_no_musicvideos_randomartists_widget)">
							<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="browse_mode" value="never"/>
							<param name="list_id" value="16200"/>
							<param name="widget_limit" value="10"/>
						</include>
						<include content="WidgetListEpisodes" condition="Library.HasContent(musicvideos) + !Skin.HasSetting(show_musicvideoposter) + !Skin.HasSetting(home_no_musicvideos_random_widget)">
							<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="WidgetListPoster" condition="Library.HasContent(musicvideos) + Skin.HasSetting(show_musicvideoposter) + !Skin.HasSetting(home_no_musicvideos_random_widget)">
							<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="browse_mode" value="never"/>
							<param name="fallback_image" value="DefaultMusicSongs.png" />
							<param name="list_id" value="16500"/>
						</include>
						<include content="WidgetListCategories" condition="Library.HasContent(musicvideos) + !Skin.HasSetting(home_no_musicvideos_studios_widget)">
							<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://default_binary_addons_source/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[13424]" />
						<param name="button2_onclick" value="PlayPlaylist"/>
						<param name="visible_2" value="System.HasMediaBlurayPlaylist"/>
						<param name="button3_label" value="$LOCALIZE[13391]"/>
						<param name="button3_onclick" value="EjectTray()"/>
						<param name="visible_3" value="true"/>
						<param name="button4_label" value="$LOCALIZE[600]"/>
						<param name="button4_onclick" value="RipCD"/>
						<param name="visible_4" value="System.HasMediaAudioCD"/>
					</include>
				</control>
			</control>
			<control type="group">
				<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>
						<item>
							<label>$LOCALIZE[342]</label>
							<onclick condition="Library.HasContent(movies) + Skin.HasSetting(home_no_movies_categories_widget) + !System.GetBool(myvideos.flatten)">ActivateWindow(Videos,videodb://movies/,return)</onclick>
							<onclick condition="Library.HasContent(movies) + Skin.HasSetting(home_no_movies_categories_widget) + System.GetBool(myvideos.flatten)">ActivateWindow(Videos,videodb://movies/titles/,return)</onclick>
							<onclick condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_movies_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_tvshows_categories_widget) + !System.GetBool(myvideos.flatten)">ActivateWindow(Videos,videodb://tvshows/,return)</onclick>
							<onclick condition="Library.HasContent(tvshows) + Skin.HasSetting(home_no_tvshows_categories_widget) + System.GetBool(myvideos.flatten)">ActivateWindow(Videos,videodb://tvshows/titles/,return)</onclick>
							<onclick condition="Library.HasContent(tvshows) + !Skin.HasSetting(home_no_tvshows_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(favouritesbrowser)</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 + !Player.IsRemote" />
					</include>
					<include content="IconButton">
						<param name="control_id" value="805" />
						<param name="onclick" value="ActivateWindow(playercontrols)" />
						<param name="icon" value="icons/now-playing/fullscreen.png" />
						<param name="label" value="$LOCALIZE[31000]" />
						<param name="visible" value="Player.HasMedia + Player.IsRemote + !Player.HasAudio" />
					</include>
				</control>
			</control>
			<include>BottomBar</include>
			<control type="group">
				<depth>DepthBars</depth>
				<bottom>10</bottom>
				<height>40</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)">MediaFlags</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>
			<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>90</left>
				<control type="image">
					<left>4</left>
					<top>0</top>
					<aspectratio>keep</aspectratio>
					<width>192</width>
					<height>56</height>
					<texture>special://xbmc/media/vendor_logo.png</texture>
				</control>
			</control>
		</control>
	</controls>
</window>
