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

	<!-- ================================== -->
	<!-- ==== Gallery View Videos "52" ==== -->
	<!-- ================================== -->
	<include name="GalleryView_Videos">
		<control type="group">
			<visible>Control.IsVisible(52)</visible>
			<include>CommonViews_HorizontalAnimation</include>
			<control type="image">
				<include>FullscreenDimensions</include>
				<texture background="true">views/gallery/top_bottom_shadows.png</texture>
			</control>
			<control type="image">
				<left>-300</left>
				<top>115</top>
				<width>1880</width>
				<height>494</height>
				<texture background="true" border="39">views/other/panel.png</texture>
				<bordersize>41</bordersize>
			</control>
			<control type="wraplist" id="52">
				<left>-34</left>
				<top>172</top>
				<width>1900</width>
				<height>800</height>
				<onleft>52</onleft>
				<onright>52</onright>
				<onup>9111</onup>
				<ondown>6052</ondown>
				<oninfo condition="$EXP[MoviesSetsCondition]">SetProperty(ShowTextViewer,1,home)</oninfo>
				<oninfo condition="$EXP[MoviesSetsCondition]">RunScript(script.embuary.helper,action=textviewer,header=$INFO[ListItem.Label],message='"$VAR[GlobalPlotDescription]"')</oninfo>
				<viewtype label="31081">List</viewtype>
				<scrolltime tween="Quadratic" easing="out">300</scrolltime>
				<orientation>horizontal</orientation>
				<preloaditems>2</preloaditems>
				<focusposition>5</focusposition>
				<pagecontrol>6052</pagecontrol>
				<visible>$EXP[GalleryViewVideos_52]</visible>
				<itemlayout width="58" height="380">
					<control type="image">
						<left>35</left>
						<top>0</top>
						<width>60</width>
						<height>380</height>
						<texture border="20">thumbs/thumb_border.png</texture>
					</control>
					<control type="image">
						<left>54</left>
						<top>12</top>
						<width>24</width>
						<height>24</height>
						<colordiffuse>disabled</colordiffuse>
						<texture background="true">overlays/unwatched/info/UnWatched.png</texture>
						<visible>String.IsEqual(ListItem.Overlay,OverlayUnWatched.png)</visible>
						<visible>[Container.Content(Movies) | Container.Content(Sets) | Container.Content(Episodes)]</visible>
					</control>
					<control type="label">
						<left>-10</left>
						<top>15</top>
						<width>60</width>
						<height>60</height>
						<textcolor>disabled</textcolor>
						<font>FontSize_24</font>
						<angle>90</angle>
						<align>right</align>
						<aligny>top</aligny>
						<label>$INFO[ListItem.Property(unWatchedEpisodes)]</label>
						<visible>Integer.IsGreater(ListItem.Property(unWatchedEpisodes),0)</visible>
					</control>
					<control type="label">
						<left>47</left>
						<top>365</top>
						<width>325</width>
						<height>25</height>
						<textcolor>disabled</textcolor>
						<font>FontSize_26</font>
						<angle>90</angle>
						<aligny>top</aligny>
						<label>$INFO[ListItem.label]</label>
					</control>
				</itemlayout>
				<focusedlayout width="695" height="380">
					<control type="group">
						<left>46</left>
						<animation type="Focus" reversible="false" condition="Container(52).OnNext">
							<effect type="slide" start="26,0" end="0,0" time="150" tween="Cubic" easing="out" />
							<effect type="fade" start="20" end="100" time="750" delay="0" tween="sine" easing="out" />
						</animation>
						<animation type="Focus" reversible="false" condition="Container(52).OnPrevious">
							<effect type="slide" start="-26,0" end="0,0" time="150" tween="Cubic" easing="out" />
							<effect type="fade" start="20" end="100" time="750" delay="0" tween="sine" easing="out" />
						</animation>
						<control type="image">
							<width>675</width>
							<height>380</height>
							<texture background="true" border="6">thumbs/thumb_border.png</texture>
						</control>

						<control type="image">
							<width>675</width>
							<height>380</height>
							<aspectratio aligny="center" align="center">scale</aspectratio>
							<texture background="true" fallback="thumbs/fallback_fanart_big_tp.png">$VAR[VarArtFanart]</texture>
							<fadetime>FanartCrossfadeTime</fadetime>
							<bordersize>6</bordersize>
			<visible>![Container.Content(TVShows) + String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),2)]
				+ ![[Container.Content(TVShows) + String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),3)] + !String.IsEmpty(ListItem.Art(clearlogo))]
				+ ![Container.Content(Seasons) + String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),2)]
				+ ![[Container.Content(Seasons) + String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),3)] + !String.IsEmpty(ListItem.Art(tvshow.clearlogo))]
				+ ![[Container.Content(Movies) | Container.Content(Sets)] + String.IsEqual(Skin.String(GalleryViewWideThumbMovies),2)]
				+ ![[Container.Content(Movies) + String.IsEqual(Skin.String(GalleryViewWideThumbMovies),3)] + !String.IsEmpty(ListItem.Art(clearlogo))]
			</visible>
						</control>
						<control type="image">
							<width>675</width>
							<height>380</height>
							<aspectratio aligny="center" align="center">scale</aspectratio>
							<texture background="true" fallback="thumbs/fallback_fanart_big_tp.png">$VAR[LandscapeVars]</texture>
							<fadetime>FanartCrossfadeTime</fadetime>
							<bordersize>6</bordersize>
			<visible>[[Container.Content(TVShows) | Container.Content(Seasons)] + String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),2)]
				| [[Container.Content(Movies) | Container.Content(Sets)] + String.IsEqual(Skin.String(GalleryViewWideThumbMovies),2)]
			</visible>
						</control>
						<control type="image">
							<left>30</left>
							<width>615</width>
							<height>380</height>
							<aspectratio aligny="center" align="center">keep</aspectratio>
							<texture background="true" fallback="thumbs/fallback_fanart_big_tp.png">$VAR[ClearlogoVars]</texture>
							<fadetime>FanartCrossfadeTime</fadetime>
							<bordersize>6</bordersize>
			<visible>[[Container.Content(TVShows) + String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),3)] + !String.IsEmpty(ListItem.Art(clearlogo))]
				| [[Container.Content(Seasons) + String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),3)] + !String.IsEmpty(ListItem.Art(tvshow.clearlogo))]
				| [[[Container.Content(Movies) | Container.Content(Sets)] + String.IsEqual(Skin.String(GalleryViewWideThumbMovies),3)] + !String.IsEmpty(ListItem.Art(clearlogo))]
			</visible>
						</control>
						<control type="image">
							<width>675</width>
							<height>380</height>
							<texture background="true">overlays/unwatched/gallery/UnWatched_Fanart.png</texture>
							<visible>String.IsEqual(ListItem.Overlay,OverlayUnWatched.png)</visible>
							<bordersize>6</bordersize>
						</control>
					</control>
					<!-- Overlay & Arrows -->
					<include>GalleryView_OverlayArrows</include>
					<!-- Info -->
					<control type="label">
						<left>60</left>
						<top>300</top>
						<height>30</height>
						<width>650</width>
						<font>FontSize_36</font>
						<label>$VAR[ListItem_LabelVar]</label>
						<visible>!ListItem.IsParentFolder</visible>
						<visible>![[Container.Content(TVShows) | Container.Content(Seasons)] + [[String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),2) + !String.IsEmpty(ListItem.Art(landscape))] | [String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),3) + !String.IsEmpty(ListItem.Art(clearlogo))]]]</visible>
						<visible>![[Container.Content(Movies) | Container.Content(Sets)] + [[String.IsEqual(Skin.String(GalleryViewWideThumbMovies),2) + !String.IsEmpty(ListItem.Art(landscape))] | [String.IsEqual(Skin.String(GalleryViewWideThumbMovies),3) + !String.IsEmpty(ListItem.Art(clearlogo))]]]</visible>
					</control>
					<!-- Small Down Info -->
					<control type="group">
						<left>60</left>
						<top>342</top>
						<include>SmallDownInfo_Top250</include>
						<control type="image">
							<include>SmallDownInfo_Def3DFlags</include>
							<animation effect="slide" start="0,0" end="60,0" time="0" tween="sine" easing="inout" condition="!String.IsEmpty(ListItem.Top250)">Conditional</animation>
						</control>
						<control type="image">
							<include>SmallDownInfo_Sets</include>
						</control>
						<control type="image">
							<include>SmallDownInfo_MPAATVFlags</include>
						</control>
						<control type="label">
							<left>41</left>
							<top>0</top>
							<width>600</width>
							<include>SmallDownInfo_SmallGlobalInfo</include>
							<animation effect="slide" start="0,0" end="-45,0" time="0" tween="sine" easing="inout" condition="String.IsEmpty(ListItem.VideoResolution) + !$EXP[MoviesSetsCondition]">Conditional</animation>
							<animation effect="slide" start="0,0" end="68,0" time="0" tween="sine" easing="inout" condition="[Container.Content(TVShows) | Container.Content(Seasons)] + !String.IsEmpty(ListItem.mpaa)">Conditional</animation>
							<animation effect="slide" start="0,0" end="60,0" time="0" tween="sine" easing="inout" condition="!String.IsEmpty(ListItem.Top250)">Conditional</animation>
						</control>
					</control>
				</focusedlayout>
			</control>
			<control type="image">
				<left>-300</left>
				<top>157</top>
				<width>1880</width>
				<height>410</height>
				<texture background="true">views/gallery/sides_fade.png</texture>
			</control>
			<control type="scrollbar" id="6052">
				<left>305</left>
				<top>552</top>
				<width>670</width>
				<height>6</height>
				<texturesliderbackground></texturesliderbackground>
				<texturesliderbar colordiffuse="viewsinfo" border="14,0,14,0">views/scrollbar/scrollbar_horizontal.png</texturesliderbar>
				<texturesliderbarfocus colordiffuse="viewsinfo" border="14,0,14,0">views/scrollbar/scrollbar_horizontal.png</texturesliderbarfocus>
				<textureslidernib></textureslidernib>
				<textureslidernibfocus></textureslidernibfocus>
				<onup>52</onup>
				<ondown>9555</ondown>
				<showonepage>false</showonepage>
				<orientation>horizontal</orientation>
				<animation effect="fade" start="100" end="0" time="250" condition="!Control.HasFocus(6052) + !Container.Scrolling">Conditional</animation>
			</control>
		</control>
	</include>



	<!-- ========================================== -->
	<!-- ==== Gallery View Music/Pictures "52" ==== -->
	<!-- ========================================== -->
	<include name="GalleryView_Music">
		<control type="group">
			<visible>Control.IsVisible(52)</visible>
			<include>CommonViews_HorizontalAnimation</include>
			<control type="image">
				<include>FullscreenDimensions</include>
				<texture background="true">views/gallery/top_bottom_shadows.png</texture>
			</control>
			<control type="image">
				<left>-300</left>
				<top>116</top>
				<width>1880</width>
				<height>492</height>
				<texture background="true" border="39">views/other/panel.png</texture>
				<bordersize>41</bordersize>
			</control>
			<control type="wraplist" id="52">
				<left>-34</left>
				<top>172</top>
				<width>1900</width>
				<height>800</height>
				<onleft>52</onleft>
				<onright>52</onright>
				<onup>9000</onup>
				<ondown>6052</ondown>
				<viewtype label="31081">List</viewtype>
				<scrolltime tween="Cubic" easing="out">500</scrolltime>
				<orientation>horizontal</orientation>
				<preloaditems>2</preloaditems>
				<focusposition>5</focusposition>
				<pagecontrol>6052</pagecontrol>
				<visible>[Container.Content(Artists) | Container.Content(Albums) | Container.Content(Songs) | Container.Content(Images)] + ![String.StartsWith(Container.Folderpath,plugin://) | String.IsEmpty(Container.Folderpath)]</visible>
				<itemlayout width="58" height="380">
					<control type="image">
						<left>35</left>
						<top>0</top>
						<width>60</width>
						<height>380</height>
						<texture border="20">thumbs/thumb_border.png</texture>
					</control>
					<control type="label">
						<left>47</left>
						<top>365</top>
						<width>355</width>
						<height>60</height>
						<textcolor>disabled</textcolor>
						<font>FontSize_26</font>
						<angle>90</angle>
						<aligny>top</aligny>
						<label>$VAR[ListItem_LabelVar]</label>
					</control>
				</itemlayout>
				<focusedlayout width="695" height="380">
					<control type="group">
						<left>46</left>
						<animation type="Focus" reversible="false" condition="Container(52).OnNext">
							<effect type="slide" start="26,0" end="0,0" time="150" tween="Cubic" easing="out" />
							<effect type="fade" start="20" end="100" time="750" delay="0" tween="sine" easing="out" />
						</animation>
						<animation type="Focus" reversible="false" condition="Container(52).OnPrevious">
							<effect type="slide" start="-26,0" end="0,0" time="150" tween="Cubic" easing="out" />
							<effect type="fade" start="20" end="100" time="750" delay="0" tween="sine" easing="out" />
						</animation>
						<control type="image">
							<width>675</width>
							<height>380</height>
							<texture background="true" border="20">thumbs/thumb_border.png</texture>
						</control>
						<control type="image">
							<width>675</width>
							<height>380</height>
							<aspectratio>keep</aspectratio>
							<texture background="true">$VAR[VarGalleryGenericArt]</texture>
							<fadetime>FanartCrossfadeTime</fadetime>
							<bordersize>6</bordersize>
						</control>
					</control>
					<!-- Overlay & Arrows -->
					<include>GalleryView_OverlayArrows</include>
					<!-- Info -->
					<control type="group">
						<left>60</left>
						<top>310</top>
						<animation effect="slide" end="0,25" condition="Container.Content(Images) + ![Container.HasFiles + !String.IsEmpty(ListItem.FileName)]">Conditional</animation>
						<include content="HomeWidgetsTitleLabel">
							<param name="width" value="650"/>
							<param name="label" value="$VAR[ListItem_LabelVar]"/>
							<param name="visible" value="!ListItem.IsParentFolder"/>
						</include>
						<!-- Music Small Down Info -->
						<include content="HomeWidgetsSubLabel">
							<param name="top" value="35"/>
							<param name="width" value="650"/>
							<param name="label" value="$VAR[ListItem_SubLabelVar]"/>
							<param name="visible" value="![Container.Content(MusicVideos) | ListItem.IsParentFolder]"/>
						</include>
					</control>
					<!-- Music Videos Small Down Info -->
					<control type="group">
						<left>60</left>
						<top>345</top>
						<visible>Container.Content(MusicVideos)</visible>
						<control type="image">
							<include>SmallDownInfo_Def3DFlags</include>
							<animation effect="slide" start="0,0" end="60,0" time="0" tween="sine" easing="inout" condition="!String.IsEmpty(ListItem.Top250)">Conditional</animation>
						</control>
						<control type="label">
							<left>45</left>
							<top>0</top>
							<width>600</width>
							<include>SmallDownInfo_SmallGlobalInfo</include>
							<animation effect="slide" start="0,0" end="-45,0" time="0" tween="sine" easing="inout" condition="String.IsEmpty(ListItem.VideoResolution)">Conditional</animation>
						</control>
					</control>
				</focusedlayout>
			</control>
			<control type="image">
				<left>-300</left>
				<top>157</top>
				<width>1880</width>
				<height>410</height>
				<texture background="true">views/gallery/sides_fade.png</texture>
			</control>
			<control type="scrollbar" id="6052">
				<left>305</left>
				<top>552</top>
				<width>670</width>
				<height>6</height>
				<texturesliderbackground></texturesliderbackground>
				<texturesliderbar colordiffuse="viewsinfo" border="14,0,14,0">views/scrollbar/scrollbar_horizontal.png</texturesliderbar>
				<texturesliderbarfocus colordiffuse="viewsinfo" border="14,0,14,0">views/scrollbar/scrollbar_horizontal.png</texturesliderbarfocus>
				<textureslidernib></textureslidernib>
				<textureslidernibfocus></textureslidernibfocus>
				<onup>52</onup>
				<ondown>52</ondown>
				<showonepage>false</showonepage>
				<orientation>horizontal</orientation>
				<animation effect="fade" start="100" end="0" time="250" condition="!Control.HasFocus(6052) + !Container.Scrolling">Conditional</animation>
				<visible>Control.IsVisible(52)</visible>
			</control>
		</control>
	</include>

</includes>

