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

	<variable name="MediaFlagsPathVar">
		<value condition="Skin.HasSetting(coloredflags)">badges/colored</value>
		<value>badges/monochrome</value>
	</variable>

	<variable name="VideoResolutionFlagVar">
		<value>$VAR[MediaFlagsPathVar]/videoresolution/$INFO[Container.ListItem.VideoResolution,,.png]</value>
	</variable>

	<variable name="MediaInfoVideoResolutionFlagVar">
		<value>$VAR[MediaFlagsPathVar]/videoresolution/$INFO[ListItem.VideoResolution,,.png]</value>
	</variable>

	<variable name="PlayerVideoResolutionFlagVar">
		<value>$VAR[MediaFlagsPathVar]/videoresolution/$INFO[VideoPlayer.VideoResolution,,.png]</value>
	</variable>

	<variable name="SearchVideoResolutionFlagVar">
		<value>$VAR[MediaFlagsPathVar]/videoresolution/$INFO[Container(6).ListItem.VideoResolution,,.png]</value>
	</variable>

	<variable name="VideoCodecFlagVar">
		<value condition="[String.Contains(Container.ListItem.FileNameAndPath,pdtv) | String.Contains(Container.ListItem.FileNameAndPath,sdtv) | String.Contains(Container.ListItem.FileNameAndPath,sd-tv)]">$VAR[MediaFlagsPathVar]/videocodec/sdtv.png</value>
		<value condition="[String.Contains(Container.ListItem.FileNameAndPath,hdtv) | String.Contains(Container.ListItem.FileNameAndPath,hd-tv) | String.Contains(Container.ListItem.FileNameAndPath,dsr)]">$VAR[MediaFlagsPathVar]/videocodec/hdtv.png</value>
		<value condition="[String.Contains(Container.ListItem.FileNameAndPath,hddvd) | String.Contains(Container.ListItem.FileNameAndPath,hd-dvd)]">$VAR[MediaFlagsPathVar]/videocodec/hddvd.png</value>
		<value condition="[String.Contains(Container.ListItem.FileNameAndPath,blu-ray) | String.Contains(Container.ListItem.FileNameAndPath,bluray) | String.Contains(Container.ListItem.FileNameAndPath,bdrip) | String.Contains(Container.ListItem.FileNameAndPath,brrip) | String.Contains(Container.ListItem.FileNameAndPath,bd25) | String.Contains(Container.ListItem.FileNameAndPath,bd50) | String.IsEqual(Container.ListItem.FileExtension,bdmv)]">$VAR[MediaFlagsPathVar]/videocodec/bluray.png</value>
		<value condition="String.Contains(Container.ListItem.FileNameAndPath,web-dl) | String.Contains(Container.ListItem.FileNameAndPath,webdl) | String.Contains(Container.ListItem.FileNameAndPath,webrip) | String.EndsWith(Container.ListItem.FileNameAndPath,.strm) | [String.IsEmpty(Container.ListItem.VideoCodec) + String.IsEmpty(Container.ListItem.AudioCodec)]">$VAR[MediaFlagsPathVar]/videocodec/webdl.png</value>
		<value condition="String.Contains(Container.ListItem.FilenameAndPath,dvd) | String.IsEqual(Container.ListItem.FileExtension,iso) | String.IsEqual(Container.ListItem.FileExtension,ifo)">$VAR[MediaFlagsPathVar]/videocodec/dvd.png</value>
		<value>$VAR[MediaFlagsPathVar]/videocodec/$INFO[Container.ListItem.VideoCodec,,.png]</value>
	</variable>

	<variable name="MediaInfoVideoCodecFlagVar">
		<value condition="[String.Contains(ListItem.FileNameAndPath,pdtv) | String.Contains(ListItem.FileNameAndPath,sdtv) | String.Contains(ListItem.FileNameAndPath,sd-tv)]">$VAR[MediaFlagsPathVar]/videocodec/sdtv.png</value>
		<value condition="[String.Contains(ListItem.FileNameAndPath,hdtv) | String.Contains(ListItem.FileNameAndPath,hd-tv) | String.Contains(ListItem.FileNameAndPath,dsr)]">$VAR[MediaFlagsPathVar]/videocodec/hdtv.png</value>
		<value condition="[String.Contains(ListItem.FileNameAndPath,hddvd) | String.Contains(ListItem.FileNameAndPath,hd-dvd)]">$VAR[MediaFlagsPathVar]/videocodec/hddvd.png</value>
		<value condition="[String.Contains(ListItem.FileNameAndPath,blu-ray) | String.Contains(ListItem.FileNameAndPath,bluray) | String.Contains(ListItem.FileNameAndPath,bdrip) | String.Contains(ListItem.FileNameAndPath,brrip) | String.Contains(ListItem.FileNameAndPath,bd25) | String.Contains(ListItem.FileNameAndPath,bd50) | String.IsEqual(ListItem.FileExtension,bdmv)]">$VAR[MediaFlagsPathVar]/videocodec/bluray.png</value>
		<value condition="String.Contains(ListItem.FileNameAndPath,web-dl) | String.Contains(ListItem.FileNameAndPath,webdl) | String.Contains(ListItem.FileNameAndPath,webrip) | String.EndsWith(ListItem.FileNameAndPath,.strm) | [String.IsEmpty(ListItem.VideoCodec) + String.IsEmpty(ListItem.AudioCodec)]">$VAR[MediaFlagsPathVar]/videocodec/webdl.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,dvd) | String.IsEqual(ListItem.FileExtension,iso) | String.IsEqual(ListItem.FileExtension,ifo)">$VAR[MediaFlagsPathVar]/videocodec/dvd.png</value>
		<value>$VAR[MediaFlagsPathVar]/videocodec/$INFO[ListItem.VideoCodec,,.png]</value>
	</variable>

	<variable name="PlayerVideoCodecFlagVar">
		<value condition="[String.Contains(Player.FileNameAndPath,pdtv) | String.Contains(Player.FileNameAndPath,sdtv) | String.Contains(Player.FileNameAndPath,sd-tv)]">$VAR[MediaFlagsPathVar]/videocodec/sdtv.png</value>
		<value condition="[String.Contains(Player.FileNameAndPath,hdtv) | String.Contains(Player.FileNameAndPath,hd-tv) | String.Contains(Player.FileNameAndPath,dsr)]">$VAR[MediaFlagsPathVar]/videocodec/hdtv.png</value>
		<value condition="[String.Contains(Player.FileNameAndPath,hddvd) | String.Contains(Player.FileNameAndPath,hd-dvd)]">$VAR[MediaFlagsPathVar]/videocodec/hddvd.png</value>
		<value condition="[String.Contains(Player.FileNameAndPath,blu-ray) | String.Contains(Player.FileNameAndPath,bluray) | String.Contains(Player.FileNameAndPath,bdrip) | String.Contains(Player.FileNameAndPath,brrip) | String.Contains(Player.FileNameAndPath,bd25) | String.Contains(Player.FileNameAndPath,bd50) | String.IsEqual(Player.FileExtension,bdmv)]">$VAR[MediaFlagsPathVar]/videocodec/bluray.png</value>
		<value condition="String.Contains(Player.FileNameAndPath,web-dl) | String.Contains(Player.FileNameAndPath,webdl) | String.Contains(Player.FileNameAndPath,webrip) | String.EndsWith(Player.FileNameAndPath,.strm)">$VAR[MediaFlagsPathVar]/videocodec/webdl.png</value>
		<value condition="String.Contains(Player.FilenameAndPath,dvd) | String.IsEqual(Player.FileExtension,iso) | String.IsEqual(Player.FileExtension,ifo)">$VAR[MediaFlagsPathVar]/videocodec/dvd.png</value>
		<value>$VAR[MediaFlagsPathVar]/videocodec/$INFO[VideoPlayer.VideoCodec,,.png]</value>
	</variable>

	<variable name="SearchVideoCodecFlagVar">
		<value condition="[String.Contains(Container(6).ListItem.FileNameAndPath,pdtv) | String.Contains(Container(6).ListItem.FileNameAndPath,sdtv) | String.Contains(Container(6).ListItem.FileNameAndPath,sd-tv)]">$VAR[MediaFlagsPathVar]/videocodec/sdtv.png</value>
		<value condition="[String.Contains(Container(6).ListItem.FileNameAndPath,hdtv) | String.Contains(Container(6).ListItem.FileNameAndPath,hd-tv) | String.Contains(Container(6).ListItem.FileNameAndPath,dsr)]">$VAR[MediaFlagsPathVar]/videocodec/hdtv.png</value>
		<value condition="[String.Contains(Container(6).ListItem.FileNameAndPath,hddvd) | String.Contains(Container(6).ListItem.FileNameAndPath,hd-dvd)]">$VAR[MediaFlagsPathVar]/videocodec/hddvd.png</value>
		<value condition="[String.Contains(Container(6).ListItem.FileNameAndPath,blu-ray) | String.Contains(Container(6).ListItem.FileNameAndPath,bluray) | String.Contains(Container(6).ListItem.FileNameAndPath,bdrip) | String.Contains(Container(6).ListItem.FileNameAndPath,brrip) | String.Contains(Container(6).ListItem.FileNameAndPath,bd25) | String.Contains(Container(6).ListItem.FileNameAndPath,bd50) | String.IsEqual(Container(6).ListItem.FileExtension,bdmv)]">$VAR[MediaFlagsPathVar]/videocodec/bluray.png</value>
		<value condition="String.Contains(Container(6).ListItem.FileNameAndPath,web-dl) | String.Contains(Container(6).ListItem.FileNameAndPath,webdl) | String.Contains(Container(6).ListItem.FileNameAndPath,webrip) | String.EndsWith(Container(6).ListItem.FileNameAndPath,.strm)">$VAR[MediaFlagsPathVar]/videocodec/webdl.png</value>
		<value condition="String.Contains(Container(6).ListItem.FilenameAndPath,dvd) | String.IsEqual(Container(6).ListItem.FileExtension,iso) | String.IsEqual(Container(6).ListItem.FileExtension,ifo)">$VAR[MediaFlagsPathVar]/videocodec/dvd.png</value>
		<value>$VAR[MediaFlagsPathVar]/videocodec/$INFO[Container(6).ListItem.VideoCodec,,.png]</value>
	</variable>

	<variable name="AudioCodecFlagVar">
		<value condition="String.Contains(Container.ListItem.FileNameAndPath,atmos) | String.Contains(Container.ListItem.AudioCodec,atmos)">$VAR[MediaFlagsPathVar]/audiocodec/atmos.png</value>
		<value condition="String.Contains(Container.ListItem.FileNameAndPath,dtsx) | String.Contains(Container.ListItem.FileNameAndPath,dts-x)">$VAR[MediaFlagsPathVar]/audiocodec/dtsx.png</value>
		<value condition="String.Contains(Container.ListItem.AudioCodec,aac)">$VAR[MediaFlagsPathVar]/audiocodec/aac.png</value>
		<value condition="[String.Contains(Container.ListItem.AudioCodec,ac3) | String.Contains(Container.ListItem.AudioCodec,ac-3) | String.Contains(Container.ListItem.AudioCodec,a-c-3)]">$VAR[MediaFlagsPathVar]/audiocodec/ac3.png</value>
		<value>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[Container.ListItem.AudioCodec,,.png]</value>
	</variable>

	<variable name="MediaInfoAudioCodecFlagVar">
		<value condition="String.Contains(ListItem.FileNameAndPath,atmos) | String.Contains(ListItem.Audiocodec,atmos)">$VAR[MediaFlagsPathVar]/audiocodec/atmos.png</value>
		<value condition="String.Contains(ListItem.FileNameAndPath,dtsx) | String.Contains(ListItem.FileNameAndPath,dts-x)">$VAR[MediaFlagsPathVar]/audiocodec/dtsx.png</value>
		<value condition="String.Contains(ListItem.AudioCodec,aac)">$VAR[MediaFlagsPathVar]/audiocodec/aac.png</value>
		<value condition="[String.Contains(ListItem.AudioCodec,ac3) | String.Contains(ListItem.AudioCodec,ac-3) | String.Contains(ListItem.AudioCodec,a-c-3)]">$VAR[MediaFlagsPathVar]/audiocodec/ac3.png</value>
		<value>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[ListItem.AudioCodec,,.png]</value>
	</variable>

	<variable name="PlayerAudioCodecFlagVar">
		<value condition="String.Contains(Player.FileNameAndPath,atmos) | String.Contains(VideoPlayer.Audiocodec,atmos)">$VAR[MediaFlagsPathVar]/audiocodec/atmos.png</value>
		<value condition="String.Contains(Player.FileNameAndPath,dtsx) | String.Contains(Player.FileNameAndPath,dts-x)">$VAR[MediaFlagsPathVar]/audiocodec/dtsx.png</value>
		<value condition="String.Contains(VideoPlayer.AudioCodec,aac)">$VAR[MediaFlagsPathVar]/audiocodec/aac.png</value>
		<value condition="[String.Contains(VideoPlayer.AudioCodec,ac3) | String.Contains(VideoPlayer.AudioCodec,ac-3) | String.Contains(VideoPlayer.AudioCodec,a-c-3)]">$VAR[MediaFlagsPathVar]/audiocodec/ac3.png</value>
		<value>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[VideoPlayer.AudioCodec,,.png]</value>
	</variable>

	<variable name="SearchAudioCodecFlagVar">
		<value condition="String.Contains(Container(6).ListItem.FileNameAndPath,atmos) | String.Contains(Container(6).ListItem.Audiocodec,atmos)">$VAR[MediaFlagsPathVar]/audiocodec/atmos.png</value>
		<value condition="String.Contains(Container(6).ListItem.FileNameAndPath,dtsx) | String.Contains(Container(6).ListItem.FileNameAndPath,dts-x)">$VAR[MediaFlagsPathVar]/audiocodec/dtsx.png</value>
		<value condition="String.Contains(Container(6).ListItem.AudioCodec,aac)">$VAR[MediaFlagsPathVar]/audiocodec/aac.png</value>
		<value condition="[String.Contains(Container(6).ListItem.AudioCodec,ac3) | String.Contains(Container(6).ListItem.AudioCodec,ac-3) | String.Contains(Container(6).ListItem.AudioCodec,a-c-3)]">$VAR[MediaFlagsPathVar]/audiocodec/ac3.png</value>
		<value>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[Container(6).ListItem.AudioCodec,,.png]</value>
	</variable>

	<variable name="HDRFlagVar">
		<value condition="String.Contains(Container.ListItem.FileNameAndPath,hdr) | String.Contains(Container.ListItem.FileNameAndPath,HDR)">$VAR[MediaFlagsPathVar]/colorrange/hdr.png</value>
		<value condition="String.Contains(Container.ListItem.FileNameAndPath,sdr) | String.Contains(Container.ListItem.FileNameAndPath,SDR)">$VAR[MediaFlagsPathVar]/colorrange/sdr.png</value>
	</variable>

	<variable name="MediaInfoHDRFlagVar">
		<value condition="String.Contains(ListItem.FileNameAndPath,hdr) | String.Contains(ListItem.FileNameAndPath,HDR)">$VAR[MediaFlagsPathVar]/colorrange/hdr.png</value>
		<value condition="String.Contains(ListItem.FileNameAndPath,sdr) | String.Contains(ListItem.FileNameAndPath,SDR)">$VAR[MediaFlagsPathVar]/colorrange/sdr.png</value>
	</variable>

	<variable name="PlayerHDRFlagVar">
		<value condition="String.Contains(Player.FileNameAndPath,hdr) | String.Contains(Player.FileNameAndPath,HDR)">$VAR[MediaFlagsPathVar]/colorrange/hdr.png</value>
		<value condition="String.Contains(Player.FileNameAndPath,sdr) | String.Contains(Player.FileNameAndPath,SDR)">$VAR[MediaFlagsPathVar]/colorrange/sdr.png</value>
	</variable>

	<variable name="SearchHDRFlagVar">
		<value condition="String.Contains(Container(6).ListItem.FileNameAndPath,hdr) | String.Contains(Container(6).ListItem.FileNameAndPath,HDR)">$VAR[MediaFlagsPathVar]/colorrange/hdr.png</value>
		<value condition="String.Contains(Container(6).ListItem.FileNameAndPath,sdr) | String.Contains(Container(6).ListItem.FileNameAndPath,SDR)">$VAR[MediaFlagsPathVar]/colorrange/sdr.png</value>
	</variable>

	<variable name="BitDepthFlagVar">
		<value condition="String.Contains(Container.ListItem.FileNameAndPath,8bit) | String.Contains(Container.ListItem.FileNameAndPath,8-bit)">$VAR[MediaFlagsPathVar]/colorrange/8bit.png</value>
		<value condition="String.Contains(Container.ListItem.FileNameAndPath,10bit) | String.Contains(Container.ListItem.FileNameAndPath,10-bit)">$VAR[MediaFlagsPathVar]/colorrange/10bit.png</value>
		<value condition="String.Contains(Container.ListItem.FileNameAndPath,12bit) | String.Contains(Container.ListItem.FileNameAndPath,12-bit)">$VAR[MediaFlagsPathVar]/colorrange/12bit.png</value>
	</variable>

	<variable name="MediaInfoBitDepthFlagVar">
		<value condition="String.Contains(ListItem.FileNameAndPath,8bit) | String.Contains(ListItem.FileNameAndPath,8-bit)">$VAR[MediaFlagsPathVar]/colorrange/8bit.png</value>
		<value condition="String.Contains(ListItem.FileNameAndPath,10bit) | String.Contains(ListItem.FileNameAndPath,10-bit)">$VAR[MediaFlagsPathVar]/colorrange/10bit.png</value>
		<value condition="String.Contains(ListItem.FileNameAndPath,12bit) | String.Contains(ListItem.FileNameAndPath,12-bit)">$VAR[MediaFlagsPathVar]/colorrange/12bit.png</value>
	</variable>

	<variable name="PlayerBitDepthFlagVar">
		<value condition="String.Contains(Player.FileNameAndPath,8bit) | String.Contains(Player.FileNameAndPath,8-bit)">$VAR[MediaFlagsPathVar]/colorrange/8bit.png</value>
		<value condition="String.Contains(Player.FileNameAndPath,10bit) | String.Contains(Player.FileNameAndPath,10-bit)">$VAR[MediaFlagsPathVar]/colorrange/10bit.png</value>
		<value condition="String.Contains(Player.FileNameAndPath,12bit) | String.Contains(Player.FileNameAndPath,12-bit)">$VAR[MediaFlagsPathVar]/colorrange/12bit.png</value>
	</variable>

	<variable name="SearchBitDepthFlagVar">
		<value condition="String.Contains(Container(6).ListItem.FileNameAndPath,8bit) | String.Contains(Container(6).ListItem.FileNameAndPath,8-bit)">$VAR[MediaFlagsPathVar]/colorrange/8bit.png</value>
		<value condition="String.Contains(Container(6).ListItem.FileNameAndPath,10bit) | String.Contains(Container(6).ListItem.FileNameAndPath,10-bit)">$VAR[MediaFlagsPathVar]/colorrange/10bit.png</value>
		<value condition="String.Contains(Container(6).ListItem.FileNameAndPath,12bit) | String.Contains(Container(6).ListItem.FileNameAndPath,12-bit)">$VAR[MediaFlagsPathVar]/colorrange/12bit.png</value>
	</variable>

	<variable name="PVRStatusImageVar">
		<value condition="ListItem.IsRecording">img/PVR-IsRecording.png</value>
		<value condition="ListItem.HasTimer | ListItem.HasTimerSchedule">img/PVR-HasTimer.png</value>
		<value condition="ListItem.HasArchive">img/PVR-HasArchive.png</value>
	</variable>

	<include name="ListWatchedOverlay">
		<param name="isFocused">false</param>
		<param name="itemheight">72</param>
		<param name="BGposy">15</param>
		<definition>
			<control type="group">
				<visible>Window.IsActive(MyPVRRecordings.xml) | [Container.Content(files) | Container.Content(videos) | Container.Content(movies) | Container.Content(sets) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes) | Container.Content(addons)]</visible>
				<!-- Overlay image when panel is in original position -->
				<control type="image">
					<visible>[![Container.Content(tvshows) | container.content(seasons) | Container.Content(addons)] | [[Container.Content(tvshows) | container.content(seasons)] + !Integer.IsGreater(Listitem.Property(UnwatchedEpisodes),0)]] + !$EXP[ListPanelIsDisabled] + !$EXP[ListPanelIsSwapped]</visible>
					<posx>1295</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image when panel is swapped -->
				<control type="image">
					<visible>[![Container.Content(tvshows) | container.content(seasons) | Container.Content(addons)] | [[Container.Content(tvshows) | container.content(seasons)] + !Integer.IsGreater(Listitem.Property(UnwatchedEpisodes),0)]] + !$EXP[ListPanelIsDisabled] + $EXP[ListPanelIsSwapped]</visible>
					<posx>596r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image when panel is disabled -->
				<control type="image">
					<visible>[![Container.Content(tvshows) | container.content(seasons) | Container.Content(addons)] | [[Container.Content(tvshows) | container.content(seasons)] + !Integer.IsGreater(Listitem.Property(UnwatchedEpisodes),0)]] + $EXP[ListPanelIsDisabled]</visible>
					<posx>46r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image for addons when panel is original position -->
				<control type="image">
					<visible>Container.Content(addons) + !$EXP[ListPanelIsDisabled] + !$EXP[ListPanelIsSwapped]</visible>
					<posx>1295</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image for addons when panel is swapped -->
				<control type="image">
					<visible>Container.Content(addons) + !$EXP[ListPanelIsDisabled] + $EXP[ListPanelIsSwapped]</visible>
					<posx>606r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image for addons when panel is disabled -->
				<control type="image">
					<visible>Container.Content(addons) + $EXP[ListPanelIsDisabled]</visible>
					<posx>46r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Number of unwatched episodes for tv shows when panel is in oiginal position -->
				<control type="group">
					<visible>!ListItem.IsParentFolder + [Container.content(tvshows) | container.content(seasons)] + !$EXP[ListPanelIsDisabled] + !$EXP[ListPanelIsSwapped]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image" description="Label2 BG">
						<visible>$PARAM[isFocused]</visible>
						<posx>1275</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
						<colordiffuse>$VAR[FocusedTextColor]</colordiffuse>
					</control>
					<control type="image" description="Label2 BG">
						<visible>!$PARAM[isFocused]</visible>
						<posx>1275</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
					</control>
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<posx>1250</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[FocusedTextColor]</textcolor>
						<shadowcolor />
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<posx>1250</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[HighlightColor]</textcolor>
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
				</control>
				<!-- Number of unwatched episodes when panel is swapped -->
				<control type="group">
					<visible>!ListItem.IsParentFolder + [Container.content(tvshows) | container.content(seasons)] + !$EXP[ListPanelIsDisabled] + $EXP[ListPanelIsSwapped]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image" description="Label2 BG">
						<visible>$PARAM[isFocused]</visible>
						<posx>615r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
						<colordiffuse>$VAR[FocusedTextColor]</colordiffuse>
					</control>
					<control type="image" description="Label2 BG">
						<visible>!$PARAM[isFocused]</visible>
						<posx>615r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
					</control>
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<posx>640r</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[FocusedTextColor]</textcolor>
						<shadowcolor />
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<posx>640r</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[HighlightColor]</textcolor>
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
				</control>
				<!-- Number of unwatched episodes when panel is disabled -->
				<control type="group">
					<visible>!ListItem.IsParentFolder + [Container.content(tvshows) | container.content(seasons)] + $EXP[ListPanelIsDisabled]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image" description="Label2 BG">
						<visible>$PARAM[isFocused]</visible>
						<posx>65r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
						<colordiffuse>$VAR[FocusedTextColor]</colordiffuse>
					</control>
					<control type="image" description="Label2 BG">
						<visible>!$PARAM[isFocused]</visible>
						<posx>65r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
					</control>
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<right>-10</right>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[FocusedTextColor]</textcolor>
						<shadowcolor />
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<right>-10</right>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[HighlightColor]</textcolor>
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
				</control>
			</control>
		</definition>
	</include>

	<include name="LowListWatchedOverlay">
		<param name="isFocused">false</param>
		<param name="itemheight">72</param>
		<param name="BGposy">15</param>
		<definition>
			<control type="group">
				<visible>Window.IsActive(MyPVRRecordings.xml) | [Container.Content(files) | Container.Content(videos) | Container.Content(movies) | Container.Content(sets) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes) | Container.Content(addons)]</visible>
				<!-- Overlay image when panel is in original position -->
				<control type="image">
					<visible>[![Container.Content(tvshows) | container.content(seasons) | Container.Content(addons)] | [[Container.Content(tvshows) | container.content(seasons)] + !Integer.IsGreater(Listitem.Property(UnwatchedEpisodes),0)]] + !$EXP[LowListPanelIsDisabled] + !$EXP[LowListPanelIsSwapped]</visible>
					<posx>1495</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image when panel is swapped -->
				<control type="image">
					<visible>[![Container.Content(tvshows) | container.content(seasons) | Container.Content(addons)] | [[Container.Content(tvshows) | container.content(seasons)] + !Integer.IsGreater(Listitem.Property(UnwatchedEpisodes),0)]] + !$EXP[LowListPanelIsDisabled] + $EXP[LowListPanelIsSwapped]</visible>
					<posx>586r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image when panel is disabled -->
				<control type="image">
					<visible>[![Container.Content(tvshows) | container.content(seasons) | Container.Content(addons)] | [[Container.Content(tvshows) | container.content(seasons)] + !Integer.IsGreater(Listitem.Property(UnwatchedEpisodes),0)]] + $EXP[LowListPanelIsDisabled]</visible>
					<posx>46r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image for addons when panel is original position -->
				<control type="image">
					<visible>Container.Content(addons) + !$EXP[LowListPanelIsDisabled] + !$EXP[LowListPanelIsSwapped]</visible>
					<posx>1495</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image for addons when panel is swapped -->
				<control type="image">
					<visible>Container.Content(addons) + !$EXP[LowListPanelIsDisabled] + $EXP[LowListPanelIsSwapped]</visible>
					<posx>606r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image for addons when panel is disabled -->
				<control type="image">
					<visible>Container.Content(addons) + $EXP[LowListPanelIsDisabled]</visible>
					<posx>46r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Number of unwatched episodes for tv shows when panel is in oiginal position -->
				<control type="group">
					<visible>!ListItem.IsParentFolder + [Container.content(tvshows) | container.content(seasons)] + !$EXP[LowListPanelIsDisabled] + !$EXP[LowListPanelIsSwapped]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image" description="Label2 BG">
						<visible>$PARAM[isFocused]</visible>
						<posx>1475</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
						<colordiffuse>$VAR[FocusedTextColor]</colordiffuse>
					</control>
					<control type="image" description="Label2 BG">
						<visible>!$PARAM[isFocused]</visible>
						<posx>1475</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
					</control>
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<posx>1450</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[FocusedTextColor]</textcolor>
						<shadowcolor />
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<posx>1450</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[HighlightColor]</textcolor>
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
				</control>
				<!-- Number of unwatched episodes when panel is swapped -->
				<control type="group">
					<visible>!ListItem.IsParentFolder + [Container.content(tvshows) | container.content(seasons)] + !$EXP[LowListPanelIsDisabled] + $EXP[LowListPanelIsSwapped]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image" description="Label2 BG">
						<visible>$PARAM[isFocused]</visible>
						<posx>615r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
						<colordiffuse>$VAR[FocusedTextColor]</colordiffuse>
					</control>
					<control type="image" description="Label2 BG">
						<visible>!$PARAM[isFocused]</visible>
						<posx>615r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
					</control>
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<posx>640r</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[FocusedTextColor]</textcolor>
						<shadowcolor />
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<posx>640r</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[HighlightColor]</textcolor>
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
				</control>
				<!-- Number of unwatched episodes when panel is disabled -->
				<control type="group">
					<visible>!ListItem.IsParentFolder + [Container.content(tvshows) | container.content(seasons)] + $EXP[LowListPanelIsDisabled]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image" description="Label2 BG">
						<visible>$PARAM[isFocused]</visible>
						<posx>65r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
						<colordiffuse>$VAR[FocusedTextColor]</colordiffuse>
					</control>
					<control type="image" description="Label2 BG">
						<visible>!$PARAM[isFocused]</visible>
						<posx>65r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
					</control>
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<right>-10</right>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[FocusedTextColor]</textcolor>
						<shadowcolor />
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<right>-10</right>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[HighlightColor]</textcolor>
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
				</control>
			</control>
		</definition>
	</include>

	<include name="TallListWatchedOverlay">
		<param name="isFocused">false</param>
		<param name="itemheight">72</param>
		<param name="BGposy">15</param>
		<definition>
			<control type="group">
				<visible>Window.IsActive(MyPVRRecordings.xml) | [Container.Content(files) | Container.Content(videos) | Container.Content(movies) | Container.Content(sets) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes) | Container.Content(addons)]</visible>
				<!-- Overlay image when panel is in original position -->
				<control type="image">
					<visible>[![Container.Content(tvshows) | container.content(seasons) | Container.Content(addons)] | [[Container.Content(tvshows) | container.content(seasons)] + !Integer.IsGreater(Listitem.Property(UnwatchedEpisodes),0)]] + !$EXP[TallListPanelIsDisabled] + !$EXP[TallListPanelIsSwapped]</visible>
					<posx>1295</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image when panel is swapped -->
				<control type="image">
					<visible>[![Container.Content(tvshows) | container.content(seasons) | Container.Content(addons)] | [[Container.Content(tvshows) | container.content(seasons)] + !Integer.IsGreater(Listitem.Property(UnwatchedEpisodes),0)]] + !$EXP[TallListPanelIsDisabled] + $EXP[TallListPanelIsSwapped]</visible>
					<posx>536r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image when panel is disabled -->
				<control type="image">
					<visible>[![Container.Content(tvshows) | container.content(seasons) | Container.Content(addons)] | [[Container.Content(tvshows) | container.content(seasons)] + !Integer.IsGreater(Listitem.Property(UnwatchedEpisodes),0)]] + $EXP[TallListPanelIsDisabled]</visible>
					<posx>46r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image for addons when panel is original position -->
				<control type="image">
					<visible>Container.Content(addons) + !$EXP[TallListPanelIsDisabled] + !$EXP[TallListPanelIsSwapped]</visible>
					<posx>1295</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image for addons when panel is swapped -->
				<control type="image">
					<visible>Container.Content(addons) + !$EXP[TallListPanelIsDisabled] + $EXP[TallListPanelIsSwapped]</visible>
					<posx>536r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image for addons when panel is disabled -->
				<control type="image">
					<visible>Container.Content(addons) + $EXP[TallListPanelIsDisabled]</visible>
					<posx>46r</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Number of unwatched episodes for tv shows when panel is in oiginal position -->
				<control type="group">
					<visible>!ListItem.IsParentFolder + [Container.content(tvshows) | container.content(seasons)] + !$EXP[TallListPanelIsDisabled] + !$EXP[TallListPanelIsSwapped]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image" description="Label2 BG">
						<visible>$PARAM[isFocused]</visible>
						<posx>1275</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
						<colordiffuse>$VAR[FocusedTextColor]</colordiffuse>
					</control>
					<control type="image" description="Label2 BG">
						<visible>!$PARAM[isFocused]</visible>
						<posx>1275</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
					</control>
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<posx>1250</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[FocusedTextColor]</textcolor>
						<shadowcolor />
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<posx>1250</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[HighlightColor]</textcolor>
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
				</control>
				<!-- Number of unwatched episodes when panel is swapped -->
				<control type="group">
					<visible>!ListItem.IsParentFolder + [Container.content(tvshows) | container.content(seasons)] + !$EXP[TallListPanelIsDisabled] + $EXP[TallListPanelIsSwapped]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image" description="Label2 BG">
						<visible>$PARAM[isFocused]</visible>
						<posx>555r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
						<colordiffuse>$VAR[FocusedTextColor]</colordiffuse>
					</control>
					<control type="image" description="Label2 BG">
						<visible>!$PARAM[isFocused]</visible>
						<posx>555r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
					</control>
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<posx>580r</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[FocusedTextColor]</textcolor>
						<shadowcolor />
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<posx>580r</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[HighlightColor]</textcolor>
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
				</control>
				<!-- Number of unwatched episodes when panel is disabled -->
				<control type="group">
					<visible>!ListItem.IsParentFolder + [Container.content(tvshows) | container.content(seasons)] + $EXP[TallListPanelIsDisabled]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image" description="Label2 BG">
						<visible>$PARAM[isFocused]</visible>
						<posx>65r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
						<colordiffuse>$VAR[FocusedTextColor]</colordiffuse>
					</control>
					<control type="image" description="Label2 BG">
						<visible>!$PARAM[isFocused]</visible>
						<posx>65r</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
					</control>
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<right>-10</right>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[FocusedTextColor]</textcolor>
						<shadowcolor />
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<right>-10</right>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[HighlightColor]</textcolor>
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
				</control>
			</control>
		</definition>
	</include>

	<include name="SimpleListWatchedOverlay">
		<param name="isFocused">false</param>
		<param name="itemheight">72</param>
		<param name="overlaypos">535</param>
		<param name="episodesbackgroundpos">520</param>
		<param name="episodeslabelpos">495</param>
		<param name="BGposy">15</param>
		<definition>
			<control type="group">
				<visible>Window.IsActive(MyPVRRecordings.xml) | [Container.Content(files) | Container.Content(videos) | Container.Content(movies) | Container.Content(sets) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes) | Container.Content(addons)]</visible>
				<!-- Overlay image when panel is in original position -->
				<control type="image">
					<visible>[![Container.Content(tvshows) | container.content(seasons) | Container.Content(addons)] | [[Container.Content(tvshows) | container.content(seasons)] + !Integer.IsGreater(Listitem.Property(UnwatchedEpisodes),0)]]</visible>
					<posx>$PARAM[overlaypos]</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Overlay image for addons when panel is original position -->
				<control type="image">
					<visible>Container.Content(addons)</visible>
					<posx>$PARAM[overlaypos]</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
				</control>
				<!-- Number of unwatched episodes for tv shows when panel is in oiginal position -->
				<control type="group">
					<visible>!ListItem.IsParentFolder + [Container.content(tvshows) | container.content(seasons)]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image" description="Label2 BG">
						<visible>$PARAM[isFocused]</visible>
						<posx>$PARAM[episodesbackgroundpos]</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
						<colordiffuse>$VAR[FocusedTextColor]</colordiffuse>
					</control>
					<control type="image" description="Label2 BG">
						<visible>!$PARAM[isFocused]</visible>
						<posx>$PARAM[episodesbackgroundpos]</posx>
						<posy>$PARAM[BGposy]</posy>
						<width>50</width>
						<height>42</height>
						<texture border="3">img/WhiteRoundedT.png</texture>
					</control>
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<posx>$PARAM[episodeslabelpos]</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[FocusedTextColor]</textcolor>
						<shadowcolor />
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<posx>$PARAM[episodeslabelpos]</posx>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetails</font>
						<align>center</align>
						<textcolor>$VAR[HighlightColor]</textcolor>
						<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
					</control>
				</control>
			</control>
		</definition>
	</include>

	<include name="RightListWatchedOverlay">
		<param name="isFocused">false</param>
		<param name="itemheight">72</param>
		<param name="overlaypos">535</param>
		<param name="posy">5</param>
		<definition>
			<control type="group">
				<visible>Window.IsActive(MyPVRRecordings.xml) | [Container.Content(files) | Container.Content(videos) | Container.Content(movies) | Container.Content(sets) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes) | Container.Content(addons)]</visible>
				<posy>$PARAM[posy]</posy>
				<control type="image">
					<visible>!Container.Content(addons)</visible>
					<posx>$PARAM[overlaypos]</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
					<visible>!$PARAM[isFocused]</visible>
				</control>
				<control type="image">
					<visible>Container.Content(addons)</visible>
					<posx>$PARAM[overlaypos]</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
					<visible>!$PARAM[isFocused]</visible>
				</control>
				<control type="image">
					<visible>!Container.Content(addons)</visible>
					<posx>$PARAM[overlaypos]</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[Overlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
					<colordiffuse>$VAR[HighlightColor]</colordiffuse>
					<visible>$PARAM[isFocused]</visible>
				</control>
				<control type="image">
					<visible>Container.Content(addons)</visible>
					<posx>$PARAM[overlaypos]</posx>
					<width>30</width>
					<height>$PARAM[itemheight]</height>
					<texture>$VAR[AddonOverlay]</texture>
					<aspectratio aligny="center">keep</aspectratio>
					<colordiffuse>$VAR[HighlightColor]</colordiffuse>
					<visible>$PARAM[isFocused]</visible>
				</control>
			</control>
		</definition>
	</include>

	<include name="RecOverlay">
		<control type="image">
			<posx>880</posx>
			<width>24</width>
			<height>99</height>
			<texture>$VAR[PVRStatusImageVar]</texture>
			<aspectratio>keep</aspectratio>
			<visible>ListItem.IsRecording | ListItem.HasTimer | ListItem.HasTimerSchedule | ListItem.HasArchive</visible>
		</control>
	</include>

	<include name="MediaFlagItems">
		<param name="itemwidth" default="90"/>
		<param name="itemheight" default="80"/>
		<param name="diffuse">Silver</param>
		<param name="showvideobadge">true</param>
		<param name="showaudiobadge">true</param>
		<param name="showratingbadge">true</param>
		<param name="lowpanel">false</param>
		<param name="coloruserratingtop">-2</param>
		<definition>
			<control type="image" id="89001">
				<visible>!String.IsEmpty(Container.ListItem.VideoResolution)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + !Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[VideoResolutionFlagVar]</texture>
			</control>
			<control type="image" id="89001">
				<visible>!String.IsEmpty(Container.ListItem.VideoResolution)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[VideoResolutionFlagVar]</texture>
			</control>
			<control type="image" id="89002">
				<visible>!String.IsEmpty(Container.ListItem.VideoCodec)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + !Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[VideoCodecFlagVar]</texture>
			</control>
			<control type="image" id="89002">
				<visible>!String.IsEmpty(Container.ListItem.VideoCodec)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[VideoCodecFlagVar]</texture>
			</control>
			<control type="image" id="89003">
				<visible>!String.IsEmpty(Container.ListItem.VideoAspect)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + !Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/aspectratio/$INFO[Container.ListItem.VideoAspect,,.png]</texture>
			</control>
			<control type="image" id="89003">
				<visible>!String.IsEmpty(Container.ListItem.VideoAspect)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/aspectratio/$INFO[Container.ListItem.VideoAspect,,.png]</texture>
			</control>
			<control type="image" id="89004">
				<visible>Container.ListItem.IsStereoscopic + !Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>badges/3D.png</texture>
			</control>
			<control type="image" id="89004">
				<visible>Container.ListItem.IsStereoscopic + Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>badges/3D.png</texture>
			</control>
			<control type="image" id="89005">
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + !Skin.HasSetting(coloredflags) + Skin.HasSetting(Show.ColorRangeFlags) + [String.Contains(Container.ListItem.Filename,hdr) | String.Contains(Container.ListItem.Filename,sdr)]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[HDRFlagVar]</texture>
			</control>
			<control type="image" id="89005">
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(coloredflags) + Skin.HasSetting(Show.ColorRangeFlags) + [String.Contains(Container.ListItem.Filename,hdr) | String.Contains(Container.ListItem.Filename,sdr)]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[HDRFlagVar]</texture>
			</control>
			<control type="image" id="89006">
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(Show.ColorRangeFlags) + !Skin.HasSetting(coloredflags) + [[String.Contains(Container.ListItem.FileNameAndPath,8bit) | String.Contains(Container.ListItem.FileNameAndPath,8-bit)] | [String.Contains(Container.ListItem.FileNameAndPath,10bit) | String.Contains(Container.ListItem.FileNameAndPath,10-bit)] | [String.Contains(Container.ListItem.FileNameAndPath,12bit) | String.Contains(Container.ListItem.FileNameAndPath,12-bit)]]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[BitDepthFlagVar]</texture>
			</control>
			<control type="image" id="89006">
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(Show.ColorRangeFlags) + Skin.HasSetting(coloredflags) + [[String.Contains(Container.ListItem.FileNameAndPath,8bit) | String.Contains(Container.ListItem.FileNameAndPath,8-bit)] | [String.Contains(Container.ListItem.FileNameAndPath,10bit) | String.Contains(Container.ListItem.FileNameAndPath,10-bit)] | [String.Contains(Container.ListItem.FileNameAndPath,12bit) | String.Contains(Container.ListItem.FileNameAndPath,12-bit)]]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[BitDepthFlagVar]</texture>
			</control>
			<control type="image" id="89007">
				<visible>!String.IsEmpty(Container.ListItem.AudioCodec) + !Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[AudioCodecFlagVar]</texture>
			</control>
			<control type="image" id="89007">
				<visible>!String.IsEmpty(Container.ListItem.AudioCodec) + Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[AudioCodecFlagVar]</texture>
			</control>
			<control type="label" id="89000">
				<height>$PARAM[itemheight]</height>
				<width>110</width>
				<font>ListDetails</font>
				<align>left</align>
				<textcolor>$VAR[HighlightColor]</textcolor>
				<label>$INFO[Container.ListItem.BitRate] $LOCALIZE[32480]</label>
				<visible>$PARAM[showaudiobadge]</visible>
				<visible>String.IsEqual(Container.ListItem.DBType,song)</visible>
				<visible>!String.IsEmpty(Container.ListItem.BitRate)</visible>
			</control>
			<control type="image" id="89008">
				<visible>!String.IsEmpty(Container.ListItem.FileExtension) + !Skin.HasSetting(coloredflags)</visible>
				<visible>String.IsEqual(Container.ListItem.DBType,song)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[Container.ListItem.FileExtension,,.png]</texture>
			</control>
			<control type="image" id="89008">
				<visible>!String.IsEmpty(Container.ListItem.FileExtension) + Skin.HasSetting(coloredflags)</visible>
				<visible>String.IsEqual(Container.ListItem.DBType,song)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[Container.ListItem.FileExtension,,.png]</texture>
			</control>
			<control type="image" id="89009">
				<visible>!String.IsEmpty(Container.ListItem.AudioChannels) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/audiochannels/channels$INFO[Container.ListItem.AudioChannels,,.png]</texture>
			</control>
			<control type="image" id="89009">
				<visible>!String.IsEmpty(Container.ListItem.AudioChannels) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/audiochannels/channels$INFO[Container.ListItem.AudioChannels,,.png]</texture>
			</control>
			<control type="image" id="890091">
				<visible>!String.IsEmpty(Container.ListItem.MusicChannels) + !Skin.HasSetting(coloredflags)</visible>
				<visible>String.IsEqual(Container.ListItem.DBType,song)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/audiochannels/channels$INFO[Container.ListItem.MusicChannels,,.png]</texture>
			</control>
			<control type="image" id="890091">
				<visible>!String.IsEmpty(Container.ListItem.MusicChannels) + Skin.HasSetting(coloredflags)</visible>
				<visible>String.IsEqual(Container.ListItem.DBType,song)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/audiochannels/channels$INFO[Container.ListItem.MusicChannels,,.png]</texture>
			</control>
			<control type="image" id="89010" description="Stars">
				<visible>$PARAM[showratingbadge] + !String.IsEmpty(Container.ListItem.DBID) + Skin.HasSetting(ShowRatingUser) + !Skin.HasSetting(coloredflags)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[Container.ListItem.ratingbadge]</texture>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
			</control>
			<control type="grouplist" description="User rating">
				<visible>$PARAM[showratingbadge] + !String.IsEmpty(Container.ListItem.DBID) + Skin.HasSetting(ShowRatingUser) + Skin.HasSetting(coloredflags)</visible>
				<width>$PARAM[itemwidth]</width>
				<height>$PARAM[itemheight]</height>
				<orientation>horizontal</orientation>
				<usecontrolcoords>true</usecontrolcoords>
				<itemgap>5</itemgap>
				<align>left</align>
				<top>$PARAM[coloruserratingtop]</top>
				<control type="image" description="User Rating logo">
					<width>40</width>
					<aspectratio>keep</aspectratio>
					<aligny>center</aligny>
					<align>center</align>
					<texture>badges/ratings/userrating2.png</texture>
				</control>
				<control type="label" description="User Rating">
					<width>40</width>
					<font>ListDetails</font>
					<align>left</align>
					<top>6</top>
					<textcolor>$VAR[HighlightColor]</textcolor>
					<label>$INFO[Container.ListItem.UserRating]</label>
					<visible>!String.IsEmpty(Container.ListItem.UserRating)</visible>
					<visible>!$PARAM[lowpanel]</visible>
				</control>
				<control type="label" description="User Rating">
					<width>40</width>
					<font>ListDetails</font>
					<align>left</align>
					<top>-7</top>
					<textcolor>$VAR[HighlightColor]</textcolor>
					<label>$INFO[Container.ListItem.UserRating]</label>
					<visible>!String.IsEmpty(Container.ListItem.UserRating)</visible>
					<visible>$PARAM[lowpanel]</visible>
				</control>
				<control type="label" description="User Rating">
					<width>40</width>
					<font>ListDetails</font>
					<align>left</align>
					<top>8</top>
					<textcolor>$VAR[HighlightColor]</textcolor>
					<label>-</label>
					<visible>String.IsEmpty(Container.ListItem.UserRating)</visible>
					<visible>!$PARAM[lowpanel]</visible>
				</control>
				<control type="label" description="User Rating">
					<width>40</width>
					<font>ListDetails</font>
					<align>left</align>
					<top>-5</top>
					<textcolor>$VAR[HighlightColor]</textcolor>
					<label>-</label>
					<visible>String.IsEmpty(Container.ListItem.UserRating)</visible>
					<visible>$PARAM[lowpanel]</visible>
				</control>
			</control>
		</definition>
	</include>

	<include name="MediaInfoMediaFlagItems">
		<param name="itemwidth" default="90"/>
		<param name="itemheight" default="80"/>
		<param name="diffuse">Silver</param>
		<param name="showvideobadge">true</param>
		<param name="showaudiobadge">true</param>
		<definition>
			<control type="image" id="89001">
				<visible>!String.IsEmpty(ListItem.VideoResolution) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaInfoVideoResolutionFlagVar]</texture>
			</control>
			<control type="image" id="89001">
				<visible>!String.IsEmpty(ListItem.VideoResolution) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaInfoVideoResolutionFlagVar]</texture>
			</control>
			<control type="image" id="89002">
				<visible>!String.IsEmpty(ListItem.VideoCodec) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaInfoVideoCodecFlagVar]</texture>
			</control>
			<control type="image" id="89002">
				<visible>!String.IsEmpty(ListItem.VideoCodec) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaInfoVideoCodecFlagVar]</texture>
			</control>
			<control type="image" id="89003">
				<visible>!String.IsEmpty(ListItem.VideoAspect) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/aspectratio/$INFO[ListItem.VideoAspect,,.png]</texture>
			</control>
			<control type="image" id="89003">
				<visible>!String.IsEmpty(ListItem.VideoAspect) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/aspectratio/$INFO[ListItem.VideoAspect,,.png]</texture>
			</control>
			<control type="image" id="89004">
				<visible>ListItem.IsStereoscopic + !Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>badges/3D.png</texture>
			</control>
			<control type="image" id="89004">
				<visible>ListItem.IsStereoscopic + Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>badges/3D.png</texture>
			</control>
			<control type="image" id="89005">
				<visible>!String.IsEmpty(ListItem.VideoResolution) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(Show.ColorRangeFlags) + [String.Contains(ListItem.Filename,hdr) | String.Contains(ListItem.Filename,sdr)]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaInfoHDRFlagVar]</texture>
			</control>
			<control type="image" id="89005">
				<visible>!String.IsEmpty(ListItem.VideoResolution) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(Show.ColorRangeFlags) + [String.Contains(ListItem.Filename,hdr) | String.Contains(ListItem.Filename,sdr)]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaInfoHDRFlagVar]</texture>
			</control>
			<control type="image" id="89006">
				<visible>!String.IsEmpty(ListItem.VideoResolution) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(Show.ColorRangeFlags) + [[String.Contains(ListItem.FileNameAndPath,8bit) | String.Contains(ListItem.FileNameAndPath,8-bit)] | [String.Contains(ListItem.FileNameAndPath,10bit) | String.Contains(ListItem.FileNameAndPath,10-bit)] | [String.Contains(ListItem.FileNameAndPath,12bit) | String.Contains(ListItem.FileNameAndPath,12-bit)]]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaInfoBitDepthFlagVar]</texture>
			</control>
			<control type="image" id="89006">
				<visible>!String.IsEmpty(ListItem.VideoResolution) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(Show.ColorRangeFlags) + [[String.Contains(ListItem.FileNameAndPath,8bit) | String.Contains(ListItem.FileNameAndPath,8-bit)] | [String.Contains(ListItem.FileNameAndPath,10bit) | String.Contains(ListItem.FileNameAndPath,10-bit)] | [String.Contains(ListItem.FileNameAndPath,12bit) | String.Contains(ListItem.FileNameAndPath,12-bit)]]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaInfoBitDepthFlagVar]</texture>
			</control>
			<control type="image" id="89007">
				<visible>!String.IsEmpty(ListItem.AudioCodec) + !Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaInfoAudioCodecFlagVar]</texture>
			</control>
			<control type="image" id="89007">
				<visible>!String.IsEmpty(ListItem.AudioCodec) + Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaInfoAudioCodecFlagVar]</texture>
			</control>
			<control type="image" id="89008">
				<visible>!String.IsEmpty(ListItem.FileExtension) + !Skin.HasSetting(coloredflags)</visible>
				<visible>Container.Content(songs)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[ListItem.FileExtension,,.png]</texture>
			</control>
			<control type="image" id="89008">
				<visible>!String.IsEmpty(ListItem.FileExtension) + Skin.HasSetting(coloredflags)</visible>
				<visible>Container.Content(songs)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[ListItem.FileExtension,,.png]</texture>
			</control>
			<control type="image" id="89009">
				<visible>!String.IsEmpty(ListItem.AudioChannels) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/audiochannels/channels$INFO[ListItem.AudioChannels,,.png]</texture>
			</control>
			<control type="image" id="89009">
				<visible>!String.IsEmpty(ListItem.AudioChannels) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/audiochannels/channels$INFO[ListItem.AudioChannels,,.png]</texture>
			</control>
		</definition>
	</include>

	<include name="PlayerMediaFlagItems">
		<param name="itemwidth" default="90"/>
		<param name="itemheight" default="80"/>
		<param name="diffuse">Silver</param>
		<param name="showvideobadge">true</param>
		<param name="showaudiobadge">true</param>
		<param name="showratingbadge">true</param>
		<definition>
			<control type="image" id="89001">
				<visible>!String.IsEmpty(VideoPlayer.VideoResolution) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[PlayerVideoResolutionFlagVar]</texture>
			</control>
			<control type="image" id="89001">
				<visible>!String.IsEmpty(VideoPlayer.VideoResolution) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[PlayerVideoResolutionFlagVar]</texture>
			</control>
			<control type="image" id="89002">
				<visible>!String.IsEmpty(VideoPlayer.VideoCodec) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[PlayerVideoCodecFlagVar]</texture>
			</control>
			<control type="image" id="89002">
				<visible>!String.IsEmpty(VideoPlayer.VideoCodec) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[PlayerVideoCodecFlagVar]</texture>
			</control>
			<control type="image" id="89003">
				<visible>!String.IsEmpty(VideoPlayer.VideoAspect) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/aspectratio/$INFO[VideoPlayer.VideoAspect,,.png]</texture>
			</control>
			<control type="image" id="89003">
				<visible>!String.IsEmpty(VideoPlayer.VideoAspect) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/aspectratio/$INFO[VideoPlayer.VideoAspect,,.png]</texture>
			</control>
			<control type="image" id="890031">
				<visible>VideoPlayer.IsStereoscopic + !Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>badges/3D.png</texture>
			</control>
			<control type="image" id="890031">
				<visible>VideoPlayer.IsStereoscopic + Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>badges/3D.png</texture>
			</control>
			<control type="image" id="89007">
				<visible>!String.IsEmpty(VideoPlayer.VideoResolution) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(Show.ColorRangeFlags) + [String.Contains(Player.Filename,hdr) | String.Contains(Player.Filename,sdr)]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[PlayerHDRFlagVar]</texture>
			</control>
			<control type="image" id="89007">
				<visible>!String.IsEmpty(VideoPlayer.VideoResolution) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(Show.ColorRangeFlags) + [String.Contains(Player.Filename,hdr) | String.Contains(Player.Filename,sdr)]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[PlayerHDRFlagVar]</texture>
			</control>
			<control type="image" id="89008">
				<visible>!String.IsEmpty(VideoPlayer.VideoResolution) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(Show.ColorRangeFlags) + [[String.Contains(Player.FileNameAndPath,8bit) | String.Contains(Player.FileNameAndPath,8-bit)] | [String.Contains(Player.FileNameAndPath,10bit) | String.Contains(Player.FileNameAndPath,10-bit)] | [String.Contains(Player.FileNameAndPath,12bit) | String.Contains(Player.FileNameAndPath,12-bit)]]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[PlayerBitDepthFlagVar]</texture>
			</control>
			<control type="image" id="89008">
				<visible>!String.IsEmpty(VideoPlayer.VideoResolution) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo) + Skin.HasSetting(Show.ColorRangeFlags) + [[String.Contains(Player.FileNameAndPath,8bit) | String.Contains(Player.FileNameAndPath,8-bit)] | [String.Contains(Player.FileNameAndPath,10bit) | String.Contains(Player.FileNameAndPath,10-bit)] | [String.Contains(Player.FileNameAndPath,12bit) | String.Contains(Player.FileNameAndPath,12-bit)]]</visible>
				<visible>$PARAM[showvideobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[PlayerBitDepthFlagVar]</texture>
			</control>
			<control type="image" id="89004">
				<visible>!String.IsEmpty(VideoPlayer.AudioCodec) + !Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[PlayerAudioCodecFlagVar]</texture>
			</control>
			<control type="image" id="89004">
				<visible>!String.IsEmpty(VideoPlayer.AudioCodec) + Skin.HasSetting(coloredflags)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[PlayerAudioCodecFlagVar]</texture>
			</control>
			<control type="image" id="89005">
				<visible>!String.IsEmpty(VideoPlayer.FileExtension) + !Skin.HasSetting(coloredflags)</visible>
				<visible>Container.Content(songs)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[VideoPlayer.FileExtension,,.png]</texture>
			</control>
			<control type="image" id="89005">
				<visible>!String.IsEmpty(VideoPlayer.FileExtension) + Skin.HasSetting(coloredflags)</visible>
				<visible>Container.Content(songs)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[VideoPlayer.FileExtension,,.png]</texture>
			</control>
			<control type="image" id="89006">
				<visible>!String.IsEmpty(VideoPlayer.AudioChannels) + !Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/audiochannels/channels$INFO[VideoPlayer.AudioChannels,,.png]</texture>
			</control>
			<control type="image" id="89006">
				<visible>!String.IsEmpty(VideoPlayer.AudioChannels) + Skin.HasSetting(coloredflags)</visible>
				<visible>!Skin.HasSetting(Hide.MediaFlagsVideo)</visible>
				<visible>$PARAM[showaudiobadge]</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/audiochannels/channels$INFO[VideoPlayer.AudioChannels,,.png]</texture>
			</control>
			<control type="image" description="Stars">
				<visible>$PARAM[showratingbadge] + !String.IsEmpty(VideoPlayer.DBID) + Skin.HasSetting(ShowRatingUser) + !Skin.HasSetting(coloredflags)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[VideoPlayer.ratingbadge]</texture>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
			</control>
			<control type="grouplist" description="User rating">
				<visible>$PARAM[showratingbadge] + !String.IsEmpty(VideoPlayer.DBID) + Skin.HasSetting(ShowRatingUser) + Skin.HasSetting(coloredflags)</visible>
				<width>$PARAM[itemwidth]</width>
				<height>$PARAM[itemheight]</height>
				<orientation>horizontal</orientation>
				<itemgap>0</itemgap>
				<align>left</align>
				<control type="image" description="User Rating logo">
					<height>40</height>
					<width>40</width>
					<aspectratio>keep</aspectratio>
					<texture>badges/ratings/userrating2.png</texture>
				</control>
				<control type="label" description="User Rating">
					<width>40</width>
					<height>40</height>
					<font>ListDetails</font>
					<align>left</align>
					<textcolor>$VAR[HighlightColor]</textcolor>
					<label>$INFO[VideoPlayer.UserRating]</label>
					<visible>!String.IsEmpty(VideoPlayer.UserRating)</visible>
				</control>
				<control type="label" description="User Rating">
					<width>40</width>
					<height>40</height>
					<font>ListDetails</font>
					<align>left</align>
					<textcolor>$VAR[HighlightColor]</textcolor>
					<label>-</label>
					<visible>String.IsEmpty(VideoPlayer.UserRating)</visible>
				</control>
			</control>
		</definition>
	</include>

	<include name="PlayerAudioFlagItems">
		<param name="itemwidth" default="90"/>
		<param name="itemheight" default="80"/>
		<param name="diffuse">Silver</param>
		<definition>
			<control type="label" id="89000">
				<height>$PARAM[itemheight]</height>
				<width>120</width>
				<font>ListDetails</font>
				<align>left</align>
				<textcolor>$VAR[HighlightColor]</textcolor>
				<label>$INFO[MusicPlayer.BitRate] $LOCALIZE[32480]</label>
				<visible>!String.IsEmpty(MusicPlayer.BitRate)</visible>
			</control>
			<control type="image" id="89001">
				<visible>!String.IsEmpty(MusicPlayer.Codec) + !Skin.HasSetting(coloredflags)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[MusicPlayer.Codec,,.png]</texture>
			</control>
			<control type="image" id="89001">
				<visible>!String.IsEmpty(MusicPlayer.Codec) + Skin.HasSetting(coloredflags)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[MusicPlayer.Codec,,.png]</texture>
			</control>
			<control type="image" id="89005">
				<visible>!String.IsEmpty(ListItem.FileExtension) + !Skin.HasSetting(coloredflags)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[ListItem.FileExtension,,.png]</texture>
			</control>
			<control type="image" id="89005">
				<visible>!String.IsEmpty(ListItem.FileExtension) + Skin.HasSetting(coloredflags)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/audiocodec/$INFO[ListItem.FileExtension,,.png]</texture>
			</control>
			<control type="image" id="89006">
				<visible>!String.IsEmpty(MusicPlayer.Channels) + !Skin.HasSetting(coloredflags)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<colordiffuse>$PARAM[diffuse]</colordiffuse>
				<texture>$VAR[MediaFlagsPathVar]/audiochannels/channels$INFO[MusicPlayer.Channels,,.png]</texture>
			</control>
			<control type="image" id="89006">
				<visible>!String.IsEmpty(MusicPlayer.Channels) + Skin.HasSetting(coloredflags)</visible>
				<height>$PARAM[itemheight]</height>
				<width>$PARAM[itemwidth]</width>
				<bordersize>3</bordersize>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[MediaFlagsPathVar]/audiochannels/channels$INFO[MusicPlayer.Channels,,.png]</texture>
			</control>
		</definition>
	</include>

	<include name="TopRightOverlayTemplate">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<param name="isWideIcon">false</param>
		<param name="isSearch">false</param>
		<param name="isBanner">false</param>
		<param name="isSquare">false</param>
		<param name="isTripleRow">false</param>
		<param name="isTripleRowMedium">false</param>
		<param name="isTripleRowLarge">false</param>
		<param name="isTripleShevesTogether">false</param>
		<param name="isLowWidget">false</param>
		<definition>
			<!-- Overlays for small icons in custom video lists in info dialog -->
			<control type="group">
				<visible>Window.IsActive(DialogVideoInfo.xml) + String.IsEqual(Container.ListItem.DBType,movie) | [String.StartsWith(Container.ListItem.FolderPath,plugin://) | String.StartsWith(Container.ListItem.FolderPath,videodb)] + !String.IsEmpty(Container.ListItem.DBID)</visible>
				<!-- Regular Overlay -->
				<control type="group">
					<visible>!Integer.IsGreater(Container.ListItem.Property(UnwatchedEpisodes),0) + !Container.ListItem.IsResumable</visible>
					<control type="image">
						<visible>!$PARAM[isFocused]</visible>
						<texture background="true">$VAR[TopRightOverlay]</texture>
						<posx>98r</posx>
						<posy>12</posy>
						<height>82</height>
						<width>82</width>
						<aspectratio>keep</aspectratio>
					</control>
					<control type="image">
						<visible>$PARAM[isFocused]</visible>
						<texture background="true">$VAR[TopRightOverlay]</texture>
						<posx>98r</posx>
						<posy>12</posy>
						<height>82</height>
						<width>82</width>
						<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
						<aspectratio>keep</aspectratio>
					</control>
				</control>
				<!-- Unwatched episodes overlay -->
				<control type="group">
					<visible>Integer.IsGreater(Container.ListItem.Property(UnwatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="group">
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true">overlays/toprightempty2.png</texture>
							<posx>101r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
							<posx>101r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
					</control>
					<control type="group">
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>94r</posx>
							<posy>-255</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[VideoInfoUnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>94r</posx>
							<posy>-255</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[VideoInfoUnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
				</control>
				<!-- In-Progress overlay -->
				<control type="group">
					<visible>Integer.IsGreater(Container.ListItem.PercentPlayed,0) + !Skin.HasSetting(Hide_InProgress_Marks)</visible>
					<control type="group">
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true">$VAR[VideoInfoTopRightInProgress]</texture>
							<posx>92r</posx>
							<posy>12</posy>
							<height>72</height>
							<width>72</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">$VAR[VideoInfoTopRightInProgress]</texture>
							<posx>92r</posx>
							<posy>12</posy>
							<height>72</height>
							<width>72</width>
						</control>
					</control>
				</control>
			</control>

			<!-- Overlay for all other use cases -->
			<control type="group">
				<visible>[!Window.IsActive(DialogVideoInfo.xml) | Window.IsActive(Custom_1122_Search.xml) | Window.IsActive(Custom_1131_SingleSearch.xml)] + [String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set) | String.IsEqual(ListItem.DBType,tvshow) | String.IsEqual(ListItem.DBType,episode) | String.IsEqual(ListItem.DBType,season) | String.IsEqual(ListItem.DBType,musicvideo) | String.IsEqual(ListItem.DBType,album) | String.IsEqual(ListItem.DBType,video)] + $EXP[IsIconView]</visible>

				<!-- Normal Overlay for search results -->
				<control type="group">
					<visible>$PARAM[isSearch]</visible>
					<control type="image">
						<visible>!$PARAM[isFocused]</visible>
						<visible>![String.IsEqual(ListItem.DBType,tvshow) + Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0)] + !ListItem.IsResumable</visible>
						<texture background="true">$VAR[TopRightOverlay]</texture>
						<posx>98r</posx>
						<posy>12</posy>
						<height>82</height>
						<width>82</width>
						<aspectratio>keep</aspectratio>
					</control>
					<control type="image">
						<visible>$PARAM[isFocused]</visible>
						<visible>![String.IsEqual(ListItem.DBType,tvshow) + Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0)] + !ListItem.IsResumable</visible>
						<texture background="true">$VAR[TopRightOverlay]</texture>
						<posx>98r</posx>
						<posy>12</posy>
						<height>82</height>
						<width>82</width>
						<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
						<aspectratio>keep</aspectratio>
					</control>
				</control>
				<!-- Normal overlay, regular icons -->
				<control type="group">
					<visible>![$PARAM[isSmallIcon]] + ![$PARAM[isSearch]]</visible>
					<visible>!Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !ListItem.IsResumable + !ListItem.IsCollection</visible>
					<control type="image">
						<visible>!$PARAM[isFocused] + ![$PARAM[isWideIcon]]</visible>
						<texture background="true">$VAR[TopRightOverlay]</texture>
						<posx>96r</posx>
						<posy>16</posy>
						<height>72</height>
						<width>72</width>
					</control>
					<control type="image">
						<visible>$PARAM[isFocused] + ![$PARAM[isWideIcon]]</visible>
						<texture background="true">$VAR[TopRightOverlay]</texture>
						<posx>96r</posx>
						<posy>16</posy>
						<height>72</height>
						<width>72</width>
						<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
					</control>
					<!-- wide icons -->
					<control type="image">
						<visible>!$PARAM[isFocused] + $PARAM[isWideIcon]</visible>
						<texture background="true">$VAR[TopRightOverlay]</texture>
						<posx>96r</posx>
						<posy>16</posy>
						<height>72</height>
						<width>72</width>
					</control>
					<control type="image">
						<visible>$PARAM[isFocused] + $PARAM[isWideIcon]</visible>
						<texture background="true">$VAR[TopRightOverlay]</texture>
						<posx>96r</posx>
						<posy>16</posy>
						<height>72</height>
						<width>72</width>
						<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
					</control>
				</control>
				<!-- Normal overlay for small icons -->
				<control type="group">
					<visible>$PARAM[isSmallIcon] + ![$PARAM[isSearch]]</visible>
					<visible>!Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !ListItem.IsResumable + !ListItem.IsCollection</visible>
					<!-- regular icons, media views -->
					<control type="group">
						<visible>![$PARAM[isWideIcon]] + !String.IsEmpty(Container.Viewmode)</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true">$VAR[TopRightOverlay]</texture>
							<posx>92r</posx>
							<posy>12</posy>
							<height>72</height>
							<width>72</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true">$VAR[TopRightOverlay]</texture>
							<posx>92r</posx>
							<posy>12</posy>
							<height>72</height>
							<width>72</width>
							<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
						</control>
					</control>
					<!-- wide icons, media views -->
					<control type="group">
						<visible>$PARAM[isWideIcon] + !String.IsEmpty(Container.Viewmode)</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true">$VAR[TopRightOverlay]</texture>
							<posx>92r</posx>
							<posy>12</posy>
							<height>72</height>
							<width>72</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true">$VAR[TopRightOverlay]</texture>
							<posx>92r</posx>
							<posy>12</posy>
							<height>72</height>
							<width>72</width>
							<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
						</control>
					</control>
					<!-- Widgets -->
					<control type="group">
						<visible>String.IsEmpty(Container.Viewmode)</visible>
						<!-- Landscape artwork -->
						<control type="group">
							<visible>$PARAM[isWideIcon]</visible>
							<control type="image">
								<visible>!$PARAM[isFocused]</visible>
								<texture background="true">$VAR[TopRightOverlay]</texture>
								<posx>102r</posx>
								<posy>30</posy>
								<height>82</height>
								<width>82</width>
								<aspectratio>keep</aspectratio>
							</control>
							<control type="image">
								<visible>$PARAM[isFocused]</visible>
								<texture background="true">$VAR[TopRightOverlay]</texture>
								<posx>102r</posx>
								<posy>30</posy>
								<height>82</height>
								<width>82</width>
								<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
								<aspectratio>keep</aspectratio>
							</control>
						</control>
						<!-- All other artwork -->
						<control type="group">
							<visible>![$PARAM[isWideIcon]] + ![$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]]</visible>
							<control type="image">
								<visible>!$PARAM[isFocused]</visible>
								<texture background="true">$VAR[TopRightOverlay]</texture>
								<posx>98r</posx>
								<posy>12</posy>
								<height>82</height>
								<width>82</width>
								<aspectratio>keep</aspectratio>
							</control>
							<control type="image">
								<visible>$PARAM[isFocused]</visible>
								<texture background="true">$VAR[TopRightOverlay]</texture>
								<posx>98r</posx>
								<posy>12</posy>
								<height>82</height>
								<width>82</width>
								<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
								<aspectratio>keep</aspectratio>
							</control>
						</control>
						<control type="group">
							<visible>![$PARAM[isWideIcon]] + [$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]]</visible>
							<control type="image">
								<visible>!$PARAM[isFocused]</visible>
								<texture background="true">$VAR[TopRightOverlay]</texture>
								<posx>86r</posx>
								<posy>12</posy>
								<height>68</height>
								<width>68</width>
								<aspectratio>keep</aspectratio>
							</control>
							<control type="image">
								<visible>$PARAM[isFocused]</visible>
								<texture background="true">$VAR[TopRightOverlay]</texture>
								<posx>86r</posx>
								<posy>12</posy>
								<height>68</height>
								<width>68</width>
								<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
								<aspectratio>keep</aspectratio>
							</control>
						</control>
					</control>
				</control>

				<!-- Unwatched episode count for regular icons -->
				<control type="group">
					<visible>![$PARAM[isSmallIcon]] + ![$PARAM[isSearch]]</visible>
					<visible>!ListItem.IsParentFolder + [String.IsEqual(ListItem.DBType,tvshow) | String.IsEqual(ListItem.DBType,season)]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image">
						<visible>!$PARAM[isFocused]</visible>
						<texture background="true">overlays/toprightempty2.png</texture>
						<posx>103r</posx>
						<posy>16</posy>
						<height>82</height>
						<width>82</width>
					</control>
					<control type="image">
						<visible>$PARAM[isFocused]</visible>
						<texture background="true">overlays/toprightempty2.png</texture>
						<posx>103r</posx>
						<posy>16</posy>
						<height>82</height>
						<width>82</width>
						<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
					</control>
					<!-- Poster -->
					<control type="group">
						<visible>!$PARAM[isBanner]</visible>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),99)</visible>
							<posx>94r</posx>
							<posy>-360</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[HighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),99)</visible>
							<posx>94r</posx>
							<posy>-360</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + !Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),99)</visible>
							<posx>96r</posx>
							<posy>-358</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + !Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),99)</visible>
							<posx>96r</posx>
							<posy>-358</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
					</control>
					<!-- Banner -->
					<control type="group">
						<visible>$PARAM[isBanner]</visible>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),99)</visible>
							<posx>95r</posx>
							<posy>-129</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),99)</visible>
							<posx>95r</posx>
							<posy>-129</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + !Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),99)</visible>
							<posx>96r</posx>
							<posy>-126</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isBanner] + !Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),99)</visible>
							<posx>96r</posx>
							<posy>-126</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
				</control>

				<!-- Unwatched episode count for small icons -->
				<control type="group">
					<visible>$PARAM[isSmallIcon] + ![$PARAM[isSearch]]</visible>
					<visible>!ListItem.IsParentFolder + [String.IsEqual(ListItem.DBType,tvshow) | String.IsEqual(ListItem.DBType,season)]</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="group">
						<visible>!String.IsEmpty(Container.Viewmode)</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true">overlays/toprightempty2.png</texture>
							<posx>101r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
							<posx>101r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
					</control>
					<!-- All artwork except banner, in media views -->
					<control type="group">
						<visible>!$PARAM[isBanner] + !String.IsEmpty(Container.Viewmode)</visible>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>94r</posx>
							<posy>-255</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>94r</posx>
							<posy>-255</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
					<!-- Banner in media views -->
					<control type="group">
						<visible>$PARAM[isBanner] + !String.IsEmpty(Container.Viewmode)</visible>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>94r</posx>
							<posy>-42</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>94r</posx>
							<posy>-42</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
					<!-- Background image, non landscape artwork for widgets -->
					<control type="group">
						<visible>String.IsEmpty(Container.Viewmode) + !$PARAM[isWideIcon]</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true">overlays/toprightempty2.png</texture>
							<posx>101r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
							<posx>101r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
					</control>
					<!-- Background image, landscape artwork for widgets -->
					<control type="group">
						<visible>String.IsEmpty(Container.Viewmode) + $PARAM[isWideIcon]</visible>
						<control type="group">
							<visible>!$PARAM[isTripleRow] | $PARAM[isTripleRowMedium] | $PARAM[isTripleRowLarge]</visible>
							<control type="image">
								<visible>!$PARAM[isFocused]</visible>
								<texture background="true">overlays/toprightempty2.png</texture>
								<posx>102r</posx>
								<posy>30</posy>
								<height>82</height>
								<width>82</width>
							</control>
							<control type="image">
								<visible>$PARAM[isFocused]</visible>
								<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
								<posx>102r</posx>
								<posy>30</posy>
								<height>82</height>
								<width>82</width>
							</control>
						</control>
						<control type="group">
							<visible>$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<control type="image">
								<visible>!$PARAM[isFocused]</visible>
								<texture background="true">overlays/toprightempty2.png</texture>
								<posx>102r</posx>
								<posy>22</posy>
								<height>82</height>
								<width>82</width>
							</control>
							<control type="image">
								<visible>$PARAM[isFocused]</visible>
								<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
								<posx>102r</posx>
								<posy>22</posy>
								<height>82</height>
								<width>82</width>
							</control>
						</control>
					</control>
					<!-- Poster in widgets -->
					<control type="group">
						<visible>!$PARAM[isBanner] + !$PARAM[isSquare] + !$PARAM[isWideIcon] + String.IsEmpty(Container.Viewmode)</visible>
						<!-- Single or double row, standard widget pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-244</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-244</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Single or double row, low widget pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-284</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-284</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row small, widget in standard pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + !$PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-150</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + !$PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-150</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row small, widget in low pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + $PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-244</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + $PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-244</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row medium -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-180</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-180</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row large -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-244</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-244</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
					<!-- Landscape in widgets -->
					<control type="group">
						<visible>$PARAM[isWideIcon] + String.IsEmpty(Container.Viewmode)</visible>
						<!-- Single or double row -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium]</visible>
							<posx>94r</posx>
							<posy>-210</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium]</visible>
							<posx>94r</posx>
							<posy>-210</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row small -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-130</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-130</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row medium -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-145</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-145</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row large -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-210</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-210</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
					<!-- Square in widgets -->
					<control type="group">
						<visible>!$PARAM[isBanner] + $PARAM[isSquare] + String.IsEmpty(Container.Viewmode)</visible>
						<!-- Single or double row, standard widget pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-156</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-156</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Single or double row, low widget pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-156</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-156</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row small, widget in standard pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + !$PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-87</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + !$PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-87</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row small, widget in low pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + $PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-144</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + $PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-144</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row medium -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-110</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-110</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row large -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-156</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-156</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
					<!-- Banner in widgets -->
					<control type="group">
						<visible>$PARAM[isBanner] + !$PARAM[isSquare] + String.IsEmpty(Container.Viewmode)</visible>
						<!-- Single or double row, standard widget pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-87</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-87</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Single or double row, low widget pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-87</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + !$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isLowWidget]</visible>
							<posx>94r</posx>
							<posy>-87</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row small, widget in standard pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + !$PARAM[isLowWidget] + !$PARAM[isTripleShelvesTogether]</visible>
							<posx>94r</posx>
							<posy>-150</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + !$PARAM[isLowWidget] + !$PARAM[isTripleShelvesTogether]</visible>
							<posx>94r</posx>
							<posy>-150</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row small, widget in low pos -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + $PARAM[isLowWidget] + !$PARAM[isTripleShelvesTogether]</visible>
							<posx>94r</posx>
							<posy>-244</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + $PARAM[isLowWidget] + !$PARAM[isTripleShelvesTogether]</visible>
							<posx>94r</posx>
							<posy>-244</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row medium -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-80</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-80</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Triple row large -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-87</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + $PARAM[isTripleRowLarge]</visible>
							<posx>94r</posx>
							<posy>-87</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
						<!-- Smallest banners, triple shelves together, all shelves have items -->
						<control type="label" description="l2">
							<visible>$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + $PARAM[isTripleShelvesTogether]</visible>
							<posx>94r</posx>
							<posy>-37</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused] + $PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge] + $PARAM[isTripleShelvesTogether]</visible>
							<posx>94r</posx>
							<posy>-37</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[UnwatchedEpisodes]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
				</control>
				<!-- Unwatched episode count for search -->
				<control type="group">
					<visible>$PARAM[isSearch]</visible>
					<visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
					<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
					<control type="image">
						<visible>!$PARAM[isFocused]</visible>
						<texture background="true">overlays/toprightempty2.png</texture>
						<posx>98r</posx>
						<posy>12</posy>
						<height>82</height>
						<width>82</width>
						<aspectratio>keep</aspectratio>
					</control>
					<control type="image">
						<visible>$PARAM[isFocused]</visible>
						<texture background="true">overlays/toprightempty2.png</texture>
						<posx>98r</posx>
						<posy>12</posy>
						<height>82</height>
						<width>82</width>
						<aspectratio>keep</aspectratio>
						<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
					</control>
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<posx>92r</posx>
						<posy>-255</posy>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetailsSmall</font>
						<align>center</align>
						<shadowcolor />
						<label>$VAR[UnwatchedEpisodes]</label>
						<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<posx>92r</posx>
						<posy>-255</posy>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetailsSmall</font>
						<align>center</align>
						<label>$VAR[UnwatchedEpisodes]</label>
						<textcolor>White2</textcolor>
					</control>
				</control>

				<!-- In Progress -->
				<control type="group">
					<visible>Integer.IsGreater(ListItem.PercentPlayed,0) + !Skin.HasSetting(Hide_InProgress_Marks)</visible>
					<!-- Regular icons -->
					<control type="group">
						<visible>![$PARAM[isSmallIcon]] + ![$PARAM[isSearch]]</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true">$VAR[TopRightInProgress]</texture>
							<posx>96r</posx>
							<posy>16</posy>
							<height>72</height>
							<width>72</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">$VAR[TopRightInProgress]</texture>
							<posx>96r</posx>
							<posy>16</posy>
							<height>72</height>
							<width>72</width>
						</control>
					</control>
					<!-- Small icons, media views -->
					<control type="group">
						<visible>$PARAM[isSmallIcon] + ![$PARAM[isSearch]] + !String.IsEmpty(Container.Viewmode)</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true">$VAR[TopRightInProgress]</texture>
							<posx>92r</posx>
							<posy>12</posy>
							<height>72</height>
							<width>72</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">$VAR[TopRightInProgress]</texture>
							<posx>92r</posx>
							<posy>12</posy>
							<height>72</height>
							<width>72</width>
						</control>
					</control>
					<!-- Small icons, widgets -->
					<control type="group">
						<visible>$PARAM[isSmallIcon] + ![$PARAM[isSearch]] + String.IsEmpty(Container.Viewmode)</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true">$VAR[TopRightInProgress]</texture>
							<posx>86r</posx>
							<posy>12</posy>
							<height>68</height>
							<width>68</width>
							<aspectratio>keep</aspectratio>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">$VAR[TopRightInProgress]</texture>
							<posx>86r</posx>
							<posy>12</posy>
							<height>68</height>
							<width>68</width>
							<aspectratio>keep</aspectratio>
						</control>
					</control>
					<!-- Search -->
					<control type="group">
						<visible>$PARAM[isSearch]</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true">$VAR[TopRightInProgress]</texture>
							<posx>98r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
							<aspectratio>keep</aspectratio>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">$VAR[TopRightInProgress]</texture>
							<posx>98r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
							<aspectratio>keep</aspectratio>
						</control>
					</control>
				</control>

				<!-- Collections -->
				<control type="group">
					<visible>ListItem.IsCollection + !Skin.HasSetting(Hide_Collection_Marks)</visible>
					<!-- Regular Icons -->
					<control type="group">
						<visible>!$PARAM[isSmallIcon]</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true">$VAR[TopRightOverlay]</texture>
							<posx>96r</posx>
							<posy>16</posy>
							<height>72</height>
							<width>72</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">$VAR[TopRightOverlay]</texture>
							<posx>96r</posx>
							<posy>16</posy>
							<height>72</height>
							<width>72</width>
						</control>
					</control>
					<!-- Small icons -->
					<control type="group">
						<visible>$PARAM[isSmallIcon]</visible>
						<control type="group">
							<visible>$PARAM[isWideIcon]</visible>
							<control type="image">
								<visible>!$PARAM[isFocused]</visible>
								<texture background="true">$VAR[TopRightOverlay]</texture>
								<posx>92r</posx>
								<posy>30</posy>
								<height>72</height>
								<width>72</width>
							</control>
							<control type="image">
								<visible>$PARAM[isFocused]</visible>
								<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">$VAR[TopRightOverlay]</texture>
								<posx>92r</posx>
								<posy>30</posy>
								<height>72</height>
								<width>72</width>
							</control>
						</control>
						<control type="group">
							<visible>!$PARAM[isWideIcon]</visible>
							<control type="image">
								<visible>!$PARAM[isFocused]</visible>
								<texture background="true">$VAR[TopRightOverlay]</texture>
								<posx>92r</posx>
								<posy>12</posy>
								<height>72</height>
								<width>72</width>
							</control>
							<control type="image">
								<visible>$PARAM[isFocused]</visible>
								<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">$VAR[TopRightOverlay]</texture>
								<posx>92r</posx>
								<posy>12</posy>
								<height>72</height>
								<width>72</width>
							</control>
						</control>
					</control>
				</control>
			</control>
		</definition>
	</include>

	<include name="RatingOverlayTemplate">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<param name="isWideIcon">false</param>
		<param name="isSearch">false</param>
		<param name="isBanner">false</param>
		<param name="isSquare">false</param>
		<param name="isThumb">false</param>
		<param name="isTripleRow">false</param>
		<param name="isTripleRowMedium">false</param>
		<param name="isTripleRowLarge">false</param>
		<param name="isTripleShevesTogether">false</param>
		<param name="isLowWidget">false</param>
		<definition>
			<!-- Overlay for small icons in custom video lists in info dialog -->
			<control type="group">
				<visible>Window.IsActive(DialogVideoInfo.xml) + [String.IsEqual(Container.ListItem.DBType,movie) | String.IsEqual(Container.ListItem.DBType,tvshow)] + [String.StartsWith(Container.ListItem.FolderPath,plugin://) | String.StartsWith(Container.ListItem.FolderPath,videodb)] + $EXP[canShowContainerRatingOverlay]</visible>
				<control type="group">
					<control type="group">
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>221r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
							<posx>221r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>246r</posx>
							<posy>-255</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[ContainerRatingOverlayVar]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>246r</posx>
							<posy>-255</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[ContainerRatingOverlayVar]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
				</control>
			</control>

			<!-- Overlay for all other use cases -->
			<control type="group">
				<visible>[!Window.IsActive(DialogVideoInfo.xml) | Window.IsActive(Custom_1122_Search.xml) | Window.IsActive(Custom_1131_SingleSearch.xml)] + [String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set) | String.IsEqual(ListItem.DBType,tvshow) | String.IsEqual(ListItem.DBType,episode) | String.IsEqual(ListItem.DBType,musicvideo) | String.IsEqual(ListItem.DBType,album) | String.IsEqual(ListItem.DBType,video)] + $EXP[IsIconView] + $EXP[canShowRatingOverlay]</visible>

				<!-- Regular icons -->
				<control type="group">
					<visible>![$PARAM[isSmallIcon]] + ![$PARAM[isSearch]]</visible>
					<visible>!ListItem.IsParentFolder</visible>
					<!-- Poster -->
					<control type="group">
						<visible>!$PARAM[isBanner] + !$PARAM[isThumb] + !$PARAM[isSquare]</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>294r</posx>
							<posy>16</posy>
							<height>90</height>
							<width>90</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>294r</posx>
							<posy>16</posy>
							<height>90</height>
							<width>90</width>
							<colordiffuse>$VAR[HighlightColor]</colordiffuse>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>285r</posx>
							<posy>24</posy>
							<height>35</height>
							<width>35</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>White2</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>285r</posx>
							<posy>24</posy>
							<height>35</height>
							<width>35</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>$VAR[HighlightColor]</textcolor>
						</control>
					</control>
					<!-- Banner -->
					<control type="group">
						<visible>$PARAM[isBanner]</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>914r</posx>
							<posy>16</posy>
							<height>90</height>
							<width>90</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>914r</posx>
							<posy>16</posy>
							<height>90</height>
							<width>90</width>
							<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
						</control>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>937r</posx>
							<posy>-121</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>937r</posx>
							<posy>-121</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
					<!-- Thumb -->
					<control type="group">
						<visible>$PARAM[isThumb]</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>294r</posx>
							<posy>16</posy>
							<height>90</height>
							<width>90</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>294r</posx>
							<posy>16</posy>
							<height>90</height>
							<width>90</width>
							<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>317r</posx>
							<posy>-142</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>White2</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>317r</posx>
							<posy>-142</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
					</control>
				</control>

				<!-- Small icons -->
				<control type="group">
					<visible>$PARAM[isSmallIcon] + ![$PARAM[isSearch]]</visible>
					<visible>!ListItem.IsParentFolder</visible>
					<!-- Poster in media view -->
					<control type="group">
						<visible>!$PARAM[isBanner] + !$PARAM[isThumb] + !$PARAM[isSquare] + !String.IsEmpty(Container.Viewmode)</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>221r</posx>
							<posy>12</posy>
							<height>90</height>
							<width>90</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
							<posx>221r</posx>
							<posy>12</posy>
							<height>90</height>
							<width>90</width>
						</control>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>244r</posx>
							<posy>-251</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>244r</posx>
							<posy>-251</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
					<!-- Banner in media views -->
					<control type="group">
						<visible>$PARAM[isBanner] + !String.IsEmpty(Container.Viewmode)</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>453r</posx>
							<posy>12</posy>
							<height>85</height>
							<width>86</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
							<posx>453r</posx>
							<posy>12</posy>
							<height>85</height>
							<width>86</width>
						</control>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>477r</posx>
							<posy>-39</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>477r</posx>
							<posy>-39</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>
					<!-- Thumb in media views -->
					<control type="group">
						<visible>$PARAM[isThumb] + !String.IsEmpty(Container.Viewmode)</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>221r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>221r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
							<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>246r</posx>
							<posy>-98</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>White2</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>246r</posx>
							<posy>-98</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
					</control>
					<!-- Square in media views -->
					<control type="group">
						<visible>$PARAM[isSquare] + !String.IsEmpty(Container.Viewmode)</visible>
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>221r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
							<posx>221r</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>246.5r</posx>
							<posy>-159</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>246.5r</posx>
							<posy>-159</posy>
							<height>$PARAM[itemheight]</height>
							<width>100</width>
							<font>ListDetailsSmall</font>
							<align>center</align>
							<label>$VAR[RatingOverlayVar]</label>
							<textcolor>White2</textcolor>
						</control>
					</control>

					<!-- Poster in widgets -->
					<control type="group">
						<visible>!$PARAM[isBanner] + !$PARAM[isSquare] + !$PARAM[isThumb] + !$PARAM[isWideIcon] + String.IsEmpty(Container.Viewmode)</visible>
						<!-- Single, Double or Large Triple Row -->
						<control type="group">
							<visible>!$PARAM[isTripleRow] | [$PARAM[isTripleRow] + $PARAM[isTripleRowLarge]]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>216r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>216r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>241r</posx>
									<posy>-244</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>241r</posx>
									<posy>-244</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>

						<!-- Triple row, small -->
						<control type="group">
							<visible>$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>147r</posx>
									<posy>12</posy>
									<height>70</height>
									<width>70</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>147r</posx>
									<posy>12</posy>
									<height>70</height>
									<width>70</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>175r</posx>
									<posy>-156</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>175r</posx>
									<posy>-156</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>

						<!-- Triple row medium -->
						<control type="group">
							<visible>$PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>170r</posx>
									<posy>12</posy>
									<height>76</height>
									<width>76</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>170r</posx>
									<posy>12</posy>
									<height>76</height>
									<width>76</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused]</visible>
									<posx>197r</posx>
									<posy>-185</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused]</visible>
									<posx>197r</posx>
									<posy>-185</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>
					</control>

					<!-- Square in widgets -->
					<control type="group">
						<visible>$PARAM[isSquare] + String.IsEmpty(Container.Viewmode)</visible>

						<!-- Single, Double, or Large Triple row -->
						<control type="group">
							<visible>!$PARAM[isTripleRow] | [$PARAM[isTripleRow] + $PARAM[isTripleRowLarge]]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>216r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>216r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused]</visible>
									<posx>241r</posx>
									<posy>-156</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused]</visible>
									<posx>241r</posx>
									<posy>-156</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>

						<!-- Triple row, small -->
						<control type="group">
							<visible>$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>147r</posx>
									<posy>12</posy>
									<height>70</height>
									<width>70</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>147r</posx>
									<posy>12</posy>
									<height>70</height>
									<width>70</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>175r</posx>
									<posy>-96</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>175r</posx>
									<posy>-96</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>

						<!-- Triple row medium -->
						<control type="group">
							<visible>$PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>170r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>170r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused]</visible>
									<posx>195r</posx>
									<posy>-111</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused]</visible>
									<posx>195r</posx>
									<posy>-111</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>
					</control>

					<!-- Thumb in widgets (Fanart or Thumb Artwork) -->
					<control type="group">
						<visible>$PARAM[isThumb] + String.IsEmpty(Container.Viewmode)</visible>
						<!-- Single, Double or Triple row large -->
						<control type="group">
							<visible>!$PARAM[isTripleRow] | [$PARAM[isTripleRow] + $PARAM[isTripleRowLarge]]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>460r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>460r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused]</visible>
									<posx>485r</posx>
									<posy>-243</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused]</visible>
									<posx>485r</posx>
									<posy>-243</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>

						<!-- Triple row, small -->
						<control type="group">
							<visible>$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>319r</posx>
									<posy>12</posy>
									<height>70</height>
									<width>70</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>319r</posx>
									<posy>12</posy>
									<height>70</height>
									<width>70</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>347r</posx>
									<posy>-156</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>347r</posx>
									<posy>-156</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>

						<!-- Triple row medium -->
						<control type="group">
							<visible>$PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>346r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>346r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused]</visible>
									<posx>371r</posx>
									<posy>-180</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused]</visible>
									<posx>371r</posx>
									<posy>-180</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>
					</control>

					<!-- Landscape in widgets -->
					<control type="group">
						<visible>$PARAM[isWideIcon] + String.IsEmpty(Container.Viewmode)</visible>
						<!-- Single, Double or Triple row large -->
						<control type="group">
							<visible>!$PARAM[isTripleRow] | [$PARAM[isTripleRow] + $PARAM[isTripleRowLarge]]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>460r</posx>
									<posy>30</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>460r</posx>
									<posy>30</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused]</visible>
									<posx>485r</posx>
									<posy>-210</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused]</visible>
									<posx>485r</posx>
									<posy>-210</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>

						<!-- Triple row, small -->
						<control type="group">
							<visible>$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>319r</posx>
									<posy>22</posy>
									<height>70</height>
									<width>70</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>319r</posx>
									<posy>22</posy>
									<height>70</height>
									<width>70</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>347.5r</posx>
									<posy>-135</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>347.5r</posx>
									<posy>-135</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>

						<!-- Triple row medium -->
						<control type="group">
							<visible>$PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>346r</posx>
									<posy>30</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>346r</posx>
									<posy>30</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused]</visible>
									<posx>371r</posx>
									<posy>-145</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused]</visible>
									<posx>371r</posx>
									<posy>-145</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>
					</control>

					<!-- Banner in widgets -->
					<control type="group">
						<visible>$PARAM[isBanner] + String.IsEmpty(Container.Viewmode)</visible>
						<!-- Single, Double row -->
						<control type="group">
							<visible>!$PARAM[isTripleRow]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>656r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>656r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused]</visible>
									<posx>681r</posx>
									<posy>-85</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused]</visible>
									<posx>681r</posx>
									<posy>-85</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>

						<!-- Triple row, small -->
						<control type="group">
							<visible>$PARAM[isTripleRow] + !$PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>413r</posx>
									<posy>12</posy>
									<height>70</height>
									<width>70</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>413r</posx>
									<posy>12</posy>
									<height>70</height>
									<width>70</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>440r</posx>
									<posy>-45</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused] + !$PARAM[isLowWidget]</visible>
									<posx>440r</posx>
									<posy>-45</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>

						<!-- Triple row medium -->
						<control type="group">
							<visible>$PARAM[isTripleRow] + $PARAM[isTripleRowMedium] + !$PARAM[isTripleRowLarge]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>622r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>622r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused]</visible>
									<posx>647r</posx>
									<posy>-79</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused]</visible>
									<posx>647r</posx>
									<posy>-79</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>

						<!-- Triple row large -->
						<control type="group">
							<visible>[$PARAM[isTripleRow] + $PARAM[isTripleRowLarge]]</visible>
							<control type="group">
								<control type="image">
									<visible>!$PARAM[isFocused]</visible>
									<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
									<posx>672r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="image">
									<visible>$PARAM[isFocused]</visible>
									<texture background="true" flipx="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
									<posx>672r</posx>
									<posy>12</posy>
									<height>82</height>
									<width>82</width>
								</control>
								<control type="label" description="l2">
									<visible>$PARAM[isFocused]</visible>
									<posx>697r</posx>
									<posy>-85</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<shadowcolor />
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
								</control>
								<control type="label" description="l2">
									<visible>!$PARAM[isFocused]</visible>
									<posx>697r</posx>
									<posy>-85</posy>
									<height>$PARAM[itemheight]</height>
									<width>100</width>
									<font>ListDetailsExtraSmall</font>
									<align>center</align>
									<label>$VAR[RatingOverlayVar]</label>
									<textcolor>White2</textcolor>
								</control>
							</control>
						</control>
					</control>
				</control>

				<!-- Rating overlay for custom search windows -->
				<control type="group">
					<visible>$PARAM[isSearch]</visible>
					<control type="group">
						<control type="image">
							<visible>!$PARAM[isFocused]</visible>
							<texture background="true" flipx="true">overlays/toprightempty2.png</texture>
							<posx>12</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
						<control type="image">
							<visible>$PARAM[isFocused]</visible>
							<texture background="true" flipx="true" colordiffuse="$VAR[HighlightColor]">overlays/toprightempty2.png</texture>
							<posx>12</posx>
							<posy>12</posy>
							<height>82</height>
							<width>82</width>
						</control>
						<control type="label" description="l2">
							<visible>!$PARAM[isFocused]</visible>
							<posx>19.3</posx>
							<posy>18</posy>
							<height>35</height>
							<width>35</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<label>$VAR[ContainerRatingOverlayVar]</label>
							<textcolor>White2</textcolor>
						</control>
						<control type="label" description="l2">
							<visible>$PARAM[isFocused]</visible>
							<posx>19.3</posx>
							<posy>18</posy>
							<height>35</height>
							<width>35</width>
							<font>ListDetailsExtraSmall</font>
							<align>center</align>
							<shadowcolor />
							<label>$VAR[ContainerRatingOverlayVar]</label>
							<textcolor>$VAR[HighlightColor]</textcolor>
						</control>
					</control>
				</control>
			</control>
		</definition>
	</include>

	<include name="GenericThumbIconTemplateWeather">
		<param name="isFocused">false</param>
		<param name="iconwidth" />
		<param name="iconheight" />
		<param name="iconoffset" />
		<param name="shadowoffset" />
		<param name="bordersizeLT" />
		<param name="bordersizeRB" />
		<param name="iconimage">$INFO[ListItem.Icon]</param>
		<param name="fallbackicon" />
		<param name="aspect">keep</param>
		<param name="belowtextbox" />
		<param name="belowtextboxvisibility">false</param>
		<param name="belowtextboxalign">center</param>
		<param name="belowtextboxfont">Shelf_Label</param>
		<param name="belowtextboxwidth" />
		<param name="belowtextboxheight" />
		<param name="belowtextboxbackheight" />
		<definition>
			<control type="multiimage">
				<left>$PARAM[shadowoffset]</left>
				<top>$PARAM[shadowoffset]</top>
				<width>$PARAM[iconwidth]</width>
				<height>$PARAM[iconheight]</height>
				<aspectratio>$PARAM[aspect]</aspectratio>
				<imagepath>$PARAM[iconimage]</imagepath>
				<colordiffuse>HeavyShadow</colordiffuse>
				<timeperimage>70</timeperimage>
				<fadetime>1</fadetime>
				<randomize>false</randomize>
				<bordersize>$PARAM[bordersizeLT],$PARAM[bordersizeLT],$PARAM[bordersizeRB],$PARAM[bordersizeRB]</bordersize>
			</control>
			<control type="group">
				<left>$PARAM[iconoffset]</left>
				<top>$PARAM[iconoffset]</top>
				<width>$PARAM[iconwidth]</width>
				<height>$PARAM[iconheight]</height>
				<control type="multiimage">
					<visible>$PARAM[isFocused]</visible>
					<imagepath>$PARAM[iconimage]</imagepath>
					<timeperimage>70</timeperimage>
					<fadetime>1</fadetime>
					<randomize>false</randomize>
					<aspectratio>$PARAM[aspect]</aspectratio>
					<bordertexture colordiffuse="$VAR[HighlightColor]" border="8">thumbs/IconBorder_FO.png</bordertexture>
					<bordersize>$PARAM[bordersizeLT],$PARAM[bordersizeLT],$PARAM[bordersizeRB],$PARAM[bordersizeRB]</bordersize>
				</control>
				<control type="multiimage">
					<visible>!$PARAM[isFocused]</visible>
					<imagepath>$PARAM[iconimage]</imagepath>
					<timeperimage>70</timeperimage>
					<fadetime>1</fadetime>
					<randomize>false</randomize>
					<aspectratio>$PARAM[aspect]</aspectratio>
					<bordersize>$PARAM[bordersizeLT],$PARAM[bordersizeLT],$PARAM[bordersizeRB],$PARAM[bordersizeRB]</bordersize>
					<colordiffuse>eeeeeeee</colordiffuse>
				</control>
				<include content="GenericBelowTextboxTemplate">
					<param name="isFocused">$PARAM[isFocused]</param>
					<param name="yoffset">-8r</param>
					<param name="xoffset">0</param>
					<param name="labelwidth">$PARAM[iconwidth]</param>
					<param name="labelvisibility">$PARAM[belowtextboxvisibility]</param>
					<param name="labeltext">$PARAM[belowtextbox]</param>
					<param name="labelalign">$PARAM[belowtextboxalign]</param>
					<param name="textboxwidth">$PARAM[belowtextboxwidth]</param>
					<param name="bordersize">$PARAM[bordersizeLT]</param>
					<param name="belowtextboxfont">$PARAM[belowtextboxfont]</param>
					<param name="textboxheight">$PARAM[belowtextboxheight]</param>
					<param name="backgroundheight">$PARAM[belowtextboxbackheight]</param>
				</include>
			</control>
		</definition>
	</include>

	<include name="EmbuaryInfoListsOverlays">
		<control type="group">
			<visible>!Skin.HasSetting(ShowTopRightOverlays)</visible>
			<control type="image" description="Watched Overlay">
				<visible>!$PARAM[isFocused]</visible>
				<left>60r</left>
				<top>60r</top>
				<width>30</width>
				<height>30</height>
				<texture>$VAR[Overlay]</texture>
				<aspectratio>keep</aspectratio>
			</control>
			<control type="image" description="Watched Overlay">
				<visible>$PARAM[isFocused]</visible>
				<left>60r</left>
				<top>60r</top>
				<width>30</width>
				<height>30</height>
				<texture>$VAR[Overlay]</texture>
				<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
				<aspectratio>keep</aspectratio>
			</control>
		</control>
		<control type="group">
			<visible>Skin.HasSetting(ShowTopRightOverlays)</visible>
			<!-- Watched and Library overlays -->
			<control type="group">
				<visible>!Integer.IsGreater(Container.ListItem.Property(UnwatchedEpisodes),0)</visible>
				<control type="image">
					<visible>!$PARAM[isFocused]</visible>
					<texture background="true">$VAR[TopRightOverlay]</texture>
					<posx>98r</posx>
					<posy>12</posy>
					<height>82</height>
					<width>82</width>
					<aspectratio>keep</aspectratio>
				</control>
				<control type="image">
					<visible>$PARAM[isFocused]</visible>
					<texture background="true">$VAR[TopRightOverlay]</texture>
					<posx>98r</posx>
					<posy>12</posy>
					<height>82</height>
					<width>82</width>
					<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
					<aspectratio>keep</aspectratio>
				</control>
			</control>
			<!-- Unwatched episodes overlay -->
			<control type="group">
				<visible>Integer.IsGreater(Container.ListItem.Property(UnwatchedEpisodes),0) + !Skin.HasSetting(Hide_Episode_Marks)</visible>
				<control type="group">
					<control type="image">
						<visible>!$PARAM[isFocused]</visible>
						<texture background="true">overlays/toprightempty2.png</texture>
						<posx>101r</posx>
						<posy>12</posy>
						<height>82</height>
						<width>82</width>
					</control>
					<control type="image">
						<visible>$PARAM[isFocused]</visible>
						<texture background="true" colordiffuse="$VAR[MediaWidgetsHighlightColor]">overlays/toprightempty2.png</texture>
						<posx>101r</posx>
						<posy>12</posy>
						<height>82</height>
						<width>82</width>
					</control>
				</control>
				<control type="group">
					<control type="label" description="l2">
						<visible>$PARAM[isFocused]</visible>
						<posx>94r</posx>
						<posy>-255</posy>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetailsSmall</font>
						<align>center</align>
						<shadowcolor />
						<label>$VAR[VideoInfoUnwatchedEpisodes]</label>
						<textcolor>$VAR[MediaWidgetsHighlightColor]</textcolor>
					</control>
					<control type="label" description="l2">
						<visible>!$PARAM[isFocused]</visible>
						<posx>94r</posx>
						<posy>-255</posy>
						<height>$PARAM[itemheight]</height>
						<width>100</width>
						<font>ListDetailsSmall</font>
						<align>center</align>
						<label>$VAR[VideoInfoUnwatchedEpisodes]</label>
						<textcolor>White2</textcolor>
					</control>
				</control>
			</control>
		</control>
	</include>

	<include name="GenericThumbIconTemplate">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<param name="isWideIcon">false</param>
		<param name="isBanner">false</param>
		<param name="isSquare">false</param>
		<param name="isThumb">false</param>
		<param name="isSearch">false</param>
		<param name="isTripleRow">false</param>
		<param name="isTripleRowMedium">false</param>
		<param name="isTripleRowLarge">false</param>
		<param name="isTripleShelvesTogether">false</param>
		<param name="showOverlay">true</param>
		<param name="isLowWidget">false</param>
		<param name="iconwidth" />
		<param name="iconheight" />
		<param name="iconoffset" />
		<param name="shadowoffset" />
		<param name="bordersizeLT" />
		<param name="bordersizeRB" />
		<param name="iconimage">$INFO[ListItem.Icon]</param>
		<param name="fallbackicon">DefaultFolder.png</param>
		<param name="aspect">scale</param>
		<param name="aligny">top</param>
		<param name="align">center</param>
		<param name="overlaylabel" />
		<param name="overlaylabelheight">45</param>
		<param name="overlaylabelvisibility">false</param>
		<param name="overlaylabelalign">left</param>
		<param name="overlaylabelyoffset">65r</param>
		<param name="overlaylabelfont">Shelf_Label</param>
		<param name="overlaylabelscroll">false</param>
		<param name="belowlabel" />
		<param name="belowlabelfont">Shelf_Label</param>
		<param name="belowlabelheight" />
		<param name="belowlabelvisibility">false</param>
		<param name="belowlabelalign">center</param>
		<param name="belowdoublelabel1" />
		<param name="belowdoublelabel2" />
		<param name="labelfont1">Shelf_Label</param>
		<param name="labelfont2">Shelf_Label</param>
		<param name="belowdoublelabelvisibility">false</param>
		<param name="belowdoublelabelalign">center</param>
		<param name="belowtextbox" />
		<param name="belowtextboxvisibility">false</param>
		<param name="belowtextboxalign">center</param>
		<param name="belowtextboxfont">Shelf_Label</param>
		<param name="belowtextboxleft">0</param>
		<param name="belowtextboxwidth" />
		<param name="belowtextboxheight" />
		<param name="belowtextboxbackheight" />
		<param name="belowtextboxbackwidth" />
		<definition>
			<control type="image">
				<left>$PARAM[shadowoffset]</left>
				<top>$PARAM[shadowoffset]</top>
				<width>$PARAM[iconwidth]</width>
				<height>$PARAM[iconheight]</height>
				<aspectratio align="$PARAM[align]" aligny="$PARAM[aligny]">$PARAM[aspect]</aspectratio>
				<texture background="true" fallback="$PARAM[fallbackicon]">$PARAM[iconimage]</texture>
				<colordiffuse>HeavyShadow</colordiffuse>
				<bordersize>$PARAM[bordersizeLT],$PARAM[bordersizeLT],$PARAM[bordersizeRB],$PARAM[bordersizeRB]</bordersize>
			</control>
			<control type="group">
				<left>$PARAM[iconoffset]</left>
				<top>$PARAM[iconoffset]</top>
				<width>$PARAM[iconwidth]</width>
				<height>$PARAM[iconheight]</height>
				<control type="image">
					<visible>$PARAM[isFocused]</visible>
					<texture background="true" fallback="$PARAM[fallbackicon]">$PARAM[iconimage]</texture>
					<bordertexture colordiffuse="$VAR[MediaWidgetsHighlightColor]" border="8">thumbs/IconBorder_FO.png</bordertexture>
					<bordersize>$PARAM[bordersizeLT],$PARAM[bordersizeLT],$PARAM[bordersizeRB],$PARAM[bordersizeRB]</bordersize>
					<aspectratio align="$PARAM[align]" aligny="$PARAM[aligny]">$PARAM[aspect]</aspectratio>
				</control>
				<control type="image">
					<visible>!$PARAM[isFocused]</visible>
					<texture background="true" fallback="$PARAM[fallbackicon]">$PARAM[iconimage]</texture>
					<bordersize>$PARAM[bordersizeLT],$PARAM[bordersizeLT],$PARAM[bordersizeRB],$PARAM[bordersizeRB]</bordersize>
					<aspectratio align="$PARAM[align]" aligny="$PARAM[aligny]">$PARAM[aspect]</aspectratio>
					<colordiffuse>eeeeeeee</colordiffuse>
				</control>
				<include condition="Skin.HasSetting(ShowTopRightOverlays) + !ListItem.IsRecording + !String.StartsWith(ListItem.FolderPath,pvr) + $PARAM[showOverlay]" content="TopRightOverlayTemplate">
					<param name="isFocused">$PARAM[isFocused]</param>
					<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
					<param name="isSearch">$PARAM[isSearch]</param>
					<param name="isBanner">$PARAM[isBanner]</param>
					<param name="isSquare">$PARAM[isSquare]</param>
					<param name="isWideIcon">$PARAM[isWideIcon]</param>
					<param name="isTripleRow">$PARAM[isTripleRow]</param>
					<param name="isTripleRowMedium">$PARAM[isTripleRowMedium]</param>
					<param name="isTripleRowLarge">$PARAM[isTripleRowLarge]</param>
					<param name="isTripleShelvesTogether">$PARAM[isTripleShelvesTogether]</param>
					<param name="isLowWidget">$PARAM[isLowWidget]</param>
				</include>
				<include condition="Skin.HasSetting(ShowRatingOverlays) + !ListItem.IsRecording + !String.StartsWith(ListItem.FolderPath,pvr) + $PARAM[showOverlay]" content="RatingOverlayTemplate">
					<param name="isFocused">$PARAM[isFocused]</param>
					<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
					<param name="isSearch">$PARAM[isSearch]</param>
					<param name="isBanner">$PARAM[isBanner]</param>
					<param name="isSquare">$PARAM[isSquare]</param>
					<param name="isThumb">$PARAM[isThumb]</param>
					<param name="isWideIcon">$PARAM[isWideIcon]</param>
					<param name="isTripleRow">$PARAM[isTripleRow]</param>
					<param name="isTripleRowMedium">$PARAM[isTripleRowMedium]</param>
					<param name="isTripleRowLarge">$PARAM[isTripleRowLarge]</param>
					<param name="isTripleShelvesTogether">$PARAM[isTripleShelvesTogether]</param>
					<param name="isLowWidget">$PARAM[isLowWidget]</param>
				</include>
				<include content="GenericThumbLabelTemplate">
					<param name="isFocused">$PARAM[isFocused]</param>
					<param name="yoffset">$PARAM[overlaylabelyoffset]</param>
					<param name="xoffset">$PARAM[iconoffset]</param>
					<param name="labelwidth">$PARAM[iconwidth]</param>
					<param name="labelheight">$PARAM[overlaylabelheight]</param>
					<param name="labelvisibility">$PARAM[overlaylabelvisibility]</param>
					<param name="labeltext">$PARAM[overlaylabel]</param>
					<param name="labelalign">$PARAM[overlaylabelalign]</param>
					<param name="labelfont">$PARAM[overlaylabelfont]</param>
					<param name="labelscroll">$PARAM[overlaylabelscroll]</param>
					<param name="bordersize">$PARAM[bordersizeLT],0,$PARAM[bordersizeRB],0</param>
				</include>
				<include content="GenericBelowLabelTemplate">
					<param name="isFocused">$PARAM[isFocused]</param>
					<param name="yoffset">-8r</param>
					<param name="xoffset">0</param>
					<param name="labelwidth">$PARAM[iconwidth]</param>
					<param name="labelvisibility">$PARAM[belowlabelvisibility]</param>
					<param name="labeltext">$PARAM[belowlabel]</param>
					<param name="labelfont">$PARAM[belowlabelfont]</param>
					<param name="labelalign">$PARAM[belowlabelalign]</param>
					<param name="labelheight">$PARAM[belowlabelheight]</param>
					<param name="bordersize">$PARAM[bordersizeLT],0,$PARAM[bordersizeLT],0</param>
				</include>
				<include content="GenericBelowDoubleLabelTemplate">
					<param name="isFocused">$PARAM[isFocused]</param>
					<param name="yoffset">-8r</param>
					<param name="xoffset">0</param>
					<param name="labelwidth">$PARAM[iconwidth]</param>
					<param name="labelvisibility">$PARAM[belowdoublelabelvisibility]</param>
					<param name="labeltext1">$PARAM[belowdoublelabel1]</param>
					<param name="labeltext2">$PARAM[belowdoublelabel2]</param>
					<param name="labelfont1">$PARAM[labelfont1]</param>
					<param name="labelfont2">$PARAM[labelfont2]</param>
					<param name="labelalign">$PARAM[belowdoublelabelalign]</param>
					<param name="bordersize">$PARAM[bordersizeLT],0,$PARAM[bordersizeLT],0</param>
				</include>
				<include content="GenericBelowTextboxTemplate">
					<param name="isFocused">$PARAM[isFocused]</param>
					<param name="yoffset">-8r</param>
					<param name="xoffset">$PARAM[belowtextboxleft]</param>
					<param name="labelwidth">$PARAM[belowtextboxbackwidth]</param>
					<param name="labelvisibility">$PARAM[belowtextboxvisibility]</param>
					<param name="labeltext">$PARAM[belowtextbox]</param>
					<param name="labelalign">$PARAM[belowtextboxalign]</param>
					<param name="textboxwidth">$PARAM[belowtextboxwidth]</param>
					<param name="bordersize">$PARAM[bordersizeLT]</param>
					<param name="belowtextboxfont">$PARAM[belowtextboxfont]</param>
					<param name="textboxheight">$PARAM[belowtextboxheight]</param>
					<param name="backgroundheight">$PARAM[belowtextboxbackheight]</param>
				</include>
				<control type="group">
					<visible>![Window.IsActive(script-embuary-video.xml) | Window.IsActive(script-embuary-person.xml)]</visible>
					<control type="image" description="Watched Overlay">
						<visible>!$PARAM[isFocused] + $PARAM[showOverlay] + [!Skin.HasSetting(ShowTopRightOverlays) | [Skin.HasSetting(ShowTopRightOverlays) + [!$EXP[IsIconView] | ListItem.IsRecording | String.StartsWith(ListItem.FolderPath,pvr)]]]</visible>
						<left>60r</left>
						<top>60r</top>
						<width>30</width>
						<height>30</height>
						<texture>$VAR[Overlay]</texture>
						<aspectratio>keep</aspectratio>
					</control>
					<control type="image" description="Watched Overlay">
						<visible>$PARAM[isFocused] + $PARAM[showOverlay] + [!Skin.HasSetting(ShowTopRightOverlays) | [Skin.HasSetting(ShowTopRightOverlays) + [!$EXP[IsIconView] | ListItem.IsRecording | String.StartsWith(ListItem.FolderPath,pvr)]]]</visible>
						<left>60r</left>
						<top>60r</top>
						<width>30</width>
						<height>30</height>
						<texture>$VAR[Overlay]</texture>
						<colordiffuse>$VAR[MediaWidgetsHighlightColor]</colordiffuse>
						<aspectratio>keep</aspectratio>
					</control>
				</control>
				<control type="group">
					<visible>[Window.IsActive(script-embuary-video.xml) | Window.IsActive(script-embuary-person.xml)]</visible>
					<include>EmbuaryInfoListsOverlays</include>
				</control>
			</control>
		</definition>
	</include>

	<include name="GenericThumbLabelTemplate">
		<param name="isFocused">false</param>
		<param name="yoffset"/>
		<param name="xoffset"/>
		<param name="labelwidth"/>
		<param name="labelheight">45</param>
		<param name="labelvisibility"/>
		<param name="labeltext"/>
		<param name="labelalign"/>
		<param name="labelaligny">center</param>
		<param name="bordersize"/>
		<param name="labelfont">Shelf_Label</param>
		<param name="labelscroll">false</param>
		<definition>
			<control type="group">
				<visible>$PARAM[labelvisibility]</visible>
				<top>$PARAM[yoffset]</top>
				<left>$PARAM[xoffset]</left>
				<control type="image">
					<width>$PARAM[labelwidth]</width>
					<height>$PARAM[labelheight]</height>
					<aspectratio>stretch</aspectratio>
					<texture>img/OverlayStripe.png</texture>
					<bordersize>$PARAM[bordersize]</bordersize>
				</control>
				<control type="label">
					<visible>!$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>$PARAM[labelheight]</height>
					<textoffsetx>24</textoffsetx>
					<label>$PARAM[labeltext]</label>
					<align>$PARAM[labelalign]</align>
					<font>$PARAM[labelfont]</font>
					<scroll>$PARAM[labelscroll]</scroll>
				</control>
				<control type="label">
					<visible>$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>$PARAM[labelheight]</height>
					<textoffsetx>24</textoffsetx>
					<textcolor>$VAR[HighlightColor]</textcolor>
					<font>$PARAM[labelfont]</font>
					<label>$PARAM[labeltext]</label>
					<align>$PARAM[labelalign]</align>
					<scroll>$PARAM[labelscroll]</scroll>
				</control>
			</control>
		</definition>
	</include>

	<include name="GenericBelowLabelTemplate">
		<param name="isFocused">false</param>
		<param name="yoffset"/>
		<param name="xoffset"/>
		<param name="labelwidth"/>
		<param name="labelheight">45</param>
		<param name="labelvisibility"/>
		<param name="labeltext"/>
		<param name="labelalign"/>
		<param name="labelaligny">center</param>
		<param name="bordersize"/>
		<param name="labelfont">Shelf_Label</param>
		<definition>
			<control type="group">
				<visible>$PARAM[labelvisibility]</visible>
				<top>$PARAM[yoffset]</top>
				<left>$PARAM[xoffset]</left>
				<control type="image">
					<visible>!$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>$PARAM[labelheight]</height>
					<texture border="4">img/WhiteRoundedT.png</texture>
					<bordersize>$PARAM[bordersize]</bordersize>
					<aspectratio>stretch</aspectratio>
				</control>
				<control type="image">
					<visible>$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>$PARAM[labelheight]</height>
					<texture border="4">img/WhiteRoundedST2.png</texture>
					<colordiffuse>$VAR[HighlightColor]</colordiffuse>
					<bordersize>$PARAM[bordersize]</bordersize>
					<aspectratio>stretch</aspectratio>
				</control>
				<control type="label">
					<visible>!$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>$PARAM[labelheight]</height>
					<font>$PARAM[labelfont]</font>
					<textoffsetx>24</textoffsetx>
					<label>$PARAM[labeltext]</label>
					<align>$PARAM[labelalign]</align>
					<aligny>$PARAM[labelaligny]</aligny>
					<scroll>false</scroll>
				</control>
				<control type="label">
					<visible>$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>$PARAM[labelheight]</height>
					<font>$PARAM[labelfont]</font>
					<textoffsetx>24</textoffsetx>
					<textcolor>$VAR[FocusedTextColor]</textcolor>
					<selectedcolor>$VAR[FocusedTextColor]</selectedcolor>
					<shadowcolor />
					<label>$PARAM[labeltext]</label>
					<align>$PARAM[labelalign]</align>
					<aligny>$PARAM[labelaligny]</aligny>
					<scroll>true</scroll>
				</control>
			</control>
		</definition>
	</include>

	<include name="GenericBelowTextboxTemplate">
		<param name="isFocused">false</param>
		<param name="yoffset"/>
		<param name="xoffset"/>
		<param name="labelwidth"/>
		<param name="labelvisibility">false</param>
		<param name="labeltext"/>
		<param name="labelalign">center</param>
		<param name="textboxwidth">204</param>
		<param name="bordersize"/>
		<param name="belowtextboxfont">Shelf_Label</param>
		<param name="backgroundheight">74</param>
		<param name="textboxheight">64</param>
		<definition>
			<control type="group">
				<visible>$PARAM[labelvisibility]</visible>
				<top>$PARAM[yoffset]</top>
				<left>$PARAM[xoffset]</left>
				<control type="image">
					<visible>!$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>$PARAM[backgroundheight]</height>
					<texture border="4">img/WhiteRoundedT.png</texture>
					<bordersize>4,0,4,0</bordersize>
					<aspectratio>stretch</aspectratio>
				</control>
				<control type="image">
					<visible>$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>$PARAM[backgroundheight]</height>
					<texture border="4">img/WhiteRoundedST2.png</texture>
					<colordiffuse>$VAR[HighlightColor]</colordiffuse>
					<bordersize>4,0,4,0</bordersize>
					<aspectratio>stretch</aspectratio>
				</control>
				<control type="textbox">
					<visible>!$PARAM[isFocused]</visible>
					<top>2</top>
					<left>$PARAM[bordersize]</left>
					<width>$PARAM[textboxwidth]</width>
					<height>$PARAM[textboxheight]</height>
					<label>$PARAM[labeltext]</label>
					<align>$PARAM[labelalign]</align>
					<font>$PARAM[belowtextboxfont]</font>
					<aligny>center</aligny>
					<autoscroll>false</autoscroll>
				</control>
				<control type="textbox">
					<visible>$PARAM[isFocused]</visible>
					<top>2</top>
					<left>$PARAM[bordersize]</left>
					<width>$PARAM[textboxwidth]</width>
					<height>$PARAM[textboxheight]</height>
					<textcolor>$VAR[FocusedTextColor]</textcolor>
					<selectedcolor>$VAR[FocusedTextColor]</selectedcolor>
					<shadowcolor />
					<label>$PARAM[labeltext]</label>
					<align>$PARAM[labelalign]</align>
					<font>$PARAM[belowtextboxfont]</font>
					<aligny>center</aligny>
				</control>
			</control>
		</definition>
	</include>

	<include name="GenericBelowDoubleLabelTemplate">
		<param name="isFocused">false</param>
		<param name="yoffset"/>
		<param name="xoffset"/>
		<param name="labelwidth"/>
		<param name="labelvisibility">false</param>
		<param name="labeltext1"/>
		<param name="labeltext2"/>
		<param name="labelfont1">Shelf_Label</param>
		<param name="labelfont2">Shelf_Label</param>
		<param name="labelalign">center</param>
		<param name="textboxwidth"/>
		<param name="bordersize"/>
		<definition>
			<control type="group">
				<visible>$PARAM[labelvisibility]</visible>
				<top>$PARAM[yoffset]</top>
				<left>$PARAM[xoffset]</left>
				<control type="image">
					<visible>!$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>74</height>
					<texture border="4">img/WhiteRoundedT.png</texture>
					<bordersize>$PARAM[bordersize]</bordersize>
					<aspectratio>stretch</aspectratio>
				</control>
				<control type="image">
					<visible>$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>74</height>
					<texture border="4">img/WhiteRoundedST2.png</texture>
					<colordiffuse>$VAR[HighlightColor]</colordiffuse>
					<bordersize>$PARAM[bordersize]</bordersize>
					<aspectratio>stretch</aspectratio>
				</control>
				<control type="label">
					<visible>!$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>35</height>
					<font>$PARAM[labelfont1]</font>
					<textoffsetx>24</textoffsetx>
					<label>$PARAM[labeltext1]</label>
					<align>$PARAM[labelalign]</align>
					<scroll>false</scroll>
				</control>
				<control type="label">
					<visible>!$PARAM[isFocused]</visible>
					<top>34</top>
					<width>$PARAM[labelwidth]</width>
					<height>35</height>
					<textoffsetx>24</textoffsetx>
					<font>$PARAM[labelfont2]</font>
					<label>$PARAM[labeltext2]</label>
					<align>$PARAM[labelalign]</align>
					<scroll>false</scroll>
				</control>
				<control type="label">
					<visible>$PARAM[isFocused]</visible>
					<width>$PARAM[labelwidth]</width>
					<height>35</height>
					<font>$PARAM[labelfont1]</font>
					<textoffsetx>24</textoffsetx>
					<textcolor>$VAR[FocusedTextColor]</textcolor>
					<selectedcolor>$VAR[FocusedTextColor]</selectedcolor>
					<shadowcolor />
					<label>$PARAM[labeltext1]</label>
					<align>$PARAM[labelalign]</align>
					<scroll>true</scroll>
				</control>
				<control type="label">
					<visible>$PARAM[isFocused]</visible>
					<top>34</top>
					<width>$PARAM[labelwidth]</width>
					<height>35</height>
					<font>$PARAM[labelfont2]</font>
					<textoffsetx>24</textoffsetx>
					<textcolor>$VAR[FocusedTextColor]</textcolor>
					<selectedcolor>$VAR[FocusedTextColor]</selectedcolor>
					<shadowcolor />
					<label>$PARAM[labeltext2]</label>
					<align>$PARAM[labelalign]</align>
					<scroll>true</scroll>
				</control>
			</control>
		</definition>
	</include>

	<!-- View media layouts -->
	<include name="GenericActorIconBig">
		<param name="isFocused">false</param>
		<param name="belowlabel2">$INFO[ListItem.Label2]</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="iconwidth">232.5</param>
				<param name="iconheight">326</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$INFO[ListItem.Icon]</param>
				<param name="fallbackicon">DefaultActorPoster.png</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">12</param>
				<param name="bordersizeRB">20</param>
				<param name="belowdoublelabelvisibility">true</param>
				<param name="belowdoublelabel1">$INFO[ListItem.Label]</param>
				<param name="belowdoublelabel2">$PARAM[belowlabel2]</param>
				<param name="aspect">scale</param>
			</include>
		</definition>
	</include>

	<include name="GenericScreenshotIconBig">
		<param name="isFocused">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="iconwidth">551</param>
				<param name="iconheight">310</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$INFO[ListItem.Thumb]</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">12</param>
				<param name="bordersizeRB">20</param>
				<param name="aspect">scale</param>
			</include>
		</definition>
	</include>

	<include name="GenericThumbIconBig">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<param name="isWideIcon">false</param>
		<param name="aspect">keep</param>
		<param name="iconwidth">310</param>
		<param name="iconheight">310</param>
		<param name="belowtextbox">$INFO[ListItem.Label]</param>
		<param name="belowtextboxwidth">272</param>
		<param name="belowtextboxheight">64</param>
		<param name="belowtextboxbackheight">74</param>
		<param name="belowtextboxbackwidth">310</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="isWideIcon">$PARAM[isWideIcon]</param>
				<param name="iconwidth">$PARAM[iconwidth]</param>
				<param name="iconheight">$PARAM[iconheight]</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$VAR[Square]</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">16</param>
				<param name="bordersizeRB">24</param>
				<param name="belowtextboxvisibility">true</param>
				<param name="belowtextbox">$PARAM[belowtextbox]</param>
				<param name="belowtextboxwidth">$PARAM[belowtextboxwidth]</param>
				<param name="belowtextboxfont">Shelf_Label</param>
				<param name="belowtextboxheight">$PARAM[belowtextboxheight]</param>
				<param name="belowtextboxbackheight">$PARAM[belowtextboxbackheight]</param>
				<param name="belowtextboxbackwidth">$PARAM[belowtextboxbackwidth]</param>
				<param name="aspect">$PARAM[aspect]</param>
			</include>
		</definition>
	</include>

	<include name="GenericThumbIconSmall">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<param name="isWideIcon">false</param>
		<param name="aspect">keep</param>
		<param name="iconwidth">232.5</param>
		<param name="iconheight">232.5</param>
		<param name="belowtextbox">$INFO[ListItem.Label]</param>
		<param name="belowtextboxwidth">208</param>
		<param name="belowtextboxheight">64</param>
		<param name="belowtextboxbackheight">74</param>
		<param name="belowtextboxbackwidth">232.5</param>
		<param name="aspect">keep</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="isWideIcon">$PARAM[isWideIcon]</param>
				<param name="iconwidth">$PARAM[iconwidth]</param>
				<param name="iconheight">$PARAM[iconheight]</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$VAR[Square]</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">12</param>
				<param name="bordersizeRB">20</param>
				<param name="belowtextboxvisibility">true</param>
				<param name="belowtextbox">$PARAM[belowtextbox]</param>
				<param name="belowtextboxwidth">$PARAM[belowtextboxwidth]</param>
				<param name="belowtextboxfont">ListDetailsSmall</param>
				<param name="belowtextboxheight">$PARAM[belowtextboxheight]</param>
				<param name="belowtextboxbackheight">$PARAM[belowtextboxbackheight]</param>
				<param name="belowtextboxbackwidth">$PARAM[belowtextboxbackwidth]</param>
				<param name="aspect">$PARAM[aspect]</param>
			</include>
		</definition>
	</include>

	<!-- <include name="GenericFavouriteIconBig">
		<param name="isFocused">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="iconwidth">267</param>
				<param name="iconheight">400</param>
				<param name="iconoffset">0</param>
				<param name="aspect">keep</param>
				<param name="aligny">bottom</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">16</param>
				<param name="bordersizeRB">24</param>
				<param name="belowtextboxvisibility">true</param>
				<param name="belowtextbox">$INFO[ListItem.Label]</param>
				<param name="belowtextboxwidth">234</param>
				<param name="belowtextboxfont">Shelf_Label</param>
				<param name="belowtextboxheight">64</param>
				<param name="belowtextboxbackheight">74</param>
				<param name="belowtextboxbackwidth">267</param>
			</include>
		</definition>
	</include> -->

	<!-- <include name="GenericFavouriteIconMed">
		<param name="isFocused">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="iconwidth">167</param>
				<param name="iconheight">250</param>
				<param name="iconoffset">5</param>
				<param name="aspect">keep</param>
				<param name="aligny">bottom</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">12</param>
				<param name="bordersizeRB">20</param>
				<param name="belowtextboxvisibility">true</param>
				<param name="belowtextbox">$INFO[ListItem.Label]</param>
				<param name="belowtextboxleft">-5</param>
				<param name="belowtextboxwidth">155</param>
				<param name="belowtextboxfont">FanartTitleFont</param>
				<param name="belowtextboxalign">center</param>
				<param name="belowtextboxheight">54</param>
				<param name="belowtextboxbackheight">64</param>
				<param name="belowtextboxbackwidth">180</param>
			</include>
		</definition>
	</include> -->

	<!-- <include name="GenericFavouriteIconSmall">
		<param name="isFocused">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="iconwidth">107</param>
				<param name="iconheight">160</param>
				<param name="iconoffset">20</param>
				<param name="aspect">keep</param>
				<param name="aligny">bottom</param>
				<param name="shadowoffset">28</param>
				<param name="bordersizeLT">12</param>
				<param name="bordersizeRB">20</param>
				<param name="belowtextboxvisibility">true</param>
				<param name="belowtextbox">$INFO[ListItem.Label]</param>
				<param name="belowtextboxleft">-20</param>
				<param name="belowtextboxwidth">135</param>
				<param name="belowtextboxfont">FanartTitleFont</param>
				<param name="belowtextboxalign">center</param>
				<param name="belowtextboxheight">47</param>
				<param name="belowtextboxbackheight">56</param>
				<param name="belowtextboxbackwidth">160</param>
			</include>
		</definition>
	</include> -->

	<include name="GenericMusicIconBig">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="iconwidth">310</param>
				<param name="iconheight">310</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$VAR[Square]</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">16</param>
				<param name="bordersizeRB">24</param>
				<param name="belowlabelvisibility">true</param>
				<param name="belowlabel">$VAR[MusicLabelVar]</param>
				<param name="belowlabelheight">52</param>
			</include>
		</definition>
	</include>

	<include name="GenericMusicIconSmall">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<param name="isSquare">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="isSquare">$PARAM[isSquare]</param>
				<param name="iconwidth">232.5</param>
				<param name="iconheight">232.5</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$VAR[Square]</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">12</param>
				<param name="bordersizeRB">20</param>
				<param name="belowlabelvisibility">true</param>
				<param name="belowlabel">$VAR[MusicLabelVar]</param>
				<param name="belowlabelfont">ListDetailsSmall</param>
				<param name="belowlabelheight">42</param>
			</include>
		</definition>
	</include>

	<include name="GenericMusicIconInfo">
		<param name="isFocused">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="iconwidth">310</param>
				<param name="iconheight">310</param>
				<param name="iconoffset">0</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">12</param>
				<param name="bordersizeRB">20</param>
				<param name="belowtextboxvisibility">true</param>
				<param name="belowtextbox">$INFO[ListItem.Label][CR]$INFO[ListItem.Year]</param>
				<param name="belowtextboxwidth">286</param>
				<param name="belowtextboxfont">ListDetailsSmall</param>
				<param name="belowtextboxheight">64</param>
				<param name="belowtextboxbackheight">74</param>
				<param name="belowtextboxbackwidth">310</param>
			</include>
		</definition>
	</include>

	<include name="GenericPosterIconBig">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<param name="isSearch">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="isSearch">$PARAM[isSearch]</param>
				<param name="iconwidth">310</param>
				<param name="iconheight">437</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$VAR[Poster]</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">16</param>
				<param name="bordersizeRB">24</param>
				<param name="overlaylabelvisibility">!ListItem.IsParentFolder + [String.IsEqual(ListItem.DBType,season) | String.IsEqual(ListItem.DBType,episode) | String.IsEmpty(listitem.DBType)]</param>
				<param name="overlaylabel">$VAR[PosterLabel]</param>
				<param name="overlaylabelalign">center</param>
				<param name="overlaylabelyoffset">90r</param>
				<param name="aspect">stretch</param>
			</include>
		</definition>
	</include>

	<include name="GenericRecordingIconSmall">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<param name="isSearch">false</param>
		<param name="viewid" />
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="isSearch">$PARAM[isSearch]</param>
				<param name="iconwidth">232.5</param>
				<param name="iconheight">326</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$INFO[Container(4400$PARAM[viewid]).ListItem.Icon]</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">12</param>
				<param name="bordersizeRB">20</param>
				<param name="aspect">keep</param>
			</include>
		</definition>
	</include>

	<include name="GenericRecordingIconBig">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<param name="isSearch">false</param>
		<param name="viewid" />
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="isSearch">$PARAM[isSearch]</param>
				<param name="iconwidth">310</param>
				<param name="iconheight">437</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$INFO[Container(4400$PARAM[viewid]).ListItem.Icon]</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">16</param>
				<param name="bordersizeRB">24</param>
				<param name="aspect">keep</param>
			</include>
		</definition>
	</include>

	<include name="GenericPosterIconSmall">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<param name="isSearch">false</param>
		<param name="aspect">scale</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="isSearch">$PARAM[isSearch]</param>
				<param name="iconwidth">232.5</param>
				<param name="iconheight">326</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$VAR[Poster]</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">12</param>
				<param name="bordersizeRB">20</param>
				<param name="overlaylabelvisibility">!ListItem.IsParentFolder + [String.IsEqual(ListItem.DBType,season) | String.IsEqual(ListItem.DBType,episode) | String.IsEmpty(listitem.DBType)]</param>
				<param name="overlaylabel">$VAR[PosterLabel]</param>
				<param name="overlaylabelalign">center</param>
				<param name="overlaylabelyoffset">80r</param>
				<param name="aspect">$PARAM[aspect]</param>
			</include>
		</definition>
	</include>

	<include name="GenericEpisodeIconBig">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="isThumb">true</param>
				<param name="iconwidth">310</param>
				<param name="iconheight">226</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$VAR[Episode]</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">16</param>
				<param name="bordersizeRB">24</param>
				<param name="overlaylabelvisibility">!ListItem.IsParentFolder + [[String.IsEqual(ListItem.DBType,episode) + [!String.IsEmpty(ListItem.Season) | !String.IsEmpty(ListItem.Episode)]] | String.IsEmpty(listitem.DBType)]</param>
				<param name="overlaylabel">$VAR[EpisodeLabel]</param>
			</include>
		</definition>
	</include>

	<include name="GenericEpisodeIconSmall">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="isThumb">true</param>
				<param name="iconwidth">232.5</param>
				<param name="iconheight">170</param>
				<param name="iconoffset">0</param>
				<param name="iconimage">$VAR[Episode]</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">12</param>
				<param name="bordersizeRB">20</param>
				<param name="overlaylabelvisibility">!ListItem.IsParentFolder + [[String.IsEqual(ListItem.DBType,episode) + [!String.IsEmpty(ListItem.Season) | !String.IsEmpty(ListItem.Episode)]] | String.IsEmpty(listitem.DBType)]</param>
				<param name="overlaylabel">$VAR[EpisodeLabel]</param>
			</include>
		</definition>
	</include>

	<include name="GenericBannerIconBig">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="isBanner">true</param>
				<param name="iconwidth">930</param>
				<param name="iconheight">204</param>
				<param name="iconoffset">0</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">16</param>
				<param name="bordersizeRB">24</param>
				<param name="iconimage">$VAR[Banner]</param>
			</include>
			<control type="image">
				<aspectratio align="center">keep</aspectratio>
				<left>20</left>
				<top>30</top>
				<width>360</width>
				<height>140</height>
				<texture background="true">$VAR[ClearLogo]</texture>
				<visible>String.IsEmpty(ListItem.Art(banner)) + String.IsEmpty(ListItem.Art(tvshow.banner)) + [!Skin.HasSetting(ShowRatingOverlays) | [!Skin.HasSetting(ShowRatingOverlays) + !$EXP[canShowRatingOverlay]]]</visible>
			</control>
			<control type="image">
				<aspectratio align="center">keep</aspectratio>
				<left>45</left>
				<top>30</top>
				<width>360</width>
				<height>140</height>
				<texture background="true">$VAR[ClearLogo]</texture>
				<visible>String.IsEmpty(ListItem.Art(banner)) + String.IsEmpty(ListItem.Art(tvshow.banner)) + Skin.HasSetting(ShowRatingOverlays) + $EXP[canShowRatingOverlay]</visible>
			</control>
		</definition>
	</include>

	<include name="GenericBannerIconSmall">
		<param name="isFocused">false</param>
		<param name="isSmallIcon">false</param>
		<definition>
			<include content="GenericThumbIconTemplate">
				<param name="isFocused">$PARAM[isFocused]</param>
				<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				<param name="isBanner">true</param>
				<param name="iconwidth">465</param>
				<param name="iconheight">112</param>
				<param name="iconoffset">0</param>
				<param name="shadowoffset">8</param>
				<param name="bordersizeLT">12</param>
				<param name="bordersizeRB">20</param>
				<param name="iconimage">$VAR[Banner]</param>
			</include>
			<control type="image">
				<aspectratio align="center">keep</aspectratio>
				<left>20</left>
				<top>15</top>
				<width>150</width>
				<height>80</height>
				<texture background="true">$VAR[ClearLogo]</texture>
				<visible>String.IsEmpty(ListItem.Art(banner)) + String.IsEmpty(ListItem.Art(tvshow.banner)) + [!Skin.HasSetting(ShowRatingOverlays) | [!Skin.HasSetting(ShowRatingOverlays) + !$EXP[canShowRatingOverlay]]]</visible>
			</control>
			<control type="image">
				<aspectratio align="center">keep</aspectratio>
				<left>70</left>
				<top>15</top>
				<width>150</width>
				<height>80</height>
				<texture background="true">$VAR[ClearLogo]</texture>
				<visible>String.IsEmpty(ListItem.Art(banner)) + String.IsEmpty(ListItem.Art(tvshow.banner)) + [Skin.HasSetting(ShowRatingOverlays) + $EXP[canShowRatingOverlay]]</visible>
			</control>
		</definition>
	</include>

	<!-- View Layouts -->
	<include name="BannerLayout">
		<param name="viewid"/>
		<definition>
			<itemlayout condition="[!Skin.HasSetting($PARAM[viewid]_TvShows_SmallIcons) + Container.Content(TvShows) + Skin.HasSetting($PARAM[viewid]_TVShows_UseBanners)]" height="204" width="930">
				<include content="GenericBannerIconBig">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">false</param>
				</include>
			</itemlayout>
			<focusedlayout condition="[!Skin.HasSetting($PARAM[viewid]_TvShows_SmallIcons) + Container.Content(TvShows) + Skin.HasSetting($PARAM[viewid]_TVShows_UseBanners)]" height="204" width="930">
				<include content="GenericBannerIconBig">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">false</param>
				</include>
			</focusedlayout>
			<itemlayout condition="[Skin.HasSetting($PARAM[viewid]_TvShows_SmallIcons) + Container.Content(TvShows) + Skin.HasSetting($PARAM[viewid]_TVShows_UseBanners)]" height="112" width="465">
				<include content="GenericBannerIconSmall">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">true</param>
				</include>
			</itemlayout>
			<focusedlayout condition="[Skin.HasSetting($PARAM[viewid]_TvShows_SmallIcons) + Container.Content(TvShows) + Skin.HasSetting($PARAM[viewid]_TVShows_UseBanners)]" height="112" width="465">
				<include content="GenericBannerIconSmall">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">true</param>
				</include>
			</focusedlayout>
			<itemlayout condition="[!Skin.HasSetting($PARAM[viewid]_Movies_SmallIcons) + [container.content(movies) | container.content(sets)] + Skin.HasSetting($PARAM[viewid]_Movies_UseBanners)]" height="204" width="930">
				<include content="GenericBannerIconBig">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">false</param>
				</include>
			</itemlayout>
			<focusedlayout condition="[!Skin.HasSetting($PARAM[viewid]_Movies_SmallIcons) + [container.content(movies) | container.content(sets)] + Skin.HasSetting($PARAM[viewid]_Movies_UseBanners)]" height="204" width="930">
				<include content="GenericBannerIconBig">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">false</param>
				</include>
			</focusedlayout>
			<itemlayout condition="[Skin.HasSetting($PARAM[viewid]_Movies_SmallIcons) + [container.content(movies) | container.content(sets)] + Skin.HasSetting($PARAM[viewid]_Movies_UseBanners)]" height="112" width="465">
				<include content="GenericBannerIconSmall">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">true</param>
				</include>
			</itemlayout>
			<focusedlayout condition="[Skin.HasSetting($PARAM[viewid]_Movies_SmallIcons) + [container.content(movies) | container.content(sets)] + Skin.HasSetting($PARAM[viewid]_Movies_UseBanners)]" height="112" width="465">
				<include content="GenericBannerIconSmall">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">true</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<!-- <include name="ActorLayout">
		<param name="viewid"/>
		<param name="belowlabel2" />
		<definition>
			<itemlayout height="410" width="232.5">
				<include content="GenericActorIconBig">
					<param name="isFocused">false</param>
					<param name="belowlabel2">$PARAM[belowlabel2]</param>
				</include>
			</itemlayout>
			<focusedlayout height="410" width="232.5">
				<include content="GenericActorIconBig">
					<param name="isFocused">Control.HasFocus($PARAM[viewid])</param>
					<param name="belowlabel2">$PARAM[belowlabel2]</param>
				</include>
			</focusedlayout>
		</definition>
	</include> -->

	<include name="SetLayout">
		<param name="viewid"/>
		<definition>
			<itemlayout height="410" width="232.5">
				<include content="GenericThumbIconTemplate">
					<param name="isFocused">false</param>
					<param name="iconwidth">232.5</param>
					<param name="iconheight">326</param>
					<param name="iconoffset">0</param>
					<param name="iconimage">$INFO[ListItem.Icon]</param>
					<param name="fallbackicon">DefaultActorPoster.png</param>
					<param name="shadowoffset">8</param>
					<param name="bordersizeLT">12</param>
					<param name="bordersizeRB">20</param>
					<param name="belowdoublelabelvisibility">true</param>
					<param name="belowdoublelabel1">$INFO[ListItem.Label]</param>
					<param name="belowdoublelabel2">$INFO[ListItem.Year]</param>
					<param name="aspect">stretch</param>
					<param name="isSmallIcon">true</param>
				</include>
			</itemlayout>
			<focusedlayout height="410" width="232.5">
				<include content="GenericThumbIconTemplate">
					<param name="isFocused">Control.HasFocus($PARAM[viewid])</param>
					<param name="iconwidth">232.5</param>
					<param name="iconheight">326</param>
					<param name="iconoffset">0</param>
					<param name="iconimage">$INFO[ListItem.Icon]</param>
					<param name="fallbackicon">DefaultActorPoster.png</param>
					<param name="shadowoffset">8</param>
					<param name="bordersizeLT">12</param>
					<param name="bordersizeRB">20</param>
					<param name="belowdoublelabelvisibility">true</param>
					<param name="belowdoublelabel1">$INFO[ListItem.Label]</param>
					<param name="belowdoublelabel2">$INFO[ListItem.Year]</param>
					<param name="aspect">stretch</param>
					<param name="isSmallIcon">true</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="CastLayout">
		<param name="viewid"/>
		<param name="belowdoublelabel1">$INFO[ListItem.Label]</param>
		<param name="belowdoublelabel2">$INFO[ListItem.Label2]</param>
		<param name="belowdoublelabelvisibility">true</param>
		<param name="belowlabelvisibility">false</param>
		<param name="belowlabel" />
		<param name="belowlabelheight">35</param>
		<param name="isSmallIcon">true</param>
		<param name="iconimage">$INFO[ListItem.Icon]</param>
		<param name="aspect">scale</param>
		<definition>
			<itemlayout height="410" width="232.5">
				<include content="GenericThumbIconTemplate">
					<param name="isFocused">false</param>
					<param name="iconwidth">232.5</param>
					<param name="iconheight">326</param>
					<param name="iconoffset">0</param>
					<param name="iconimage">$PARAM[iconimage]</param>
					<param name="fallbackicon">DefaultActorPoster.png</param>
					<param name="shadowoffset">8</param>
					<param name="bordersizeLT">12</param>
					<param name="bordersizeRB">20</param>
					<param name="belowlabelvisibility">$PARAM[belowlabelvisibility]</param>
					<param name="belowlabel">$PARAM[belowlabel]</param>
					<param name="belowlabelheight">$PARAM[belowlabelheight]</param>
					<param name="belowdoublelabelvisibility">$PARAM[belowdoublelabelvisibility]</param>
					<param name="belowdoublelabel1">$PARAM[belowdoublelabel1]</param>
					<param name="belowdoublelabel2">$PARAM[belowdoublelabel2]</param>
					<param name="labelfont1">ListDetailsSmall</param>
					<param name="labelfont2">ListDetailsSmall</param>
					<param name="aspect">$PARAM[aspect]</param>
					<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				</include>
			</itemlayout>
			<focusedlayout height="410" width="232.5">
				<include content="GenericThumbIconTemplate">
					<param name="isFocused">Control.HasFocus($PARAM[viewid])</param>
					<param name="iconwidth">232.5</param>
					<param name="iconheight">326</param>
					<param name="iconoffset">0</param>
					<param name="iconimage">$PARAM[iconimage]</param>
					<param name="fallbackicon">DefaultActorPoster.png</param>
					<param name="shadowoffset">8</param>
					<param name="bordersizeLT">12</param>
					<param name="bordersizeRB">20</param>
					<param name="belowlabelvisibility">$PARAM[belowlabelvisibility]</param>
					<param name="belowlabel">$PARAM[belowlabel]</param>
					<param name="belowlabelheight">$PARAM[belowlabelheight]</param>
					<param name="belowdoublelabelvisibility">$PARAM[belowdoublelabelvisibility]</param>
					<param name="belowdoublelabel1">$PARAM[belowdoublelabel1]</param>
					<param name="belowdoublelabel2">$PARAM[belowdoublelabel2]</param>
					<param name="labelfont1">ListDetailsSmall</param>
					<param name="labelfont2">ListDetailsSmall</param>
					<param name="aspect">$PARAM[aspect]</param>
					<param name="isSmallIcon">$PARAM[isSmallIcon]</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="WideLayout">
		<param name="viewid"/>
		<param name="belowdoublelabel1">$INFO[ListItem.Label]</param>
		<param name="belowdoublelabel2">$INFO[ListItem.Label2]</param>
		<param name="belowdoublelabelvisibility">true</param>
		<param name="belowlabelvisibility">false</param>
		<param name="belowlabel" />
		<param name="belowlabelheight">35</param>
		<definition>
			<itemlayout height="410" width="392">
				<include content="GenericThumbIconTemplate">
					<param name="isFocused">false</param>
					<param name="iconwidth">386</param>
					<param name="iconheight">326</param>
					<param name="iconoffset">0</param>
					<param name="iconimage">$INFO[ListItem.Icon]</param>
					<param name="fallbackicon">DefaultActorPoster.png</param>
					<param name="shadowoffset">8</param>
					<param name="bordersizeLT">12</param>
					<param name="bordersizeRB">20</param>
					<param name="belowlabelvisibility">$PARAM[belowlabelvisibility]</param>
					<param name="belowlabel">$PARAM[belowlabel]</param>
					<param name="belowlabelheight">$PARAM[belowlabelheight]</param>
					<param name="belowdoublelabelvisibility">$PARAM[belowdoublelabelvisibility]</param>
					<param name="belowdoublelabel1">$PARAM[belowdoublelabel1]</param>
					<param name="belowdoublelabel2">$PARAM[belowdoublelabel2]</param>
					<param name="labelfont1">ListDetailsSmall</param>
					<param name="labelfont2">ListDetailsSmall</param>
					<param name="aspect">scale</param>
				</include>
			</itemlayout>
			<focusedlayout height="410" width="392">
				<include content="GenericThumbIconTemplate">
					<param name="isFocused">Control.HasFocus($PARAM[viewid])</param>
					<param name="iconwidth">386</param>
					<param name="iconheight">326</param>
					<param name="iconoffset">0</param>
					<param name="iconimage">$INFO[ListItem.Icon]</param>
					<param name="fallbackicon">DefaultActorPoster.png</param>
					<param name="shadowoffset">8</param>
					<param name="bordersizeLT">12</param>
					<param name="bordersizeRB">20</param>
					<param name="belowlabelvisibility">$PARAM[belowlabelvisibility]</param>
					<param name="belowlabel">$PARAM[belowlabel]</param>
					<param name="belowlabelheight">$PARAM[belowlabelheight]</param>
					<param name="belowdoublelabelvisibility">$PARAM[belowdoublelabelvisibility]</param>
					<param name="belowdoublelabel1">$PARAM[belowdoublelabel1]</param>
					<param name="belowdoublelabel2">$PARAM[belowdoublelabel2]</param>
					<param name="labelfont1">ListDetailsSmall</param>
					<param name="labelfont2">ListDetailsSmall</param>
					<param name="aspect">scale</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="ScreenshotLayout">
		<param name="viewid"/>
		<definition>
			<itemlayout height="310" width="551">
				<include content="GenericScreenshotIconBig">
					<param name="isFocused">false</param>
				</include>
			</itemlayout>
			<focusedlayout height="310" width="551">
				<include content="GenericScreenshotIconBig">
					<param name="isFocused">true</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="RecordingsLayout">
		<param name="viewid"/>
		<definition>
			<itemlayout condition="!Skin.HasSetting($PARAM[viewid]_SmallIcons) + Window.IsActive(MyPVRRecordings.xml)" height="437" width="310">
				<include content="GenericRecordingIconBig">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">false</param>
					<param name="viewid">$PARAM[viewid]</param>
				</include>
			</itemlayout>
			<focusedlayout condition="!Skin.HasSetting($PARAM[viewid]_SmallIcons) + Window.IsActive(MyPVRRecordings.xml)" height="437" width="310">
				<include content="GenericRecordingIconBig">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">false</param>
					<param name="viewid">$PARAM[viewid]</param>
				</include>
			</focusedlayout>
			<itemlayout condition="Skin.HasSetting($PARAM[viewid]_SmallIcons) + Window.IsActive(MyPVRRecordings.xml)" height="326" width="232.5">
				<include content="GenericRecordingIconSmall">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">true</param>
					<param name="viewid">$PARAM[viewid]</param>
				</include>
			</itemlayout>
			<focusedlayout condition="Skin.HasSetting($PARAM[viewid]_SmallIcons) + Window.IsActive(MyPVRRecordings.xml)" height="326" width="232.5">
				<include content="GenericRecordingIconSmall">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">true</param>
					<param name="viewid">$PARAM[viewid]</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="PosterLayout">
		<param name="viewid"/>
		<definition>
			<itemlayout condition="[!Skin.HasSetting($PARAM[viewid]_TVShows_SmallIcons) + Container.Content(tvshows) + !Skin.HasSetting($PARAM[viewid]_TVShows_UseBanners)] | [!Skin.HasSetting($PARAM[viewid]_Movies_SmallIcons) + !Skin.HasSetting($PARAM[viewid]_Movies_UseBanners) + [container.content(movies) | container.content(sets)]] | [!Skin.HasSetting($PARAM[viewid]_Seasons_SmallIcons) + container.content(seasons)] | [Skin.HasSetting(EpisodesUsePoster) + !Skin.HasSetting($PARAM[viewid]_Episodes_SmallIcons) + container.content(episodes)]" height="437" width="310">
				<include content="GenericPosterIconBig">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">false</param>
				</include>
			</itemlayout>
			<focusedlayout condition="[!Skin.HasSetting($PARAM[viewid]_TVShows_SmallIcons) + Container.Content(tvshows) + !Skin.HasSetting($PARAM[viewid]_TVShows_UseBanners)] | [!Skin.HasSetting($PARAM[viewid]_Movies_SmallIcons) + !Skin.HasSetting($PARAM[viewid]_Movies_UseBanners) + [container.content(movies) | container.content(sets)]] | [!Skin.HasSetting($PARAM[viewid]_Seasons_SmallIcons) + container.content(seasons)] | [Skin.HasSetting(EpisodesUsePoster) + !Skin.HasSetting($PARAM[viewid]_Episodes_SmallIcons) + container.content(episodes)]" height="437" width="310">
				<include content="GenericPosterIconBig">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">false</param>
				</include>
			</focusedlayout>
			<itemlayout condition="[Skin.HasSetting($PARAM[viewid]_TVShows_SmallIcons) + Container.Content(tvshows) + !Skin.HasSetting($PARAM[viewid]_TVShows_UseBanners)] | [Skin.HasSetting($PARAM[viewid]_Movies_SmallIcons) + !Skin.HasSetting($PARAM[viewid]_Movies_UseBanners) + [container.content(movies) | container.content(sets)]] | [Skin.HasSetting($PARAM[viewid]_Seasons_SmallIcons) + container.content(seasons)] | [Skin.HasSetting(EpisodesUsePoster) + Skin.HasSetting($PARAM[viewid]_Episodes_SmallIcons) + container.content(episodes)]" height="326" width="232.5">
				<include content="GenericPosterIconSmall">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">true</param>
				</include>
			</itemlayout>
			<focusedlayout condition="[Skin.HasSetting($PARAM[viewid]_TVShows_SmallIcons) + Container.Content(tvshows) + !Skin.HasSetting($PARAM[viewid]_TVShows_UseBanners)] | [Skin.HasSetting($PARAM[viewid]_Movies_SmallIcons) + !Skin.HasSetting($PARAM[viewid]_Movies_UseBanners) + [container.content(movies) | container.content(sets)]] | [Skin.HasSetting($PARAM[viewid]_Seasons_SmallIcons) + container.content(seasons)] | [Skin.HasSetting(EpisodesUsePoster) + Skin.HasSetting($PARAM[viewid]_Episodes_SmallIcons) + container.content(episodes)]" height="326" width="232.5">
				<include content="GenericPosterIconSmall">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">true</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="EpisodeLayout">
		<param name="viewid"/>
		<definition>
			<itemlayout condition="!Skin.HasSetting(EpisodesUsePoster) + !Skin.HasSetting($PARAM[viewid]_Episodes_SmallIcons) + container.content(episodes)" height="226" width="310">
				<include content="GenericEpisodeIconBig">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">false</param>
				</include>
			</itemlayout>
			<focusedlayout condition="!Skin.HasSetting(EpisodesUsePoster) + !Skin.HasSetting($PARAM[viewid]_Episodes_SmallIcons) + container.content(episodes)" height="226" width="310">
				<include content="GenericEpisodeIconBig">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">false</param>
				</include>
			</focusedlayout>
			<itemlayout condition="!Skin.HasSetting(EpisodesUsePoster) + Skin.HasSetting($PARAM[viewid]_Episodes_SmallIcons) + container.content(episodes)" height="170" width="232.5">
				<include content="GenericEpisodeIconSmall">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">true</param>
				</include>
			</itemlayout>
			<focusedlayout condition="!Skin.HasSetting(EpisodesUsePoster) + Skin.HasSetting($PARAM[viewid]_Episodes_SmallIcons) + container.content(episodes)" height="170" width="232.5">
				<include content="GenericEpisodeIconSmall">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">true</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="Info_Albums">
		<param name="viewid"/>
		<definition>
			<itemlayout height="372" width="310.5">
				<include content="GenericMusicIconInfo">
					<param name="isFocused">false</param>
				</include>
			</itemlayout>
			<focusedlayout height="372" width="310.5">
				<include content="GenericMusicIconInfo">
					<param name="isFocused">Control.HasFocus($PARAM[viewid])</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="MusicLayout">
		<param name="viewid"/>
		<definition>
			<itemlayout condition="!Skin.HasSetting($PARAM[viewid]_Music_SmallIcons) + [Container.Content(artists) | Container.Content(albums) | Container.Content(songs) | Container.Content(musicvideos)]" height="372" width="310">
				<include content="GenericMusicIconBig">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">false</param>
				</include>
			</itemlayout>
			<focusedlayout condition="!Skin.HasSetting($PARAM[viewid]_Music_SmallIcons) + [Container.Content(artists) | Container.Content(albums) | Container.Content(songs) | Container.Content(musicvideos)]" height="372" width="310">
				<include content="GenericMusicIconBig">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">false</param>
				</include>
			</focusedlayout>
			<itemlayout condition="Skin.HasSetting($PARAM[viewid]_Music_SmallIcons) + [Container.Content(artists) | Container.Content(albums) | Container.Content(songs) | Container.Content(musicvideos)]" height="294" width="232.5">
				<include content="GenericMusicIconSmall">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">true</param>
					<param name="isSquare">true</param>
				</include>
			</itemlayout>
			<focusedlayout condition="Skin.HasSetting($PARAM[viewid]_Music_SmallIcons) + [Container.Content(artists) | Container.Content(albums) | Container.Content(songs) | Container.Content(musicvideos)]" height="294" width="232.5">
				<include content="GenericMusicIconSmall">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">true</param>
					<param name="isSquare">true</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="ImageLayout">
		<param name="viewid"/>
		<definition>
			<itemlayout condition="!Skin.HasSetting($PARAM[viewid]_Images_SmallIcons) + Container.Content(images)" height="396" width="310">
				<include content="GenericThumbIconBig">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">false</param>
				</include>
			</itemlayout>
			<focusedlayout condition="!Skin.HasSetting($PARAM[viewid]_Images_SmallIcons) + Container.Content(images)" height="396" width="310">
				<include content="GenericThumbIconBig">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">false</param>
				</include>
			</focusedlayout>
			<itemlayout condition="Skin.HasSetting($PARAM[viewid]_Images_SmallIcons) + Container.Content(images)" height="320" width="232.5">
				<include content="GenericThumbIconSmall">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">true</param>
				</include>
			</itemlayout>
			<focusedlayout condition="Skin.HasSetting($PARAM[viewid]_Images_SmallIcons) + Container.Content(images)" height="320" width="232.5">
				<include content="GenericThumbIconSmall">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">true</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="AddonLayout">
		<param name="viewid"/>
		<definition>
			<itemlayout condition="!Skin.HasSetting($PARAM[viewid]_Addons_SmallIcons) + Container.Content(addons)" height="400" width="310">
				<include content="GenericThumbIconBig">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">false</param>
				</include>
			</itemlayout>
			<focusedlayout condition="!Skin.HasSetting($PARAM[viewid]_Addons_SmallIcons) + Container.Content(addons)" height="400" width="310">
				<include content="GenericThumbIconBig">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">false</param>
				</include>
			</focusedlayout>
			<itemlayout condition="Skin.HasSetting($PARAM[viewid]_Addons_SmallIcons) + Container.Content(addons)" height="320" width="232.5">
				<include content="GenericThumbIconSmall">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">true</param>
				</include>
			</itemlayout>
			<focusedlayout condition="Skin.HasSetting($PARAM[viewid]_Addons_SmallIcons) + Container.Content(addons)" height="320" width="232.5">
				<include content="GenericThumbIconSmall">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">true</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="VideoLayout">
		<param name="viewid"/>
		<definition>
			<itemlayout condition="!Skin.HasSetting($PARAM[viewid]_SmallIcons) + container.content(videos)" height="400" width="420">
				<include content="GenericThumbIconBig">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">false</param>
					<param name="isWideIcon">true</param>
					<param name="aspect">scale</param>
					<param name="iconwidth">420</param>
					<param name="belowtextboxwidth">400</param>
					<param name="belowtextboxbackwidth">420</param>
				</include>
			</itemlayout>
			<focusedlayout condition="!Skin.HasSetting($PARAM[viewid]_SmallIcons) + container.content(videos)" height="400" width="420">
				<include content="GenericThumbIconBig">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">false</param>
					<param name="isWideIcon">true</param>
					<param name="aspect">scale</param>
					<param name="iconwidth">420</param>
					<param name="belowtextboxwidth">400</param>
					<param name="belowtextboxbackwidth">420</param>
				</include>
			</focusedlayout>
			<itemlayout condition="Skin.HasSetting($PARAM[viewid]_SmallIcons) + container.content(videos)" height="320" width="300">
				<include content="GenericThumbIconSmall">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">true</param>
					<param name="isWideIcon">true</param>
					<param name="aspect">scale</param>
					<param name="iconwidth">300</param>
					<param name="belowtextboxwidth">280</param>
					<param name="belowtextboxheight">54</param>
					<param name="belowtextboxbackheight">64</param>
					<param name="belowtextboxbackwidth">300</param>
				</include>
			</itemlayout>
			<focusedlayout condition="Skin.HasSetting($PARAM[viewid]_SmallIcons) + container.content(videos)" height="320" width="300">
				<include content="GenericThumbIconSmall">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">true</param>
					<param name="isWideIcon">true</param>
					<param name="aspect">scale</param>
					<param name="iconwidth">300</param>
					<param name="belowtextboxwidth">280</param>
					<param name="belowtextboxheight">54</param>
					<param name="belowtextboxbackheight">64</param>
					<param name="belowtextboxbackwidth">300</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="GenericLayout">
		<param name="viewid"/>
		<definition>

			<itemlayout condition="Window.IsActive(MyPVRChannels.xml) + !Skin.HasSetting($PARAM[viewid]_SmallIcons)" height="400" width="310">
				<include content="GenericThumbIconBig">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">false</param>
					<param name="belowtextbox">$INFO[ListItem.ChannelNumberLabel] - $INFO[ListItem.ChannelName]</param>
				</include>
			</itemlayout>
			<focusedlayout condition="Window.IsActive(MyPVRChannels.xml) + !Skin.HasSetting($PARAM[viewid]_SmallIcons)" height="400" width="310">
				<include content="GenericThumbIconBig">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">false</param>
					<param name="belowtextbox">$INFO[ListItem.ChannelNumberLabel] - $INFO[ListItem.ChannelName]</param>
				</include>
			</focusedlayout>

			<itemlayout condition="Window.IsActive(MyPVRChannels.xml) + Skin.HasSetting($PARAM[viewid]_SmallIcons)" height="320" width="232.5">
				<include content="GenericThumbIconSmall">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">true</param>
					<param name="belowtextbox">$INFO[ListItem.ChannelNumberLabel] - $INFO[ListItem.ChannelName]</param>
				</include>
			</itemlayout>
			<focusedlayout condition="Window.IsActive(MyPVRChannels.xml) + Skin.HasSetting($PARAM[viewid]_SmallIcons)" height="320" width="232.5">
				<include content="GenericThumbIconSmall">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">true</param>
					<param name="belowtextbox">$INFO[ListItem.ChannelNumberLabel] - $INFO[ListItem.ChannelName]</param>
				</include>
			</focusedlayout>

			<itemlayout condition="!Window.IsActive(MyPVRRecordings.xml) + !Window.IsActive(MyPVRChannels.xml) + !Skin.HasSetting($PARAM[viewid]_SmallIcons) + ![container.content(videos) | container.content(episodes) | container.content(addons) | container.content(artists) | container.content(albums) | container.content(songs) | Container.Content(images) | Container.Content(musicvideos) | container.content(movies) | container.content(sets) | container.content(tvshows) | container.content(seasons)]" height="400" width="310">
				<include content="GenericThumbIconBig">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">false</param>
				</include>
			</itemlayout>
			<focusedlayout condition="!Window.IsActive(MyPVRRecordings.xml) + !Window.IsActive(MyPVRChannels.xml) + !Skin.HasSetting($PARAM[viewid]_SmallIcons) + ![container.content(videos) | container.content(episodes) | container.content(addons) | container.content(artists) | container.content(albums) | container.content(songs) | Container.Content(images) | Container.Content(musicvideos) | container.content(movies) | container.content(sets) | container.content(tvshows) | container.content(seasons)]" height="400" width="310">
				<include content="GenericThumbIconBig">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">false</param>
				</include>
			</focusedlayout>
			<itemlayout condition="!Window.IsActive(MyPVRRecordings.xml) + !Window.IsActive(MyPVRChannels.xml) + Skin.HasSetting($PARAM[viewid]_SmallIcons) + ![container.content(videos) | container.content(episodes) | container.content(addons) | container.content(artists) | container.content(albums) | container.content(songs) | Container.Content(images) | Container.Content(musicvideos) | container.content(movies) | container.content(sets) | container.content(tvshows) | container.content(seasons)]" height="320" width="232.5">
				<include content="GenericThumbIconSmall">
					<param name="isFocused">false</param>
					<param name="isSmallIcon">true</param>
				</include>
			</itemlayout>
			<focusedlayout condition="!Window.IsActive(MyPVRRecordings.xml) + !Window.IsActive(MyPVRChannels.xml) + Skin.HasSetting($PARAM[viewid]_SmallIcons) + ![container.content(videos) | container.content(episodes) | container.content(addons) | container.content(artists) | container.content(albums) | container.content(songs) | Container.Content(images) | Container.Content(musicvideos) | container.content(movies) | container.content(sets) | container.content(TVshows) | container.content(seasons)]" height="320" width="232.5">
				<include content="GenericThumbIconSmall">
					<param name="isFocused">true</param>
					<param name="isSmallIcon">true</param>
				</include>
			</focusedlayout>
		</definition>
	</include>

	<include name="FooterInfo">
		<param name="width">1620</param>
		<param name="left">150</param>
		<definition>
			<control type="group" description="Media Info Lite">
				<include>ContentFade</include>
				<posy>943</posy>
				<posx>$PARAM[left]</posx>
				<width>$PARAM[width]</width>
				<control type="label" description="Title shadow">
					<animation effect="slide" start="0,0" end="0,27" time="0" condition="Control.IsVisible(56) + [$EXP[56_FanartViewInfo] | [$EXP[56_FanartViewNetflix] + $EXP[56_NetflixShowTitleInFooter]]]">Conditional</animation>
					<animation effect="slide" start="0,0" end="0,22" time="0" condition="Control.IsVisible(56) + [[Container.Content(albums) | Container.Content(songs)] + Skin.HasSetting(56_Use_Disc)]">Conditional</animation>
					<left>4</left>
					<top>4</top>
					<width>$PARAM[width]</width>
					<height>50</height>
					<align>center</align>
					<textcolor>Black</textcolor>
					<shadowcolor />
					<font>InfoTitle</font>
					<scroll>false</scroll>
					<label>$VAR[panelheading]</label>
					<visible>!Control.IsVisible(56) | [Control.IsVisible(56) + [!$EXP[56_FanartViewNetflix] | [$EXP[56_FanartViewNetflix] + $EXP[56_NetflixShowTitleInFooter]]]]</visible>
				</control>
				<control type="label" description="Title Label">
					<animation effect="slide" start="0,0" end="0,27" time="0" condition="Control.IsVisible(56) + [$EXP[56_FanartViewInfo] | [$EXP[56_FanartViewNetflix] + $EXP[56_NetflixShowTitleInFooter]]]">Conditional</animation>
					<animation effect="slide" start="0,0" end="0,22" time="0" condition="Control.IsVisible(56) + [[Container.Content(albums) | Container.Content(songs)] + Skin.HasSetting(56_Use_Disc)]">Conditional</animation>
					<width>$PARAM[width]</width>
					<height>50</height>
					<align>center</align>
					<textcolor>$VAR[HighlightColor]</textcolor>
					<shadowcolor />
					<font>InfoTitle</font>
					<scroll>false</scroll>
					<label>$VAR[panelheading]</label>
					<visible>!Control.IsVisible(56) | [Control.IsVisible(56) + [!$EXP[56_FanartViewNetflix] | [$EXP[56_FanartViewNetflix] + $EXP[56_NetflixShowTitleInFooter]]]]</visible>
				</control>
				<control type="label" description="Details">
					<animation effect="slide" start="0,0" end="0,12" time="0" condition="Control.IsVisible(56) + [[[Container.Content(albums) | Container.Content(songs)] + Skin.HasSetting(56_Use_Disc)] + [[Control.HasFocus(66) + Control.IsVisible(66561)] | Control.HasFocus(616)]]">Conditional</animation>
					<animation effect="slide" start="0,0" end="0,22" time="0" condition="Control.IsVisible(56) + [[[Container.Content(albums) | Container.Content(songs)] + Skin.HasSetting(56_Use_Disc)] + ![[Control.HasFocus(66) + Control.IsVisible(66561)] | Control.HasFocus(616)]]">Conditional</animation>
					<visible>Control.IsVisible(58) | Control.IsVisible(53) | [Control.IsVisible(56) + [!$EXP[56_FanartViewInfo] + !$EXP[56_FanartViewNetflix]]]</visible>
					<posy>54</posy>
					<width>$PARAM[width]</width>
					<height>20</height>
					<align>center</align>
					<font>font16</font>
					<shadowcolor>Black</shadowcolor>
					<label>$VAR[panelsubheading]</label>
				</control>
				<control type="label" description="Details">
					<visible>[Control.IsVisible(56) + $EXP[56_FanartViewNetflix] + ListItem.IsCollection]</visible>
					<posy>74</posy>
					<width>$PARAM[width]</width>
					<height>30</height>
					<align>center</align>
					<font>font16</font>
					<shadowcolor>Black</shadowcolor>
					<label>$VAR[panelsubheading]</label>
				</control>
				<control type="label" description="Details2">
					<animation effect="fade" start="100" end="0" time="480" condition="[[Control.HasFocus(6058) + Control.IsVisible(6058581)] | [Control.HasFocus(66) + Control.IsVisible(66561)] | Control.HasFocus(616)]">Conditional</animation>
					<visible>[[Control.IsVisible(58)] | Control.IsVisible(53) | [Control.IsVisible(56) + !$EXP[56_FanartViewInfo] + !$EXP[56_FanartViewNetflix]]]</visible>
					<visible>[Container.content(movies) | Container.content(episodes)] + [Skin.HasSetting(ShowAudioSub) + ![String.IsEmpty(ListItem.Property(AudioLanguage.1)) + String.IsEmpty(ListItem.Property(SubtitleLanguage.1))]] | [Container.content(tvshows) | Container.content(seasons)] + [!String.IsEmpty(Window(Home).Property(TMDbHelper.ListItem.Next_Aired)) | !String.IsEmpty(ListItem.Status)]</visible>
					<posy>100</posy>
					<width>$PARAM[width]</width>
					<height>30</height>
					<align>center</align>
					<shadowcolor>Black</shadowcolor>
					<font>font16</font>
					<label>$VAR[panelsubheading2]</label>
				</control>
				<control type="label" description="Details2">
					<animation effect="fade" start="100" end="0" time="480" condition="[[Control.HasFocus(66) + Control.IsVisible(66561)] | Control.HasFocus(616)]">Conditional</animation>
					<visible>[[Control.IsVisible(56) + !$EXP[56_FanartViewInfo] + $EXP[56_FanartViewNetflix]]]</visible>
					<visible>[Container.content(movies) | Container.content(episodes)] + [Skin.HasSetting(ShowAudioSub) + ![String.IsEmpty(ListItem.Property(AudioLanguage.1)) + String.IsEmpty(ListItem.Property(SubtitleLanguage.1))]] | [Container.content(tvshows) | Container.content(seasons)] + [!String.IsEmpty(Window(Home).Property(TMDbHelper.ListItem.Next_Aired)) | !String.IsEmpty(ListItem.Status)]</visible>
					<posy>79</posy>
					<width>$PARAM[width]</width>
					<height>30</height>
					<align>center</align>
					<shadowcolor>Black</shadowcolor>
					<font>font16</font>
					<label>$VAR[panelsubheading2]</label>
				</control>
			</control>
			<control type="group">
				<visible>!Skin.HasSetting(coloredflags)</visible>
				<include>ContentFade</include>
				<control type="grouplist" description="Left Flags">
					<left>20</left>
					<top>1010</top>
					<width>520</width>
					<height>80</height>
					<itemgap>20</itemgap>
					<orientation>horizontal</orientation>
					<align>left</align>
					<include content="MediaFlagItems">
						<param name="showvideobadge">true</param>
						<param name="showaudiobadge">false</param>
						<param name="showratingbadge">false</param>
						<param name="diffuse">$VAR[LabelTextColor]</param>
					</include>
				</control>
				<control type="grouplist" description="Right Flags">
					<left>1600</left>
					<top>1010</top>
					<width>300</width>
					<height>80</height>
					<itemgap>20</itemgap>
					<orientation>horizontal</orientation>
					<align>right</align>
					<include content="MediaFlagItems">
						<param name="showvideobadge">false</param>
						<param name="showaudiobadge">true</param>
						<param name="showratingbadge">true</param>
						<param name="diffuse">$VAR[LabelTextColor]</param>
					</include>
				</control>
			</control>
			<control type="group">
				<visible>Skin.HasSetting(coloredflags)</visible>
				<include>ContentFade</include>
				<control type="grouplist" description="Left Flags">
					<left>0</left>
					<top>1010</top>
					<width>520</width>
					<height>80</height>
					<itemgap>20</itemgap>
					<orientation>horizontal</orientation>
					<align>left</align>
					<include content="MediaFlagItems">
						<param name="showvideobadge">true</param>
						<param name="showaudiobadge">false</param>
						<param name="showratingbadge">false</param>
						<param name="itemwidth">95</param>
						<param name="itemheight">75</param>
						<param name="diffuse">$VAR[LabelTextColor]</param>
					</include>
				</control>
				<control type="grouplist" description="Right Flags">
					<left>1380</left>
					<top>1010</top>
					<width>520</width>
					<height>80</height>
					<itemgap>20</itemgap>
					<orientation>horizontal</orientation>
					<align>right</align>
					<usecontrolcoords>true</usecontrolcoords>
					<include content="MediaFlagItems">
						<param name="showvideobadge">false</param>
						<param name="showaudiobadge">true</param>
						<param name="showratingbadge">true</param>
						<param name="itemwidth">95</param>
						<param name="itemheight">75</param>
						<param name="diffuse">$VAR[LabelTextColor]</param>
					</include>
				</control>
			</control>
		</definition>
	</include>

</includes>