<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<!-- ############## Emby hub widgets ############## -->

	<!-- In progress mixed -->
	<include name="W_TagHub_InProgress">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31080]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="lastplayed"/>
			<param name="sortorder" value="descending"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getinprogress&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Get by genre mixed -->
	<include name="W_TagHub_MixedByGenre">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31278] $INFO[Container($PARAM[id]).ListItem.Property(searchstring),',']"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getbygenre&amp;unwatched=True&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>

	<!-- In progress movies -->
	<include name="W_TagHub_InProgressMovies">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31080]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="lastplayed"/>
			<param name="sortorder" value="descending"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getinprogress&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'&amp;type=movie&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Recently added movies -->
	<include name="W_TagHub_NewMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31301]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="sortby" value="dateadded"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="videodb://movies/titles/?xsp=%7B%22group%22%3A%7B%22mixed%22%3Afalse%2C%22type%22%3A%22none%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22playcount%22%2C%22operator%22%3A%22lessthan%22%2C%22value%22%3A%5B%221%22%5D%7D%2C%7B%22field%22%3A%22tag%22%2C%22operator%22%3A%22is%22%2C%22value%22%3A%5B%22$INFO[Window(home).Property(library.tags.$PARAM[nr].title)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Recommended movies -->
	<include name="W_TagHub_RecommendedMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31183]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="sortby" value="rating"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="videodb://movies/titles/?xsp=%7B%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22playcount%22%2C%22operator%22%3A%22is%22%2C%22value%22%3A%5B%220%22%5D%7D%2C%7B%22field%22%3A%22tag%22%2C%22operator%22%3A%22is%22%2C%22value%22%3A%5B%22$INFO[Window(home).Property(library.tags.$PARAM[nr].title)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Because you watched movie xyz -->
	<include name="W_TagHub_SimilarMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31018] $INFO[Container($PARAM[id]).ListItem.Property(searchstring)]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getsimilar&amp;type=movie&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Suggestions by movie genre -->
	<include name="W_TagHub_MoviesByGenre">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31278] $INFO[Container($PARAM[id]).ListItem.Property(searchstring),',']"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getbygenre&amp;unwatched=True&amp;type=movie&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Random movies -->
	<include name="W_TagHub_RandomMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31184]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="sortby" value="random"/>
			<param name="content" value="videodb://movies/tags/$INFO[Window(home).Property(library.tags.$PARAM[nr].id)]/?reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Genres -->
	<include name="W_TagHub_MovieGenres">
		<param name="headline">$LOCALIZE[135]</param>
		<definition>
			<include content="PosterWidget">
				<param name="id" value="$PARAM[id]"/>
				<param name="onup" value="$PARAM[onup]"/>
				<param name="ondown" value="$PARAM[ondown]"/>
				<param name="headline" value="$PARAM[headline]"/>
				<param name="mainlabel" value="$INFO[ListItem.Title]"/>
				<param name="sublabel" value="$INFO[ListItem.Year]"/>
				<param name="widget_target" value="videos"/>
				<param name="limit" value="$VAR[PosterWidgetLimit]"/>
				<param name="content" value="plugin://script.embuary.helper/?info=getgenre&amp;type=movie&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
			</include>
		</definition>
	</include>


	<!-- In progress shows -->
	<include name="W_TagHub_InprogressEpisodes">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31080]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="lastplayed"/>
			<param name="sortorder" value="descending"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getinprogress&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'&amp;type=tvshow&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Next episodes -->
	<include name="W_TagHub_NextUp">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31012]"/>
			<param name="mainlabel" value="$VAR[MediaMainlabel]"/>
			<param name="sublabel" value="$VAR[MediaSublabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="sortby" value="lastplayed"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getnextup&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Recently updated shows -->
	<include name="W_TagHub_NewEpisodes">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31302]"/>
			<param name="mainlabel" value="$VAR[MediaMainlabel]"/>
			<param name="sublabel" value="$VAR[MediaSublabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getnewshows&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Recommended shows -->
	<include name="W_TagHub_RecommendedShows">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31182]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="sortby" value="rating"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="videodb://tvshows/titles/?xsp=%7B%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22playcount%22%2C%22operator%22%3A%22is%22%2C%22value%22%3A%5B%220%22%5D%7D%2C%7B%22field%22%3A%22tag%22%2C%22operator%22%3A%22is%22%2C%22value%22%3A%5B%22$INFO[Window(home).Property(library.tags.$PARAM[nr].title)]%22%5D%7D%5D%7D%2C%22type%22%3A%22tvshows%22%7D&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Because you watched show xyz-->
	<include name="W_TagHub_SimilarShows">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31018] $INFO[Container($PARAM[id]).ListItem.Property(searchstring)]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getsimilar&amp;type=tvshow&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'"/>
		</include>
	</include>
	<!-- Suggestions by show genre -->
	<include name="W_TagHub_TVShowsByGenre">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31278] $INFO[Container($PARAM[id]).ListItem.Property(searchstring),',']"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getbygenre&amp;unwatched=True&amp;type=tvshow&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'"/>
		</include>
	</include>
	<!-- Random shows -->
	<include name="W_TagHub_RandomShows">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31185]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="random"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="videodb://tvshows/tags/$INFO[Window(home).Property(library.tags.$PARAM[nr].id)]/?reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Genres -->
	<include name="W_TagHub_TVShowGenres">
		<param name="headline">$LOCALIZE[135]</param>
		<definition>
			<include content="PosterWidget">
				<param name="id" value="$PARAM[id]"/>
				<param name="onup" value="$PARAM[onup]"/>
				<param name="ondown" value="$PARAM[ondown]"/>
				<param name="headline" value="$PARAM[headline]"/>
				<param name="mainlabel" value="$INFO[ListItem.Title]"/>
				<param name="sublabel" value="$INFO[ListItem.Year]"/>
				<param name="widget_target" value="videos"/>
				<param name="limit" value="$VAR[PosterWidgetLimit]"/>
				<param name="content" value="plugin://script.embuary.helper/?info=getgenre&amp;type=tvshow&amp;tag='$ESCINFO[Window(home).Property(library.tags.$PARAM[nr].title)]'&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
			</include>
		</definition>
	</include>


	<!-- ############## EmbyCon widgets ############## -->


	<!-- In progress movies -->
	<include name="W_EmbyConHub_InProgressMovies">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31080]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=movies&amp;mode=GET_CONTENT&amp;use_cache=false&amp;url=%7bserver%7d%2femby%2fUsers%2f%7buserid%7d%2fItems%3fParentId%3d$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26IncludeItemTypes%3dMovie%26CollapseBoxSetItems%3dfalse%26GroupItemsIntoCollections%3dfalse%26Recursive%3dtrue%26Limit%3d%7bItemLimit%7d%26SortBy%3dDatePlayed%26SortOrder%3dDescending%26IsVirtualUnaired%3dfalse%26IsMissing%3dFalse%26Fields%3d%7bfield_filters%7d%26Filters%3dIsResumable%26ImageTypeLimit%3d1%26format%3djson&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Recently added movies -->
	<include name="W_EmbyConHub_NewMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31301]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="dateadded"/>
			<param name="sortorder" value="descending"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=Movies&amp;mode=GET_CONTENT&amp;use_cache=false&amp;url=%7Bserver%7D%2Femby%2FUsers%2F%7Buserid%7D%2FItems%2FLatest%3FLimit%3D%7BItemLimit%7D%26Recursive%3Dtrue%26GroupItems%3Dtrue%26SortBy%3DDateCreated%26Fields%3D%7Bfield_filters%7D%26SortOrder%3DDescending%26Filters%3D%7BIsUnplayed%7D%26IncludeItemTypes%3DMovie%26ImageTypeLimit%3D1%26format%3Djson%26ParentId%3d$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Recommended movies -->
	<include name="W_EmbyConHub_RecommendedMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31183]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="sortby" value="rating"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="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&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Random movies -->
	<include name="W_EmbyConHub_RandomMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31184]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="sortby" value="random"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=movies&amp;mode=GET_CONTENT&amp;use_cache=false&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&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Movie genres -->
	<include name="W_EmbyConHub_MovieGenres">
		<include content="PosterWidget">
			<param name="height" value="551"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[135]"/>
			<param name="mainlabel" value="$INFO[ListItem.Label]"/>
			<param name="sublabel" value=""/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="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)]&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>


	<!-- In progress -->
	<include name="W_EmbyConHub_InProgressShows">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31080]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=Episodes&amp;mode=GET_CONTENT&amp;use_cache=false&amp;name_format=Episode%7cepisode_name_format&amp;url=%7bserver%7d%2femby%2fUsers%2f%7buserid%7d%2fItems%3fSortBy%3DDatePlayed%2CSortName%26SortOrder%3DDescending%26ParentId%3d$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26Limit%3d%7bItemLimit%7d%26IsVirtualUnaired%3dfalse%26IsMissing%3dFalse%26Fields%3d%7bfield_filters%7d%26Filters%3dIsResumable%26Recursive%3dtrue%26IncludeItemTypes%3dEpisode%26ImageTypeLimit%3d1%26format%3djson&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Next episodes -->
	<include name="W_EmbyConHub_NextUp">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31012]"/>
			<param name="mainlabel" value="$VAR[MediaMainlabel]"/>
			<param name="sublabel" value="$VAR[MediaSublabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=Episodes&amp;mode=GET_CONTENT&amp;use_cache=false&amp;name_format=Episode%7cepisode_name_format&amp;url=%7bserver%7d%2femby%2fShows%2fNextUp%2f%3fUserid%3d%7buserid%7d%26Limit%3d%7bItemLimit%7d%26Recursive%3dtrue%26Fields%3d%7bfield_filters%7d%26Filters%3dIsUnplayed%2cIsNotFolder%26IsVirtualUnaired%3dfalse%26IsMissing%3dFalse%26IncludeItemTypes%3dEpisode%26ImageTypeLimit%3d1%26ParentId%3D$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26format%3djson&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Recently added -->
	<include name="W_EmbyConHub_NewEpisodes">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31302]"/>
			<param name="mainlabel" value="$VAR[MediaMainlabel]"/>
			<param name="sublabel" value="$VAR[MediaSublabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=Episodes&amp;mode=GET_CONTENT&amp;use_cache=false&amp;name_format=Episode%7cepisode_name_format&amp;url=%7bserver%7d%2femby%2fUsers%2f%7buserid%7d%2fItems%2fLatest%3fLimit%3d%7bItemLimit%7d%26Recursive%3dtrue%26GroupItems%3dtrue%26SortBy%3dDateCreated%26Fields%3d%7bfield_filters%7d%26SortOrder%3dDescending%26Filters%3d%7bIsUnplayed%7d%26IsVirtualUnaired%3dfalse%26IsMissing%3dFalse%26IncludeItemTypes%3dEpisode%26ParentId%3D$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26ImageTypeLimit%3d1%26format%3djson&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Recommended -->
	<include name="W_EmbyConHub_RecommendedShows">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31182]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="sortby" value="rating"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=tvshows&amp;mode=GET_CONTENT&amp;use_cache=false&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&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Random -->
	<include name="W_EmbyConHub_RandomShows">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31185]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="sortby" value="random"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=tvshows&amp;mode=GET_CONTENT&amp;use_cache=false&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&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Genre -->
	<include name="W_EmbyConHub_TVShowGenres">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="ondown" value="noop"/>
			<param name="headline" value="$LOCALIZE[135]"/>
			<param name="mainlabel" value="$INFO[ListItem.Label]"/>
			<param name="sublabel" value=""/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="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)]&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>


	<!-- recently added albums -->
	<include name="W_EmbyConHub_NewAlbums">
		<include content="SquareWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31303]"/>
			<param name="widget_target" value="music"/>
			<param name="limit" value="$VAR[SquareWidgetLimit]"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=MusicAlbums&amp;mode=GET_CONTENT&amp;use_cache=false&amp;url=%7Bserver%7D%2Femby%2FUsers%2F%7Buserid%7D%2FItems%2FLatest%3FIncludeItemTypes%3DAudio%26Limit%3D24%26Fields%3DPrimaryImageAspectRatio%252CBasicSyncInfo%26ParentId%3D$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26ImageTypeLimit%3D1%26EnableImageTypes%3DPrimary%252CBackdrop%252CBanner%252CThumb%26EnableTotalRecordCount%3Dfalse&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- recently played -->
	<include name="W_EmbyConHub_PlayedSongs">
		<include content="SquareWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31211]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Artist]"/>
			<param name="limit" value="$VAR[SquareWidgetLimit]"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=Music&amp;mode=GET_CONTENT&amp;use_cache=false&amp;url=%7Bserver%7D%2Femby%2FUsers%2F%7Buserid%7D%2FItems%3FSortBy%3DDatePlayed%26SortOrder%3DDescending%26IncludeItemTypes%3DAudio%26Limit%3D12%26Recursive%3Dtrue%26Fields%3DPrimaryImageAspectRatio%252CAudioInfo%26Filters%3DIsPlayed%26ParentId%3D$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26ImageTypeLimit%3D1%26EnableImageTypes%3DPrimary%252CBackdrop%252CBanner%252CThumb%26EnableTotalRecordCount%3Dfalse&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- often played -->
	<include name="W_EmbyConHub_OftenPlayed">
		<include content="SquareWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31215]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Artist]"/>
			<param name="limit" value="$VAR[SquareWidgetLimit]"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=Music&amp;mode=GET_CONTENT&amp;use_cache=false&amp;url=%7Bserver%7D%2Femby%2FUsers%2F%7Buserid%7D%2FItems%3FSortBy%3DPlayCount%26SortOrder%3DDescending%26IncludeItemTypes%3DAudio%26Limit%3D12%26Recursive%3Dtrue%26Fields%3DPrimaryImageAspectRatio%252CAudioInfo%26Filters%3DIsPlayed%26ParentId%3D$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26ImageTypeLimit%3D1%26EnableImageTypes%3DPrimary%252CBackdrop%252CBanner%252CThumb%26EnableTotalRecordCount%3Dfalse&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Fav artist -->
	<include name="W_EmbyConHub_FavArtists">
		<include content="SquareWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31212]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="music"/>
			<param name="limit" value="$VAR[SquareWidgetLimit]"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=MusicArtists&amp;mode=GET_CONTENT&amp;use_cache=false&amp;url=%7Bserver%7D%2Femby%2FArtists%3FSortBy%3DSortName%26SortOrder%3DAscending%26Filters%3DIsFavorite%26Recursive%3Dtrue%26Fields%3DPrimaryImageAspectRatio%252CBasicSyncInfo%26CollapseBoxSetItems%3Dfalse%26ExcludeLocationTypes%3DVirtual%26EnableTotalRecordCount%3Dfalse%26ParentId%3D$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26Limit%3D8%26userId%3D%7Buserid%7D&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- fav album -->
	<include name="W_EmbyConHub_FavAlbums">
		<include content="SquareWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31213]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Artist]"/>
			<param name="widget_target" value="music"/>
			<param name="limit" value="$VAR[SquareWidgetLimit]"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=MusicAlbums&amp;mode=GET_CONTENT&amp;use_cache=false&amp;url=%7Bserver%7D%2Femby%2FUsers%2F%7Buserid%7D%2FItems%3FSortBy%3DSortName%26SortOrder%3DAscending%26Filters%3DIsFavorite%26Recursive%3Dtrue%26Fields%3DPrimaryImageAspectRatio%252CBasicSyncInfo%26CollapseBoxSetItems%3Dfalse%26ExcludeLocationTypes%3DVirtual%26EnableTotalRecordCount%3Dfalse%26ParentId%3D$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26Limit%3D8%26IncludeItemTypes%3DMusicAlbum&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- fav song -->
	<include name="W_EmbyConHub_FavSongs">
		<include content="SquareWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31214]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Artist]"/>
			<param name="limit" value="$VAR[SquareWidgetLimit]"/>
			<param name="content" value="plugin://plugin.video.embycon/?media_type=Music&amp;mode=GET_CONTENT&amp;use_cache=false&amp;url=%7Bserver%7D%2Femby%2FUsers%2F%7Buserid%7D%2FItems%3FSortBy%3DSortName%26SortOrder%3DAscending%26Filters%3DIsFavorite%26Recursive%3Dtrue%26Fields%3DPrimaryImageAspectRatio%252CBasicSyncInfo%26CollapseBoxSetItems%3Dfalse%26ExcludeLocationTypes%3DVirtual%26EnableTotalRecordCount%3Dfalse%26ParentId%3D$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26Limit%3D8%26IncludeItemTypes%3DAudio&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>

	<!-- ############## General widgets ############## -->

	<!-- holiday specials -->
	<include name="W_SeasonalSpecial">
		<param name="layout">WideWidget</param>
		<definition>
			<include content="$PARAM[layout]">
				<param name="visible" value="[Library.HasContent(movies) | Library.HasContent(tvshows)] + !Skin.HasSetting(HideSeasonalWidgets) + [System.Date(05-04,05-05) | System.Date(12-01,12-27) | System.Date(10-30,11-01) | System.Date(09-08,09-09)]"/>
				<param name="id" value="$PARAM[id]"/>
				<param name="onup" value="$PARAM[onup]"/>
				<param name="ondown" value="$PARAM[ondown]"/>
				<param name="headline" value="$VAR[SeasonalSpecialHeadline]"/>
				<param name="headline_icon" value="$VAR[SeasonalSpecialHeadlineIcon]"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[SeasonalSpecial]"/>
			</include>
		</definition>
	</include>

	<!-- in progress media -->
	<include name="W_InProgressMedia">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31080]"/>
			<param name="mainlabel" value="$VAR[MediaMainlabel]"/>
			<param name="sublabel" value="$VAR[MediaSublabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="lastplayed"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getinprogress&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_InProgressMedia">
		<include content="WideWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31080]$VAR[EmbyConLabel]"/>
			<param name="mainlabel" value="$VAR[MediaMainlabel]"/>
			<param name="sublabel" value="$VAR[MediaSublabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="$VAR[EmbyCon.InProgressMedia]"/>
		</include>
	</include>
	<!-- PVR -->
	<include name="W_PVR">
		<include content="PVRWidget">
			<param name="visible" value="Pvr.HasTVChannels"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31256]"/>
			<param name="mainlabel" value="$VAR[MainListLabel]"/>
			<param name="thumblabel" value="$INFO[ListItem.Channelname]"/>
			<param name="sublabel" value="$INFO[ListItem.StartTime]$INFO[ListItem.EndTime, - ]"/>
			<param name="content" value="pvr://channels/tv/*?refresh=$VAR[RefreshEPG]"/>
		</include>
	</include>
	<include name="W_RecentPVR">
		<include content="PVRWidget">
			<param name="visible" value="Pvr.HasTVChannels"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31030]"/>
			<param name="mainlabel" value="$VAR[PVRWidgetMainListLabel]"/>
			<param name="thumblabel" value="$INFO[ListItem.Channelname]"/>
			<param name="sublabel" value="$INFO[ListItem.StartTime]$INFO[ListItem.EndTime, - ]"/>
			<param name="sortby" value="lastplayed"/>
			<param name="sortorder" value="descending"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="pvr://channels/tv/*?view=lastplayed&amp;refresh=$VAR[RefreshEPG]"/>
		</include>
	</include>
	<!-- NextUp -->
	<include name="W_NextUp">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31012]"/>
			<param name="mainlabel" value="$VAR[MediaMainlabel]"/>
			<param name="sublabel" value="$VAR[MediaSublabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getnextup&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_NextUp">
		<include content="WideWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31012]$VAR[EmbyConLabel]"/>
			<param name="mainlabel" value="$VAR[MediaMainlabel]"/>
			<param name="sublabel" value="$VAR[MediaSublabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="$VAR[EmbyCon.NextUp]"/>
		</include>
	</include>
	<!-- Recently added movies -->
	<include name="W_NewMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31301]"/>
			<param name="mainlabel" value="$INFO[ListItem.Label]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="dateadded"/>
			<param name="sortorder" value="descending"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="videodb://movies/titles/?xsp=%7B%22limit%22%3A25%2C%22order%22%3A%7B%22direction%22%3A%22descending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22dateadded%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22dateadded%22%7D%2C%7B%22field%22%3A%22playcount%22%2C%22operator%22%3A%22is%22%2C%22value%22%3A%5B%220%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_NewMovies">
		<include content="PosterWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31301]$VAR[EmbyConLabel]"/>
			<param name="mainlabel" value="$INFO[ListItem.Label]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="$VAR[EmbyCon.NewMovies]"/>
		</include>
	</include>
	<!-- Recently added episodes -->
	<include name="W_NewEpisodes">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31302]"/>
			<param name="mainlabel" value="$VAR[MediaMainlabel]"/>
			<param name="sublabel" value="$VAR[MediaSublabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getnewshows&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_NewEpisodes">
		<include content="WideWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31302]$VAR[EmbyConLabel]"/>
			<param name="mainlabel" value="$VAR[MediaMainlabel]"/>
			<param name="sublabel" value="$VAR[MediaSublabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="$VAR[EmbyCon.NewEpisodes]"/>
		</include>
	</include>
	<!-- Recently added albums -->
	<include name="W_NewAlbums">
		<include content="SquareWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31303]"/>
			<param name="mainlabel" value="$INFO[ListItem.Album]"/>
			<param name="sublabel" value="$INFO[ListItem.Artist]"/>
			<param name="widget_target" value="music"/>
			<param name="limit" value="$VAR[SquareWidgetLimit]"/>
			<param name="content" value="musicdb://recentlyaddedalbums/"/>
		</include>
	</include>
	<include name="W_EmbyCon_NewAlbums">
		<include content="SquareWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31303]$VAR[EmbyConLabel]"/>
			<param name="mainlabel" value="$INFO[ListItem.Album]"/>
			<param name="sublabel" value="$INFO[ListItem.Artist]"/>
			<param name="sortby" value="dateadded"/>
			<param name="sortorder" value="ascending"/>
			<param name="widget_target" value="music"/>
			<param name="limit" value="$VAR[SquareWidgetLimit]"/>
			<param name="content" value="$VAR[EmbyCon.NewAlbums]"/>
		</include>
	</include>
	<!-- In progress movies -->
	<include name="W_InProgressMovies">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31080]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="lastplayed"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getinprogress&amp;type=movie&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_InProgressMovies">
		<include content="WideWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31080]$VAR[EmbyConLabel]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="$VAR[EmbyCon.InProgressMovies]"/>
		</include>
	</include>
	<!-- Movie genres -->
	<include name="W_MovieGenres">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="height" value="551"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[135]$VAR[MovieGenreLabel, - ]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="sorttitle"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getgenre&amp;type=movie&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_MovieGenres">
		<include content="PosterWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="height" value="551"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[135]$VAR[EmbyConLabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="sorttitle"/>
			<param name="content" value="$VAR[EmbyCon.MovieGenres]"/>
		</include>
	</include>
	<!-- Recommended movies-->
	<include name="W_RecommendedMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31183]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="sortby" value="rating"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="videodb://movies/titles/?xsp=%7b%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22playcount%22%2c%22operator%22%3a%22is%22%2c%22value%22%3a%5b%220%22%5d%7d%5d%7d%2c%22type%22%3a%22movies%22%7d&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_RecommendedMovies">
		<include content="PosterWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31183]$VAR[EmbyConLabel]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="rating"/>
			<param name="sortorder" value="descending"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="$VAR[EmbyCon.RecommendedMovies]"/>
		</include>
	</include>
	<!-- Similar movies -->
	<include name="W_SimilarMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31018] $INFO[Container($PARAM[id]).ListItem.Property(searchstring)]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getsimilar&amp;type=movie&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_SimilarMovies">
		<include content="PosterWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31018] $INFO[Container($PARAM[id]).ListItem.Property(suggested_from_watching)]$VAR[EmbyConLabel]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="$VAR[EmbyCon.SimilarMovies]"/>
		</include>
	</include>
	<!-- Fav movies -->
	<include name="W_Kodi_FavMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31407]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="videodb://movies/titles/?xsp=%7b%22group%22%3a%7b%22mixed%22%3afalse%2c%22type%22%3a%22none%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22tag%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22Fav.%20Kodi%20Movies%22%5d%7d%5d%7d%2c%22type%22%3a%22movies%22%7d&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_Emby_FavMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31062] [COLOR text_sublabel](Emby)[/COLOR]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="videodb://movies/titles/?xsp=%7b%22group%22%3a%7b%22mixed%22%3afalse%2c%22type%22%3a%22none%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22tag%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22Favorite%20movies%22%5d%7d%5d%7d%2c%22type%22%3a%22movies%22%7d&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_FavMovies">
		<include content="PosterWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31062]$VAR[EmbyConLabel]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="label"/>
			<param name="content" value="$VAR[EmbyCon.FavMovies]"/>
		</include>
	</include>
	<!-- In progress episodes -->
	<include name="W_InProgressShows">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31080]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="lastplayed"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getinprogress&amp;type=tvshow&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_InProgressShows">
		<include content="WideWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31080]$VAR[EmbyConLabel]"/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="$VAR[EmbyCon.InProgressShows]"/>
		</include>
	</include>
	<!-- Genres -->
	<include name="W_TVShowGenres">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="height" value="551"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[135]$VAR[TVShowGenreLabel, - ]"/>
			<param name="sortby" value="sorttitle"/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getgenre&amp;type=tvshow&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_TVShowGenres">
		<include content="PosterWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="height" value="551"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[135]$VAR[EmbyConLabel]"/>
			<param name="sortby" value="sorttitle"/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="$VAR[EmbyCon.TVShowGenres]"/>
		</include>
	</include>
	<!-- Recommended -->
	<include name="W_RecommendedShows">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31182]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="rating"/>
			<param name="sortorder" value="descending"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="videodb://tvshows/titles/?xsp=%7b%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22playcount%22%2c%22operator%22%3a%22is%22%2c%22value%22%3a%5b%220%22%5d%7d%5d%7d%2c%22type%22%3a%22tvshows%22%7d&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_RecommendedShows">
		<include content="WideWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31182]$VAR[EmbyConLabel]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="rating"/>
			<param name="sortorder" value="descending"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="$VAR[EmbyCon.RecommendedShows]"/>
		</include>
	</include>
	<!-- Similar shows -->
	<include name="W_SimilarShows">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31018] $INFO[Container($PARAM[id]).ListItem.Property(searchstring)]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getsimilar&amp;type=tvshow&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Fav shows -->
	<include name="W_Kodi_FavShows">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31408]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="videodb://tvshows/titles/?xsp=%7b%22group%22%3a%7b%22mixed%22%3afalse%2c%22type%22%3a%22none%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22tag%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22Fav.%20Kodi%20TV%20Shows%22%5d%7d%5d%7d%2c%22type%22%3a%22tvshows%22%7d&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_Emby_FavShows">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31064] [COLOR text_sublabel](Emby)[/COLOR]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="content" value="videodb://tvshows/titles/?xsp=%7b%22group%22%3a%7b%22mixed%22%3afalse%2c%22type%22%3a%22none%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22tag%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22Favorite%20tvshows%22%5d%7d%5d%7d%2c%22type%22%3a%22tvshows%22%7d&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<include name="W_EmbyCon_FavShows">
		<include content="WideWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31064]$VAR[EmbyConLabel]"/>
			<param name="sublabel" value="$INFO[ListItem.Year]"/>
			<param name="widget_target" value="videos"/>
			<param name="sortby" value="title"/>
			<param name="sortorder" value="ascending"/>
			<param name="content" value="$VAR[EmbyCon.FavTVShows]"/>
		</include>
	</include>
	<!-- Last played albums -->
	<include name="W_PlayedAlbums">
		<include content="SquareWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[517]"/>
			<param name="widget_target" value="music"/>
			<param name="limit" value="$VAR[SquareWidgetLimit]"/>
			<param name="sortby" value="lastplayed"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="musicdb://recentlyplayedalbums/"/>
		</include>
	</include>
	<!-- Often played songs -->
	<include name="W_OftenPlayedSongs">
		<include content="SquareWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31215]"/>
			<param name="widget_target" value="music"/>
			<param name="limit" value="$VAR[SquareWidgetLimit]"/>
			<param name="sortby" value="playcount"/>
			<param name="sortorder" value="descending"/>
			<param name="use_custom_onclick" value="true"/>
			<param name="onclick" value="RunScript(script.embuary.helper,action=playall,id=$PARAM[id],type=music,method=fromhere)"/>
			<param name="content" value="musicdb://songs/"/>
		</include>
	</include>
	<include name="W_EmbyCon_OftenPlayedSongs">
		<include content="SquareWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31215]$VAR[EmbyConLabel]"/>
			<param name="widget_target" value="music"/>
			<param name="limit" value="$VAR[SquareWidgetLimit]"/>
			<param name="content" value="$VAR[EmbyCon.OftenPlayedSongs]"/>
		</include>
	</include>
	<!-- Fav artist -->
	<include name="W_EmbyCon_FavArtists">
		<include content="SquareWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31212]$VAR[EmbyConLabel]"/>
			<param name="widget_target" value="music"/>
			<param name="content" value="$VAR[EmbyCon.FavArtists]"/>
		</include>
	</include>
	<!-- Fav albumss -->
	<include name="W_EmbyCon_FavAlbums">
		<include content="SquareWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31213]$VAR[EmbyConLabel]"/>
			<param name="widget_target" value="music"/>
			<param name="content" value="$VAR[EmbyCon.FavAlbums]"/>
		</include>
	</include>
	<!-- Fav songs -->
	<include name="W_EmbyCon_FavSongs">
		<include content="SquareWidget">
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31214]$VAR[EmbyConLabel]"/>
			<param name="content" value="$VAR[EmbyCon.FavSongs]"/>
		</include>
	</include>
	<!-- Kodi favs -->
	<include name="W_Fav">
		<include content="SquareWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="height" value="476"/>
			<param name="headline" value="$LOCALIZE[1036]"/>
			<param name="content" value="favourites://"/>
			<param name="layout" value="SquareFavourites"/>
		</include>
	</include>
	<!-- Mixed suggestions by genre -->
	<include name="W_MixedByGenre">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31278] $INFO[Container($PARAM[id]).ListItem.Property(searchstring),',']"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getbygenre&amp;unwatched=True&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- Movie suggestions by genre -->
	<include name="W_MoviesByGenre">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31278] $INFO[Container($PARAM[id]).ListItem.Property(searchstring),',']"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getbygenre&amp;unwatched=True&amp;type=movie&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>
	<!-- TV show suggestions by genre -->
	<include name="W_TVShowsByGenre">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31278] $INFO[Container($PARAM[id]).ListItem.Property(searchstring),',']"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[WideWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.helper/?info=getbygenre&amp;unwatched=True&amp;type=tvshow&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/>
		</include>
	</include>

	<!-- ############## TMDB ############## -->

	<!-- currently in cinema -->
	<include name="W_Tmdb_InCinema">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31383]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Premiered]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.info/movie/now_playing"/>
		</include>
	</include>
	<!-- upcoming movies-->
	<include name="W_Tmdb_UpcomingMovies">
		<include content="PosterWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31384]"/>
			<param name="mainlabel" value="$INFO[ListItem.Title]"/>
			<param name="sublabel" value="$INFO[ListItem.Premiered]"/>
			<param name="widget_target" value="videos"/>
			<param name="limit" value="$VAR[PosterWidgetLimit]"/>
			<param name="content" value="plugin://script.embuary.info/movie/upcoming"/>
		</include>
	</include>


	<!-- ############## Custom widgets ############## -->

	<include name="W_Custom_Template">
		<include condition="!Skin.HasSetting(UserWidget$PARAM[nr]_forceIcon) + [String.IsEqual(Skin.String(UserWidget$PARAM[nr]_layout),HomePosterWidget) | String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_layout))]" content="PosterWidget">
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_path))"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$INFO[Skin.String(UserWidget$PARAM[nr]_name)]"/>
			<param name="widget_target" value="$INFO[Skin.String(UserWidget$PARAM[nr]_target)]"/>
			<param name="sortby" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortby)]"/>
			<param name="sortorder" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortorder)]"/>
			<param name="limit" value="$INFO[Skin.String(UserWidget$PARAM[nr]_limit)]"/>
			<param name="content" value="$VAR[CWidgetReloadPath$PARAM[nr]]"/>
		</include>
		<include condition="!Skin.HasSetting(UserWidget$PARAM[nr]_forceIcon) + String.IsEqual(Skin.String(UserWidget$PARAM[nr]_layout),HomeWideWidget)" content="WideWidget">
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_path))"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$INFO[Skin.String(UserWidget$PARAM[nr]_name)]"/>
			<param name="widget_target" value="$INFO[Skin.String(UserWidget$PARAM[nr]_target)]"/>
			<param name="sortby" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortby)]"/>
			<param name="sortorder" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortorder)]"/>
			<param name="limit" value="$INFO[Skin.String(UserWidget$PARAM[nr]_limit)]"/>
			<param name="content" value="$VAR[CWidgetReloadPath$PARAM[nr]]"/>
		</include>
		<include condition="!Skin.HasSetting(UserWidget$PARAM[nr]_forceIcon) + String.IsEqual(Skin.String(UserWidget$PARAM[nr]_layout),HomeSquareWidget)" content="SquareWidget">
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_path))"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$INFO[Skin.String(UserWidget$PARAM[nr]_name)]"/>
			<param name="widget_target" value="$INFO[Skin.String(UserWidget$PARAM[nr]_target)]"/>
			<param name="sortby" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortby)]"/>
			<param name="sortorder" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortorder)]"/>
			<param name="limit" value="$INFO[Skin.String(UserWidget$PARAM[nr]_limit)]"/>
			<param name="content" value="$VAR[CWidgetReloadPath$PARAM[nr]]"/>
		</include>
		<include condition="Skin.HasSetting(UserWidget$PARAM[nr]_forceIcon) + [String.IsEqual(Skin.String(UserWidget$PARAM[nr]_layout),HomePosterWidget) | String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_layout))]" content="PosterWidget">
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_path))"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$INFO[Skin.String(UserWidget$PARAM[nr]_name)]"/>
			<param name="widget_target" value="$INFO[Skin.String(UserWidget$PARAM[nr]_target)]"/>
			<param name="sortby" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortby)]"/>
			<param name="sortorder" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortorder)]"/>
			<param name="limit" value="$INFO[Skin.String(UserWidget$PARAM[nr]_limit)]"/>
			<param name="icon" value="$VAR[CWidgetDefaultIcon]"/>
			<param name="content" value="$VAR[CWidgetReloadPath$PARAM[nr]]"/>
		</include>
		<include condition="Skin.HasSetting(UserWidget$PARAM[nr]_forceIcon) + String.IsEqual(Skin.String(UserWidget$PARAM[nr]_layout),HomeWideWidget)" content="WideWidget">
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_path))"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$INFO[Skin.String(UserWidget$PARAM[nr]_name)]"/>
			<param name="widget_target" value="$INFO[Skin.String(UserWidget$PARAM[nr]_target)]"/>
			<param name="sortby" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortby)]"/>
			<param name="sortorder" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortorder)]"/>
			<param name="limit" value="$INFO[Skin.String(UserWidget$PARAM[nr]_limit)]"/>
			<param name="icon" value="$VAR[CWidgetDefaultIcon]"/>
			<param name="content" value="$VAR[CWidgetReloadPath$PARAM[nr]]"/>
		</include>
		<include condition="Skin.HasSetting(UserWidget$PARAM[nr]_forceIcon) + String.IsEqual(Skin.String(UserWidget$PARAM[nr]_layout),HomeSquareWidget)" content="SquareWidget">
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_path))"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$INFO[Skin.String(UserWidget$PARAM[nr]_name)]"/>
			<param name="widget_target" value="$INFO[Skin.String(UserWidget$PARAM[nr]_target)]"/>
			<param name="sortby" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortby)]"/>
			<param name="sortorder" value="$INFO[Skin.String(UserWidget$PARAM[nr]_sortorder)]"/>
			<param name="limit" value="$INFO[Skin.String(UserWidget$PARAM[nr]_limit)]"/>
			<param name="icon" value="$VAR[CWidgetDefaultIcon]"/>
			<param name="content" value="$VAR[CWidgetReloadPath$PARAM[nr]]"/>
		</include>
	</include>
	<include name="W_Custom1">
		<include content="W_Custom_Template">
			<param name="nr" value="1"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom2">
		<include content="W_Custom_Template">
			<param name="nr" value="2"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom3">
		<include content="W_Custom_Template">
			<param name="nr" value="3"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom4">
		<include content="W_Custom_Template">
			<param name="nr" value="4"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom5">
		<include content="W_Custom_Template">
			<param name="nr" value="5"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom6">
		<include content="W_Custom_Template">
			<param name="nr" value="6"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom7">
		<include content="W_Custom_Template">
			<param name="nr" value="7"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom8">
		<include content="W_Custom_Template">
			<param name="nr" value="8"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom9">
		<include content="W_Custom_Template">
			<param name="nr" value="9"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom10">
		<include content="W_Custom_Template">
			<param name="nr" value="10"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom11">
		<include content="W_Custom_Template">
			<param name="nr" value="11"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom12">
		<include content="W_Custom_Template">
			<param name="nr" value="12"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom13">
		<include content="W_Custom_Template">
			<param name="nr" value="13"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom14">
		<include content="W_Custom_Template">
			<param name="nr" value="14"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom15">
		<include content="W_Custom_Template">
			<param name="nr" value="15"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom16">
		<include content="W_Custom_Template">
			<param name="nr" value="16"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom17">
		<include content="W_Custom_Template">
			<param name="nr" value="17"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom18">
		<include content="W_Custom_Template">
			<param name="nr" value="18"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom19">
		<include content="W_Custom_Template">
			<param name="nr" value="19"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom20">
		<include content="W_Custom_Template">
			<param name="nr" value="20"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom21">
		<include content="W_Custom_Template">
			<param name="nr" value="21"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom22">
		<include content="W_Custom_Template">
			<param name="nr" value="22"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom23">
		<include content="W_Custom_Template">
			<param name="nr" value="23"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom24">
		<include content="W_Custom_Template">
			<param name="nr" value="24"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom25">
		<include content="W_Custom_Template">
			<param name="nr" value="25"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom26">
		<include content="W_Custom_Template">
			<param name="nr" value="26"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom27">
		<include content="W_Custom_Template">
			<param name="nr" value="27"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom28">
		<include content="W_Custom_Template">
			<param name="nr" value="28"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom29">
		<include content="W_Custom_Template">
			<param name="nr" value="29"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>
	<include name="W_Custom30">
		<include content="W_Custom_Template">
			<param name="nr" value="30"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
		</include>
	</include>

	<!-- PVR Hub -->
	<include name="W_PVR_Template">
		<include condition="String.IsEmpty(Skin.String(EPGar))" content="WideWidget">
			<param name="visible" value="$PARAM[visible]"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$PARAM[headline]"/>
			<param name="mainlabel" value="$PARAM[mainlabel]"/>
			<param name="sublabel" value="$PARAM[sublabel]"/>
			<param name="thumblabel" value="$PARAM[thumblabel]"/>
			<param name="sortby" value="$PARAM[sortby]"/>
			<param name="sortorder" value="$PARAM[sortorder]"/>
			<param name="content" value="$PARAM[content]"/>
			<param name="layout" value="PVRLandscapeLayout"/>
		</include>
		<include condition="String.IsEqual(Skin.String(EPGar),4to3)" content="4to3Widget">
			<param name="visible" value="$PARAM[visible]"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$PARAM[headline]"/>
			<param name="mainlabel" value="$PARAM[mainlabel]"/>
			<param name="sublabel" value="$PARAM[sublabel]"/>
			<param name="thumblabel" value="$PARAM[thumblabel]"/>
			<param name="sortby" value="$PARAM[sortby]"/>
			<param name="sortorder" value="$PARAM[sortorder]"/>
			<param name="content" value="$PARAM[content]"/>
			<param name="layout" value="PVR4to3Layout"/>
		</include>
		<include condition="String.IsEqual(Skin.String(EPGar),2to3)" content="PosterWidget">
			<param name="visible" value="$PARAM[visible]"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$PARAM[headline]"/>
			<param name="mainlabel" value="$PARAM[mainlabel]"/>
			<param name="sublabel" value="$PARAM[sublabel]"/>
			<param name="thumblabel" value="$PARAM[thumblabel]"/>
			<param name="sortby" value="$PARAM[sortby]"/>
			<param name="sortorder" value="$PARAM[sortorder]"/>
			<param name="content" value="$PARAM[content]"/>
			<param name="layout" value="PVRPosterLayout"/>
		</include>
	</include>
	<include name="W_PVR_OnNow">
		<include content="W_PVR_Template">
			<param name="visible" value="$PARAM[visible]"/>
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$PARAM[headline]"/>
			<param name="mainlabel" value="$VAR[PVRWidgetMainListLabel]"/>
			<param name="thumblabel" value="$INFO[ListItem.Channelname]"/>
			<param name="sublabel" value="$INFO[ListItem.StartTime]$INFO[ListItem.EndTime, - ]"/>
			<param name="content" value="pvr://channels/tv/$PARAM[group]?refresh=$VAR[RefreshEPG]"/>
		</include>
	</include>
	<include name="W_PVR_LastPlayed">
		<include content="WideWidget">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[31030]"/>
			<param name="mainlabel" value="$VAR[PVRWidgetMainListLabel]"/>
			<param name="thumblabel" value="$INFO[ListItem.Channelname]"/>
			<param name="sublabel" value="$INFO[ListItem.StartTime]$INFO[ListItem.EndTime, - ]"/>
			<param name="sortby" value="lastplayed"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="pvr://channels/tv/*?view=lastplayed&amp;refresh=$VAR[RefreshEPG]"/>
		</include>
	</include>
	<include name="W_PVR_Recordings">
		<include content="W_PVR_Template">
			<param name="id" value="$PARAM[id]"/>
			<param name="onup" value="$PARAM[onup]"/>
			<param name="ondown" value="$PARAM[ondown]"/>
			<param name="headline" value="$LOCALIZE[19017]"/>
			<param name="mainlabel" value="$VAR[PVRWidgetMainListLabel]"/>
			<param name="thumblabel" value="$INFO[ListItem.Channelname]"/>
			<param name="sublabel" value="$VAR[ListItemEpisodeName]"/>
			<param name="sortby" value="date"/>
			<param name="sortorder" value="descending"/>
			<param name="content" value="pvr://recordings/tv/active?view=flat&amp;refresh=$VAR[RefreshEPG]"/>
		</include>
	</include>

</includes>