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

	<include name="GridView_Container">
		<param name="art_icon" default="Grid" />
		<definition>
			<include content="Hidden_Components">
				<control type="label" id="6351">
					<label>$INFO[ListItemNoWrap(1).Label]</label>
				</control>
				<control type="label" id="6352">
					<label>$INFO[ListItemNoWrap(2).Label]</label>
				</control>
				<control type="label" id="6353">
					<label>$INFO[ListItemNoWrap(3).Label]</label>
				</control>
				<control type="label" id="6354">
					<label>$INFO[ListItemNoWrap(4).Label]</label>
				</control>
				<control type="label" id="6355">
					<label>$INFO[ListItemNoWrap(5).Label]</label>
				</control>
				<control type="label" id="6356">
					<label>$INFO[ListItemNoWrap(6).Label]</label>
				</control>
			</include>
			<control type="group">
				<visible>Control.IsVisible(505)</visible>
				<include content="GridView_Slides" />
				<!-- List -->
				<control type="panel" id="505">
					<viewtype label="Grid">icon</viewtype>
					<visible>![Container.Content() + !Window.Is(programs)] + !Container.Content(songs) + !Container.Content(playlists) + !$EXP[Containers_Background]</visible>
					<left>50</left>
					<top>180</top>
					<width>1920</width>
					<height>900</height>
					<onfocus condition="Skin.HasSetting(Trailer_Autoplay) + String.IsEqual(Window(home).Property(Trailer_Autoplay),true)">PlayerControl(Stop)</onfocus>
					<onfocus condition="Skin.HasSetting(Trailer_Autoplay) + String.IsEqual(Window(home).Property(Trailer_Autoplay),true)">ClearProperty(Trailer_Autoplay,home)</onfocus>
					<onfocus>ClearProperty(Widget_DBID,home)</onfocus>
					<include content="Grid_Navigation" />
					<pagecontrol>60</pagecontrol>
					<preloaditems>2</preloaditems>
					<scrolltime tween="sine" easing="inout">360</scrolltime>
					<include content="GridView_Layout_Fanart" condition="Window.Is(videos) | Window.Is(music) | Window.Is(programs) | Window.Is(pictures)">
						<param name="art_icon" value="$PARAM[art_icon]" />
					</include>
					<include content="GridView_Layout_Posters" condition="Window.Is(videos) | Window.Is(music) | Window.Is(programs)">
						<param name="art_icon" value="$PARAM[art_icon]" />
					</include>
					<include content="GridView_Layout_Square">
						<param name="art_icon" value="$PARAM[art_icon]" />
					</include>
				</control>
			</control>
		</definition>
	</include>

	<include name="GridView_Overlay_Details">
		<definition>
			<control type="group">
				<visible>Control.IsVisible(505) + !$EXP[Options_Switching]</visible>
				<include content="Visible_Fade_Animation" />
				<control type="group">
					<visible>!$EXP[Container_Switching] + !$EXP[TransparentDialog_IsVisible] + !$EXP[Scrollbar_HasFocus] + !$EXP[Infoscreen_IsVisible] + !$EXP[Music_Player_HasFocus]</visible>
					<include content="Visible_Fade_Delayed_Animation" />
					<include content="Breadcrumb_Label">
						<param name="bar" value="$EXP[GridView_Details_Breadcrumb] | [!$EXP[GridView_Details_Off] + !Container.Content(movies) + !Container.Content(sets) + !Container.Content(tvshows) + !Container.Content(artists)]" />
						<param name="visible" value="!$EXP[GridView_Details_Off] + !$EXP[Notification_Widget_IsVisible]" />
						<param name="animation" value="VisibleHidden_Fade_Delayed_Animation" />
						<param name="info_label_visible" value="true" />
					</include>
				</control>
			</control>
			<control type="group">
				<visible>!$EXP[Container_Switching] + !$EXP[Content_Switching] + !$EXP[TransparentDialog_IsVisible] + !Window.IsVisible(pictureinfo) + !$EXP[Scrollbar_HasFocus] + !$EXP[Music_Player_HasFocus]</visible>
				<include content="Visible_Fade_Delayed_Long_Animation" />
				<include content="GridView_Slides" />
				<control type="label" id="6004">
					<include content="Hidden_Control" />
					<label>$VAR[Info_Label]</label>
				</control>
				<include content="GridView_Overlay">
					<param name="displaytype_label" value="Fanart" />
					<param name="left" value="72" />
					<param name="width" value="592" />
					<param name="height" value="333" />
				</include>
				<include content="GridView_Overlay">
					<param name="displaytype_label" value="Posters" />
					<param name="left" value="60" />
					<param name="width" value="360" />
					<param name="height" value="540" />
				</include>
				<include content="GridView_Overlay">
					<param name="displaytype_label" value="Square" />
					<param name="left" value="60" />
					<param name="width" value="360" />
					<param name="height" value="360" />
				</include>
			</control>
		</definition>
	</include>

	<!-- Widget -->
	<include name="GridView_Display">
		<param name="id" />
		<param name="art_icon" />
		<param name="widget_position" />
		<param name="gridview_details_fade" />
		<definition>
			<include content="Viewtype_Display_Template">
				<param name="viewtype_label" value="Grid" />
				<include content="GridView_Art_Posters" condition="!Skin.String(Widget$PARAM[widget_position]_Display,Fanart) + !Skin.String(Widget$PARAM[widget_position]_Display,Square)">
					<param name="target_id" value="$PARAM[id]" />
					<param name="art_icon" value="$PARAM[art_icon]" />
				</include>
				<include content="GridView_Art_Fanart" condition="Skin.String(Widget$PARAM[widget_position]_Display,Fanart)">
					<param name="target_id" value="$PARAM[id]" />
					<param name="art_icon" value="$PARAM[art_icon]" />
				</include>
				<include content="GridView_Art_Square" condition="Skin.String(Widget$PARAM[widget_position]_Display,Square)">
					<param name="target_id" value="$PARAM[id]" />
					<param name="art_icon" value="$PARAM[art_icon]" />
				</include>
			</include>
		</definition>
	</include>

	<include name="GridView_Details">
		<param name="id" />
		<param name="widget_position" />
		<param name="widget_display" />
		<definition>
			<include content="Viewtype_Details_Including_Content_Switching_Template">
				<param name="visible" value="$PARAM[visible]" />
				<param name="viewtype_label" value="Grid" />
				<include content="Progress_Grid_$PARAM[widget_display]" condition="Window.Is(movieinformation)">
					<param name="id" value="$PARAM[id]" />
				</include>
				<include content="Progress_Grid_Posters" condition="Window.Is(home) + !Skin.String(Widget$PARAM[widget_position]_Display,Fanart) + !Skin.String(Widget$PARAM[widget_position]_Display,Square)">
					<param name="id" value="$PARAM[id]" />
				</include>
				<include content="Progress_Grid_Fanart" condition="Window.Is(home) + Skin.String(Widget$PARAM[widget_position]_Display,Fanart)">
					<param name="id" value="$PARAM[id]" />
				</include>
				<include content="Progress_Grid_Square" condition="Window.Is(home) + Skin.String(Widget$PARAM[widget_position]_Display,Square)">
					<param name="id" value="$PARAM[id]" />
				</include>
				<include content="Breadcrumb_Label">
					<param name="bar" value="false" />
					<param name="title_label" value="$VAR[Title_Label]" />
					<param name="title_label_id" value="$PARAM[id]4" />
					<param name="info_label_visible" value="true" />
					<param name="info_label" value="$VAR[GridView_Info_Label_Divider_Bold,, ]$VAR[Info_Label]" />
					<param name="label_color" value="$VAR[Primary_Color]" />
					<animation effect="slide" start="0" end="0,780" time="0" condition="String.IsEqual(Control.GetLabel(620$PARAM[widget_position]2),Posters)">Conditional</animation>
					<animation effect="slide" start="0" end="0,780" time="0" condition="Window.Is(home) + !Skin.String(Widget$PARAM[widget_position]_Display,Fanart) + !Skin.String(Widget$PARAM[widget_position]_Display,Square)">Conditional</animation>
					<animation effect="slide" start="0" end="0,677" time="0" condition="String.IsEqual(Control.GetLabel(620$PARAM[widget_position]2),Fanart)">Conditional</animation>
					<animation effect="slide" start="0" end="0,677" time="0" condition="Window.Is(home) + Skin.String(Widget$PARAM[widget_position]_Display,Fanart)">Conditional</animation>
					<animation effect="slide" start="0" end="0,690" time="0" condition="String.IsEqual(Control.GetLabel(620$PARAM[widget_position]2),Square)">Conditional</animation>
					<animation effect="slide" start="0" end="0,690" time="0" condition="Window.Is(home) + Skin.String(Widget$PARAM[widget_position]_Display,Square)">Conditional</animation>
				</include>
				<nested />
			</include>
		</definition>
	</include>

</includes>