<?xml version="1.0" encoding="UTF-8"?>
<template>
	<other include="widget">
		<!-- Template for Video Posters and Video Genres Lists -->
		<condition tag="property" attribute="name|widgetType">movies</condition>
		<condition tag="property" attribute="name|widgetType">tvshows</condition>
		<condition tag="property" attribute="name|widgetType">episodes</condition>
		<match>any</match>
		<property name="content" tag="property" attribute="name|widgetPath" />
		<property name="sortby" tag="property" attribute="name|widgetSortBy" />
		<property name="sortorder" tag="property" attribute="name|widgetOrderBy" />
		<property name="target" tag="property" attribute="name|widgetTarget" />
		<property name="limit" tag="property" attribute="name|widgetLimit" />
		<property name="target"></property>
		<property name="includename" tag="property" attribute="name|widgetPath" value="library://video/movies/genres.xml/">HomeWidgetList_VideoGenres</property>
		<property name="includename" tag="property" attribute="name|widgetPath" value="library://video/tvshows/genres.xml/">HomeWidgetList_VideoGenres</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Poster">HomeWidgetList_Poster</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Square">HomeWidgetList_Square</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Landscape">HomeWidgetList_Landscape</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Logo">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Poster">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Square">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Landscape">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Logo">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetName">HomeWidgetList_Poster</property>
		<controls>
			<control type="fixedlist" id="25">
				<include>$SKINSHORTCUTS[includename]</include>
				<skinshortcuts>visibility</skinshortcuts>
				<content browse="never" sortby="$SKINSHORTCUTS[sortby]" sortorder="$SKINSHORTCUTS[sortorder]" limit="$SKINSHORTCUTS[limit]" target="$SKINSHORTCUTS[target]">$SKINSHORTCUTS[content]</content>
				<include>HiddenHomeWidgets_Animation</include>
				<visible>String.IsEqual(Container(20).ListItem.Property(widgetAutoHide),ON)</visible>
			</control>
			<control type="fixedlist" id="25">
				<include>$SKINSHORTCUTS[includename]</include>
				<skinshortcuts>visibility</skinshortcuts>
				<content browse="never" sortby="$SKINSHORTCUTS[sortby]" sortorder="$SKINSHORTCUTS[sortorder]" limit="$SKINSHORTCUTS[limit]" target="$SKINSHORTCUTS[target]">$SKINSHORTCUTS[content]</content>
				<include>VisibleHomeWidgets_Animation</include>
				<visible>String.IsEqual(Container(20).ListItem.Property(widgetAutoHide),OFF)</visible>
			</control>
		</controls>
	</other>
 


	<other include="widget">
		<!-- Template for Music List, Music Genres Lists -->
		<condition tag="property" attribute="name|widgetType">music</condition>
		<condition tag="property" attribute="name|widgetType">artists</condition>
		<condition tag="property" attribute="name|widgetType">albums</condition>
		<condition tag="property" attribute="name|widgetType">songs</condition>
		<match>any</match>
		<property name="content" tag="property" attribute="name|widgetPath" />
		<property name="sortby" tag="property" attribute="name|widgetSortBy" />
		<property name="sortorder" tag="property" attribute="name|widgetOrderBy" />
		<property name="target" tag="property" attribute="name|widgetTarget" />
		<property name="limit" tag="property" attribute="name|widgetLimit" />
		<property name="target"></property>
		<property name="includename" tag="property" attribute="name|widgetPath" value="library://music/genres.xml/">HomeWidgetList_MusicGenres</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Poster">HomeWidgetList_Poster</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Square">HomeWidgetList_Square</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Landscape">HomeWidgetList_Landscape</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Poster">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Square">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Landscape">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Logo">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetName">HomeWidgetList_Square</property>
		<controls>
			<control type="fixedlist" id="25">
				<include>$SKINSHORTCUTS[includename]</include>
				<skinshortcuts>visibility</skinshortcuts>
				<content browse="never" sortby="$SKINSHORTCUTS[sortby]" sortorder="$SKINSHORTCUTS[sortorder]" limit="$SKINSHORTCUTS[limit]" target="$SKINSHORTCUTS[target]">$SKINSHORTCUTS[content]</content>
				<include>HiddenHomeWidgets_Animation</include>
				<visible>String.IsEqual(Container(20).ListItem.Property(widgetAutoHide),ON)</visible>
			</control>
			<control type="fixedlist" id="25">
				<include>$SKINSHORTCUTS[includename]</include>
				<skinshortcuts>visibility</skinshortcuts>
				<content browse="never" sortby="$SKINSHORTCUTS[sortby]" sortorder="$SKINSHORTCUTS[sortorder]" limit="$SKINSHORTCUTS[limit]" target="$SKINSHORTCUTS[target]">$SKINSHORTCUTS[content]</content>
				<include>VisibleHomeWidgets_Animation</include>
				<visible>String.IsEqual(Container(20).ListItem.Property(widgetAutoHide),OFF)</visible>
			</control>
		</controls>
	</other>


	<other include="widget">
		<!-- Template for widgetType="mixed" - Static Content Lists  -->
		<!-- Template for widgetType="mixed_online" - Landscape Lists -->
		<!-- Generic template for library nodes that haven't matched a template so far -->
		<condition tag="property" attribute="name|widget">Library</condition>
		<condition tag="property" attribute="name|widget">Playlist</condition>
		<condition tag="property" attribute="name|widget">source</condition>
		<condition tag="property" attribute="name|widget">Addon</condition>
		<condition tag="property" attribute="name|widget">addon</condition>
		<condition tag="property" attribute="name|widgetType">weather</condition>
		<condition tag="property" attribute="name|widgetType">submenu</condition>
		<condition tag="property" attribute="name|widgetType">mixed</condition>
		<condition tag="property" attribute="name|widgetType">mixed_online</condition>
		<match>any</match>
		<property name="content" tag="property" attribute="name|widgetPath" />
		<property name="sortby" tag="property" attribute="name|widgetSortBy" />
		<property name="sortorder" tag="property" attribute="name|widgetOrderBy" />
		<property name="target" tag="property" attribute="name|widgetTarget" />
		<property name="limit" tag="property" attribute="name|widgetLimit" />
		<property name="target"></property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Poster">HomeWidgetList_Poster</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Square">HomeWidgetList_Square</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Landscape">HomeWidgetList_Landscape</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Poster">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Square">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Landscape">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Logo">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetName">HomeWidgetList_Square</property>
		<controls>
			<control type="fixedlist" id="25">
				<include>$SKINSHORTCUTS[includename]</include>
				<skinshortcuts>visibility</skinshortcuts>
				<content browse="never" sortby="$SKINSHORTCUTS[sortby]" sortorder="$SKINSHORTCUTS[sortorder]" limit="$SKINSHORTCUTS[limit]" target="$SKINSHORTCUTS[target]">$SKINSHORTCUTS[content]</content>
				<include>HiddenHomeWidgets_Animation</include>
				<visible>String.IsEqual(Container(20).ListItem.Property(widgetAutoHide),ON)</visible>
			</control>
			<control type="fixedlist" id="25">
				<include>$SKINSHORTCUTS[includename]</include>
				<skinshortcuts>visibility</skinshortcuts>
				<content browse="never" sortby="$SKINSHORTCUTS[sortby]" sortorder="$SKINSHORTCUTS[sortorder]" limit="$SKINSHORTCUTS[limit]" target="$SKINSHORTCUTS[target]">$SKINSHORTCUTS[content]</content>
				<include>VisibleHomeWidgets_Animation</include>
				<visible>String.IsEqual(Container(20).ListItem.Property(widgetAutoHide),OFF)</visible>
			</control>
		</controls>
	</other>


	<other include="widget">
		<!-- Template for widgetType="pvr" - Square Lists -->
		<condition tag="property" attribute="name|widgetType">pvr</condition>
		<match>any</match>
		<property name="content" tag="property" attribute="name|widgetPath" />
		<property name="sortby" tag="property" attribute="name|widgetSortBy" />
		<property name="sortorder" tag="property" attribute="name|widgetOrderBy" />
		<property name="target" tag="property" attribute="name|widgetTarget" />
		<property name="limit" tag="property" attribute="name|widgetLimit" />
		<property name="target"></property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Poster">HomeWidgetList_Poster</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Square">HomeWidgetList_Square</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Landscape">HomeWidgetList_Landscape</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Poster">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Square">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Landscape">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetRatio" value="Fanart/Logo">HomeWidgetList_Fanart</property>
		<property name="includename" tag="property" attribute="name|widgetName">HomeWidgetList_Square</property>
		<controls>
			<control type="fixedlist" id="25">
				<include>$SKINSHORTCUTS[includename]</include>
				<skinshortcuts>visibility</skinshortcuts>
				<content browse="never" sortby="$SKINSHORTCUTS[sortby]" sortorder="$SKINSHORTCUTS[sortorder]" limit="$SKINSHORTCUTS[limit]" target="$SKINSHORTCUTS[target]">$SKINSHORTCUTS[content]</content>
				<include>HiddenHomeWidgets_Animation</include>
				<visible>String.IsEqual(Container(20).ListItem.Property(widgetAutoHide),ON)</visible>
			</control>
			<control type="fixedlist" id="25">
				<include>$SKINSHORTCUTS[includename]</include>
				<skinshortcuts>visibility</skinshortcuts>
				<content browse="never" sortby="$SKINSHORTCUTS[sortby]" sortorder="$SKINSHORTCUTS[sortorder]" limit="$SKINSHORTCUTS[limit]" target="$SKINSHORTCUTS[target]">$SKINSHORTCUTS[content]</content>
				<include>VisibleHomeWidgets_Animation</include>
				<visible>String.IsEqual(Container(20).ListItem.Property(widgetAutoHide),OFF)</visible>
			</control>
		</controls>
	</other>

</template>