<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<!-- Movie template -->
	<include name="EmbyConHub_MovieMenu">
		<item>
			<label>$LOCALIZE[342]</label>
			<onclick condition="String.IsEqual(Window(home).property(plugin.video.embycon-group_movies),true)">ActivateWindow(videos,plugin://plugin.video.embycon/?media_type=movies&amp;mode=GET_CONTENT&amp;url=%7bserver%7d%2femby%2fUsers%2f%7buserid%7d%2fItems%3fParentId%3d$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26IsVirtualUnaired%3dfalse%26IncludeItemTypes%3dMovie%26CollapseBoxSetItems%3dTrue%26GroupItemsIntoCollections%3dTrue%26Recursive%3dtrue%26IsMissing%3dFalse%26Fields%3d%7bfield_filters%7d%26ImageTypeLimit%3d1%26SortBy%3dName%26SortOrder%3dAscending%26format%3djson,return)</onclick>
			<onclick condition="!String.IsEqual(Window(home).property(plugin.video.embycon-group_movies),true)">ActivateWindow(videos,plugin://plugin.video.embycon/?media_type=movies&amp;mode=GET_CONTENT&amp;url=%7bserver%7d%2femby%2fUsers%2f%7buserid%7d%2fItems%3fParentId%3d$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26Recursive%3dtrue%26IncludeItemTypes%3dMovie%26IsVirtualUnaired%3dfalse%26IsMissing%3dFalse%26Fields%3d%7bfield_filters%7d%26ImageTypeLimit%3d1%26format%3djson,return)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[31209]</label>
			<onclick>ActivateWindow(videos,plugin://plugin.video.embycon/?media_type=movies&amp;mode=GET_CONTENT&amp;url=%7bserver%7d%2femby%2fUsers%2f%7buserid%7d%2fItems%3fParentId%3d$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26Recursive%3dtrue%26IncludeItemTypes%3dMovie%26IsVirtualUnaired%3dfalse%26IsMissing%3dFalse%26Fields%3d%7bfield_filters%7d%26Filters%3dIsUnplayed%26ImageTypeLimit%3d1%26format%3djson,return)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[135]</label>
			<include>ForceReloadAction</include>
			<onclick>SetProperty(ListGenres,plugin://plugin.video.embycon/?item_type=movie&amp;mode=GENRES&amp;parent_id=$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)],home)</onclick>
			<onclick>ActivateWindow(1114)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[31169]</label>
			<onclick>ActivateWindow(videos,plugin://plugin.video.embycon/?media_type=boxsets&amp;mode=GET_CONTENT&amp;url=%7bserver%7d%2femby%2fUsers%2f%7buserid%7d%2fItems%3fParentId%3d$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26IsVirtualUnaired%3dfalse%26IncludeItemTypes%3dBoxset%26CollapseBoxSetItems%3dTrue%26GroupItemsIntoCollections%3dTrue%26Recursive%3dtrue%26IsMissing%3dFalse%26Fields%3d%7bfield_filters%7d%26ImageTypeLimit%3d1%26SortBy%3dName%26SortOrder%3dAscending%26format%3djson,return)</onclick>
		</item>
	</include>
	<include name="EmbyConHubMovieTemplate">
		<control type="label" id="199">
			<include>HiddenObject</include>
			<label>$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].Name)]</label>
		</control>
		<!-- background -->
		<include>Background</include>
		<!-- hub -->
		<control type="grouplist" id="10">
			<include>Window_OpenClose</include>
			<defaultcontrol>10000</defaultcontrol>
			<width>100%</width>
			<height>100%</height>
			<itemgap>-80</itemgap>
			<orientation>vertical</orientation>
			<usecontrolcoords>true</usecontrolcoords>
			<include>ScrollTime</include>
			<pagecontrol>17</pagecontrol>
			<include content="WidgetSpacer">
				<param name="id" value="101"/>
			</include>
			<!-- menu -->
			<include content="WidgetSmallMenu">
				<param name="id" value="100"/>
				<param name="onup" value="6666"/>
				<param name="ondown" value="200"/>
				<param name="headline" value="$VAR[ContainerContentPrefix]$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].Name)]"/>
				<param name="content" value="EmbyConHub_MovieMenu"/>
				<param name="nr" value="$PARAM[nr]"/>
			</include>
			<include content="WidgetCallTemplate">
				<param name="type" value="WidgetCallEmbyConMovies"/>
				<param name="nr" value="$PARAM[nr]"/>
			</include>
		</control>
		<!-- header bar -->
		<include content="HeaderBar">
			<param name="id">10</param>
		</include>
		<!-- side panel -->
		<include content="SidePanel"/>
	</include>
	<!-- TV show template -->
	<include name="EmbyConHub_TVShowMenu">
		<item>
			<label>$LOCALIZE[20343]</label>
			<onclick>ActivateWindow(videos,plugin://plugin.video.embycon/?media_type=tvshows&amp;mode=GET_CONTENT&amp;url=%7bserver%7d%2femby%2fUsers%2f%7buserid%7d%2fItems%3fParentId%3d$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26IsVirtualUnaired%3dfalse%26IsMissing%3dFalse%26Recursive%3Dtrue%26IncludeItemTypes%3DSeries%26Fields%3d%7bfield_filters%7d%26ImageTypeLimit%3d1%26format%3djson,return)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[31210]</label>
			<onclick>ActivateWindow(videos,plugin://plugin.video.embycon/?media_type=tvshows&amp;mode=GET_CONTENT&amp;url=%7bserver%7d%2femby%2fUsers%2f%7buserid%7d%2fItems%3fParentId%3d$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26IsVirtualUnaired%3dfalse%26IsMissing%3dFalse%26Fields%3d%7bfield_filters%7d%26Filters%3dIsUnplayed%26Recursive%3dtrue%26IncludeItemTypes%3dSeries%26ImageTypeLimit%3d1%26format%3djson,return)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[135]</label>
			<include>ForceReloadAction</include>
			<onclick>SetProperty(ListGenres,plugin://plugin.video.embycon/?item_type=tvshow&amp;mode=GENRES&amp;parent_id=$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)],home)</onclick>
			<onclick>ActivateWindow(1114)</onclick>
		</item>
	</include>
	<include name="EmbyConHubTVShowTemplate">
		<control type="label" id="199">
			<include>HiddenObject</include>
			<label>$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].Name)]</label>
		</control>
		<!-- background -->
		<include>Background</include>
		<!-- hub -->
		<control type="grouplist" id="10">
			<include>Window_OpenClose</include>
			<defaultcontrol>10000</defaultcontrol>
			<width>100%</width>
			<height>100%</height>
			<itemgap>-80</itemgap>
			<orientation>vertical</orientation>
			<usecontrolcoords>true</usecontrolcoords>
			<include>ScrollTime</include>
			<pagecontrol>17</pagecontrol>
			<include content="WidgetSpacer">
				<param name="id" value="101"/>
			</include>
			<!-- menu -->
			<include content="WidgetSmallMenu">
				<param name="id" value="100"/>
				<param name="onup" value="6666"/>
				<param name="ondown" value="200"/>
				<param name="headline" value="$VAR[ContainerContentPrefix]$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].Name)]"/>
				<param name="content" value="EmbyConHub_TVShowMenu"/>
				<param name="nr" value="$PARAM[nr]"/>
			</include>
			<include content="WidgetCallTemplate">
				<param name="type" value="WidgetCallEmbyConTVShows"/>
				<param name="nr" value="$PARAM[nr]"/>
			</include>
		</control>
		<!-- header bar -->
		<include content="HeaderBar">
			<param name="id">10</param>
		</include>
		<!-- side panel -->
		<include content="SidePanel"/>
	</include>
	<!-- Music template -->
	<include name="EmbyConHub_MusicMenu">
		<item>
			<label>$LOCALIZE[133]</label>
			<onclick>ActivateWindow(music,plugin://plugin.video.embycon/?media_type=MusicArtists&amp;mode=GET_CONTENT&amp;url=%7bserver%7d%2femby%2fArtists%2fAlbumArtists%3fRecursive%3dtrue%26ParentId%3d$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26ImageTypeLimit%3d1%26EnableImageTypes%3dPrimary%2cBackdrop%2cBanner%2cThumb%26format%3djson,return)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[132]</label>
			<onclick>ActivateWindow(music,plugin://plugin.video.embycon/?media_type=MusicAlbums&amp;mode=GET_CONTENT&amp;url=%7bserver%7d%2femby%2fUsers%2f%7buserid%7d%2fItems%3fRecursive%3dtrue%26ParentId%3d$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26IncludeItemTypes%3dMusicAlbum%26ImageTypeLimit%3d1%26EnableImageTypes%3dPrimary%2cBackdrop%2cBanner%2cThumb%26SortBy%3dName%26SortOrder%3dAscending%26format%3djson,return)</onclick>
		</item>
	</include>
	<include name="EmbyConHubMusicTemplate">
		<control type="label" id="199">
			<include>HiddenObject</include>
			<label>$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].Name)]</label>
		</control>
		<!-- background -->
		<include>Background</include>
		<!-- hub -->
		<control type="grouplist" id="10">
			<include>Window_OpenClose</include>
			<defaultcontrol>10000</defaultcontrol>
			<width>100%</width>
			<height>100%</height>
			<itemgap>-80</itemgap>
			<orientation>vertical</orientation>
			<usecontrolcoords>true</usecontrolcoords>
			<include>ScrollTime</include>
			<pagecontrol>17</pagecontrol>
			<include content="WidgetSpacer">
				<param name="id" value="101"/>
			</include>
			<!-- menu -->
			<include content="WidgetSmallMenu">
				<param name="id" value="100"/>
				<param name="onup" value="6666"/>
				<param name="ondown" value="200"/>
				<param name="headline" value="$VAR[ContainerContentPrefix]$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].Name)]"/>
				<param name="content" value="EmbyConHub_MusicMenu"/>
				<param name="nr" value="$PARAM[nr]"/>
			</include>
			<include content="WidgetCallTemplate">
				<param name="type" value="WidgetCallEmbyConMusic"/>
				<param name="nr" value="$PARAM[nr]"/>
			</include>
		</control>
		<!-- header bar -->
		<include content="HeaderBar">
			<param name="id">10</param>
		</include>
		<!-- side panel -->
		<include content="SidePanel"/>
	</include>
</includes>