<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>9000</defaultcontrol>
	<backgroundcolor>background</backgroundcolor>
	<onload condition="!Skin.HasSetting(firsttimerun)">ActivateWindow(1112)</onload>
  <onload condition="Skin.HasSetting(firsttimerun)">RunScript(script.fentastic.helper,mode=check_for_update&amp;skin_id=skin.fentastic)</onload>
	<onload>RunScript(script.fentastic.helper,mode=check_for_profile_change&amp;skin_id=skin.fentastic)</onload>
  <onload condition="String.IsEmpty(Window(Home).Property(fentastic.starting_widgets))">RunScript(script.fentastic.helper,mode=starting_widgets)</onload>
  <onload condition="String.IsEmpty(Window(Home).Property(fentastic.starting_widgets))">SetProperty(fentastic.starting_widgets,true)</onload>
	<onload>RunScript(script.fentastic.helper,mode=modify_keymap)</onload>
	<onload>RunScript(script.fentastic.helper,mode=fix_black_screen)</onload>
	<onload condition="String.IsEmpty(Skin.String(current_search_provider))">Skin.SetString(current_search_provider,0)</onload>
	<onload condition="String.IsEmpty(Skin.String(DefaultBackgroundBrightness))">Skin.SetString(DefaultBackgroundBrightness,Medium)</onload>
	<onload condition="String.IsEmpty(Skin.String(DefaultFanartBrightness))">Skin.SetString(DefaultFanartBrightness,Medium)</onload>
	<controls>
		<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>
			<!-- WIDGETS GROUP -->
			<control type="group" id="2000">
				<left>462</left>
				<include>OpenClose_Right</include>
				<visible>!Skin.HasSetting(TrailerPlaying)</visible>
				<animation effect="slide" time="700" start="1380,0" end="0,0" tween="sine" easing="inout">VisibleChange</animation>
				<control type="group" id="27000">
					<visible>false</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="addons"/>
					</include>
					<control type="grouplist" id="27001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>27010</pagecontrol>
						<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="27100"/>
							<param name="fallback_icon" value="DefaultAddon.png"/>
						</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="27300"/>
							<param name="fallback_icon" value="DefaultAddon.png"/>
						</include>
					</control>
				</control>
				<!-- MOVIES -->
				<control type="group" id="19000">
					<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="19001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>19099</pagecontrol>
						<include content="MovieWidgets" condition="!Skin.HasSetting(HomeMenuNoMoviesButton)" />
					</control>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="19099"/>
					</include>
				</control>
				<!-- TV SHOWS -->
				<control type="group" id="22000">
					<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="22001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>22099</pagecontrol>
						<include content="TVShowWidgets" condition="!Skin.HasSetting(HomeMenuNoTVShowsButton)" />
					</control>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="22099"/>
					</include>
				</control>
				<!-- CUSTOM 1 -->
				<control type="group" id="23000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),custom1)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="custom1"/>
					</include>
					<control type="grouplist" id="23001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>23099</pagecontrol>
						<include content="Custom1Widgets" condition="!Skin.HasSetting(HomeMenuNoCustom1Button)" />
					</control>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="23099"/>
					</include>
				</control>
				<!-- CUSTOM 2 -->
				<control type="group" id="24000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),custom2)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="custom2"/>
					</include>
					<control type="grouplist" id="24001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>24099</pagecontrol>
						<include content="Custom2Widgets" condition="!Skin.HasSetting(HomeMenuNoCustom2Button)" />
					</control>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="24099"/>
					</include>
				</control>
				<!-- CUSTOM 3 -->
				<control type="group" id="25000">
					<visible>String.IsEqual(Container(9000).ListItem.Property(id),custom3)</visible>
					<include content="Visible_Right_Delayed">
						<param name="id" value="custom3"/>
					</include>
					<control type="grouplist" id="25001">
						<include>WidgetGroupListCommon</include>
						<pagecontrol>25099</pagecontrol>
						<include content="Custom3Widgets" condition="!Skin.HasSetting(HomeMenuNoCustom3Button)" />
					</control>
					<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
						<param name="scrollbar_id" value="25099"/>
					</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="WidgetListCategory" 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"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[AlbumOnClickActionVar]"/>
						</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"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[AlbumOnClickActionVar]"/>
						</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"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[AlbumOnClickActionVar]"/>
						</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"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[AlbumOnClickActionVar]"/>
						</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"/>
							<param name="onclick_condition" value="true"/>
							<param name="onclick_action" value="$VAR[AlbumOnClickActionVar]"/>
						</include>
					</control>
					<include content="ImageWidget" condition="!Library.HasContent(music)">
						<param name="left">50</param>
						<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="WidgetListCategory" 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="left">50</param>
						<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="WidgetListCategory">
							<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="WidgetListCategory">
							<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="WidgetListCategory">
							<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="left">50</param>
						<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="WidgetListCategory" condition="System.HasPVRAddon + !Skin.HasSetting(home_no_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">
							<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="left">50</param>
						<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="WidgetListCategory" condition="System.HasPVRAddon">
							<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">
							<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="item_limit" value="15"/>
							<param name="list_id" value="13200"/>
							<param name="info_update" value="5000"/>
						</include>
						<include content="WidgetListPVR" 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="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[SeasonEpisodeLabel]$INFO[ListItem.EpisodeName]"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon">
							<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[SeasonEpisodeLabel]$INFO[ListItem.EpisodeName]"/>
						</include>
						<include content="WidgetListPVR" condition="System.HasPVRAddon">
							<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">
							<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>
					</control>
					<include content="ImageWidget" condition="!System.HasPVRAddon">
						<param name="text_label" value="$LOCALIZE[31143]" />
						<param name="left">50</param>
						<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>33</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="280" height="365">
							<control type="group">
								<top>130</top>
								<include content="InfoWallMusicLayout">
									<param name="fallback_image" value="DefaultFavourites.png" />
									<param name="list_id" value="14100" />
									<param name="focused" value="false" />
								</include>
							</control>
						</itemlayout>
						<focusedlayout width="280" height="365">
							<control type="group">
								<depth>DepthContentPopout</depth>
								<top>130</top>
								<include content="InfoWallMusicLayout">
									<param name="fallback_image" value="DefaultFavourites.png" />
									<param name="list_id" value="14100" />
									<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="left">50</param>
						<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">
								<top>20</top>
								<left>20</left>
								<height>220</height>
								<bottom>90</bottom>
								<width>97%</width>
								<texture colordiffuse="button_focus2" border="21">masks/settingspanel-unfocused.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>
								<textcolor>unfocused_text</textcolor>
							</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]</label>
								<textcolor>unfocused_text</textcolor>
							</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.Temperature]</label>
								<textcolor>unfocused_text</textcolor>
							</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="Window(weather).Property(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="Window(weather).Property(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="Window(weather).Property(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="Window(weather).Property(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="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="left">50</param>
						<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">
						<pagecontrol>16010</pagecontrol>
						<include content="WidgetListCategory" 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) + !Skin.HasSetting(show_musicvideoposter)">
							<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)">
							<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)">
							<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)">
							<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)">
							<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) + !Skin.HasSetting(show_musicvideoposter)">
							<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)">
							<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="fallback_image" value="DefaultMusicSongs.png" />
							<param name="list_id" value="16500"/>
						</include>
						<include content="WidgetListCategory" 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="left">50</param>
						<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="WidgetListCategory" 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="left">50</param>
						<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="left">50</param>
						<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 content="TopBar">
				<param name="breadcrumbs_label" value="" />
			</include>
			<include>BottomBar</include>
			<control type="group">
				<visible>!Skin.HasSetting(TrailerPlaying)</visible>
				<animation effect="slide" time="700" start="-492,0" end="0,0" tween="sine" easing="inout">VisibleChange</animation>
				<depth>DepthContentPanel</depth>
				<include>OpenClose_Left</include>
				<include content="ContentPanel">
					<param name="width" value="900" />
				</include>
				<control type="group">
					<animation effect="slide" time="300" start="-492,0" end="0,0" tween="sine" easing="inout">VisibleChange</animation>
					<visible allowhiddenfocus="true">![String.IsEqual(ListItem.DBtype,movie) | String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,season) | String.IsEqual(ListItem.DBtype,episode)]</visible>
					<!-- TODO Add sideblade panel for direct editing of widgets, hiding sections, other shortcuts -->
					<control type="fixedlist" id="9000">
						<left>25</left>
						<top>240</top>
            <width>492</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>
							<!-- SideMenu Focused Icons -->
							<control type="label">
								<include>FocusBounce</include>
								<left>65</left>
								<top>0</top>
								<height>95</height>
								<width>315</width>
								<aligny>center</aligny>
								<font>font45</font>
								<textcolor>darkgrey</textcolor>
								<label>$INFO[ListItem.Label]</label>
								<shadowcolor>text_shadow</shadowcolor>
								<visible>ControlGroup(700).HasFocus</visible>
							</control>
							<control type="label">
								<include>FocusBounce</include>
								<left>65</left>
								<top>0</top>
								<height>95</height>
								<width>315</width>
								<aligny>center</aligny>
								<font>font52_title</font>
								<label>$INFO[ListItem.Label]</label>
								<textcolor>unfocused_text</textcolor>
								<shadowcolor>text_shadow</shadowcolor>
								<visible>!ControlGroup(700).HasFocus</visible>
							</control>
						</focusedlayout>
						<itemlayout height="90">
							<control type="label">
								<left>65</left>
								<top>0</top>
								<height>95</height>
								<width>315</width>
								<aligny>center</aligny>
								<font>font45</font>
								<textcolor>darkgrey</textcolor>
								<label>$INFO[ListItem.Label]</label>
								<shadowcolor>text_shadow</shadowcolor>
							</control>
						</itemlayout>
						<content>
							<!-- MOVIES 19000 -->
							<include content="MoviesMainMenu" condition="!Skin.HasSetting(HomeMenuNoMoviesButton)" />
							<!-- TVSHOWS 22000 -->
							<include content="TVShowsMainMenu" condition="!Skin.HasSetting(HomeMenuNoTVShowsButton)" />
							<!-- CUSTOM 1 23000 -->
							<include content="Custom1MainMenu" condition="!Skin.HasSetting(HomeMenuNoCustom1Button)" />
							<!-- CUSTOM 2 24000 -->
							<include content="Custom2MainMenu" condition="!Skin.HasSetting(HomeMenuNoCustom2Button)" />
							<!-- CUSTOM 3 25000 -->
							<include content="Custom3MainMenu" condition="!Skin.HasSetting(HomeMenuNoCustom3Button)" />
							<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>Live TV</label>
								<property name="menu_id">$NUMBER[12000]</property>
								<onclick>ActivateWindow(TVGuide)</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>45</left>
						<width>380</width>
						<height>110</height>
						<top>115</top>
						<onup>SetFocus(9000,99,absolute)</onup>
						<ondown>SetFocus(9000,0,absolute)</ondown>
						<onright>2000</onright>
						<align>justify</align>
						<include content="IconButton" condition="Skin.HasSetting(OneClickClose)">
							<param name="control_id" value="801" />
							<param name="onclick" value="Quit()" />
							<param name="icon" value="icons/power.png" />
							<param name="label" value="$LOCALIZE[33060]" />
						</include>
						<include content="IconButton" condition="!Skin.HasSetting(OneClickClose)">
							<param name="control_id" value="802" />
							<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="803" />
							<param name="onclick" value="ActivateWindow(settings)" />
							<param name="icon" value="icons/settings.png" />
							<param name="label" value="$LOCALIZE[21417]" />
						</include>
						<include content="IconButton" condition="Skin.HasSetting(NoSearchResultsWindow)">
							<param name="control_id" value="804" />
							<param name="onclick" value="ActivateWindow(1107)" />
							<param name="icon" value="icons/search.png" />
							<param name="label" value="$LOCALIZE[137]" />
						</include>
						<include content="IconButton" condition="!Skin.HasSetting(NoSearchResultsWindow) + Skin.HasSetting(DefaultSearchWindowBehavior)">
							<param name="control_id" value="805" />
							<param name="onclick" value="RunScript(script.fentastic.helper,mode=search_input)" />
							<param name="icon" value="icons/search.png" />
							<param name="label" value="$LOCALIZE[137]" />
						</include>
						<include content="IconButton" condition="!Skin.HasSetting(NoSearchResultsWindow) + !Skin.HasSetting(DefaultSearchWindowBehavior)">
							<param name="control_id" value="806" />
							<param name="onclick" value="RunScript(script.fentastic.helper,mode=open_search_window)" />
							<param name="icon" value="icons/search.png" />
							<param name="label" value="$LOCALIZE[137]" />
						</include>
						<include content="IconButton">
							<param name="control_id" value="807" />
							<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>

				<control type="group">
					<animation effect="slide" time="300" start="-492,0" end="0,0" tween="sine" easing="inout">VisibleChange</animation>
					<width>550</width>
					<visible>String.IsEqual(ListItem.DBtype,movie) | String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,season) | String.IsEqual(ListItem.DBtype,episode)</visible>
					<include>OpenClose_Left</include>
					<control type="image">
						<left>30</left>
						<top>50</top>
						<width>395</width>
						<height>153</height>
						<texture background="true">$VAR[ClearlogoVar]</texture>
						<aspectratio align="center">keep</aspectratio>
					</control>
					<control type="textbox">
						<top>75</top>
						<left>30</left>
						<width>430</width>
						<aligny>center</aligny>
						<height>98</height>
						<font>font36_title</font>
						<label>$INFO[ListItem.Label]</label>
						<visible>String.IsEmpty(ListItem.Art(clearlogo))</visible>
					</control>
					<control type="group">
						<visible>Skin.HasSetting(Disable.RatingsINF) | String.IsEmpty(Skin.String(mdblist_api_key))</visible>
						<control type="textbox">
							<left>30</left>
							<top>239</top>
							<width>410</width>
							<bottom>60</bottom>
							<label>$VAR[InfoPanel]</label>
							<textcolor>unfocused_text</textcolor>
							<autoscroll delay="10000" time="3000" repeat="10000">Skin.HasSetting(autoscroll)</autoscroll>
						</control>
						<control type="textbox">
							<left>30</left>
							<top>323</top>
							<width>410</width>
							<bottom>60</bottom>
							<label>$VAR[InfoPanelEpisode]</label>
							<textcolor>unfocused_text</textcolor>
							<autoscroll delay="10000" time="3000" repeat="10000">Skin.HasSetting(autoscroll)</autoscroll>
						</control>
						<control type="textbox">
							<left>30</left>
							<top>213</top>
							<width>410</width>
							<aligny>center</aligny>
							<height>110</height>
							<bottom>60</bottom>
							<font>font36_title</font>
							<label>Season $INFO[ListItem.Season], Episode $INFO[ListItem.Episode]</label>
							<visible>String.IsEqual(ListItem.DbType,episode)</visible>
						</control>
					</control>
					<include condition="![Skin.HasSetting(Disable.RatingsINF) | String.IsEmpty(Skin.String(mdblist_api_key))]" content="RatingsInfoPanel">
						<param name="left" value="30" />
						<param name="width" value="410" />
						<param name="top" value="239" />
						<param name="ratings_spacing" value="7" />
						<param name="height_noalt" value="460" />
						<param name="height_alt_movie" value="330" />
						<param name="height_alt_tvshow" value="290" />
					</include>
					<!-- <control type="textbox">
						<left>30</left>
						<top>467</top>
						<width>530</width>
						<height>413</height>
						<align>center</align>
						<aligny>center</aligny>
						<font>font27</font>
						<textcolor>80FFFFFF</textcolor>
						<label>$LOCALIZE[19055]</label>
						<visible>String.IsEmpty(Listitem.Plot) + String.IsEmpty(Listitem.Tagline) + !ListItem.IsCollection + !ListItem.IsParentFolder</visible>
					</control> -->
				</control>
			</control>
			<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>
			<control type="group">
        <animation effect="slide" time="300" start="-492,0" end="0,0" tween="sine" easing="inout">VisibleChange</animation>
        <visible>![String.IsEqual(ListItem.DBtype,movie) | String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,season) | String.IsEqual(ListItem.DBtype,episode)] + !Skin.HasSetting(TrailerPlaying)</visible>
				<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>35</top>
				<left>35</left>
        <control type="image">
          <left>19</left>
          <top>0</top>
          <aspectratio>keep</aspectratio>
          <width>130</width>
          <height>56</height>
          <texture colordiffuse="accent_color">special://skin/media/logos/K-logo.png</texture>
        </control>
        <control type="image">
          <left>59</left>
          <top>0</top>
          <aspectratio>keep</aspectratio>
          <width>192</width>
          <height>56</height>
          <texture colordiffuse="unfocused_text">special://skin/media/logos/letters.png</texture>
        </control>
			</control>
		</control>
	</controls>
</window>
