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

	<variable name="AudioCodec_Flag">
		<value condition="VideoPlayer.IsFullscreen + !String.IsEmpty(VideoPlayer.AudioCodec)">$INFO[VideoPlayer.AudioCodec,flags/audio/,.png]</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(Player.FilenameAndPath,.DTS-HD.MA)">flags/audio/dtshd_ma.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(Player.FilenameAndPath,.EAC3)">flags/audio/eac3.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(Player.FilenameAndPath,.DD) | String.Contains(Player.FilenameAndPath,.AC3)">flags/audio/ac3.png</value>
		<value condition="!String.IsEmpty(ListItem.AudioCodec)">$INFO[ListItem.AudioCodec,flags/audio/,.png]</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,.DTS-HD.MA)">flags/audio/dtshd_ma.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,.EAC3)">flags/audio/eac3.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,.DD) | String.Contains(ListItem.FilenameAndPath,.AC3)">flags/audio/ac3.png</value>
	</variable>

	<variable name="Certification_ACB_Flags">
		<!-- ACB: Australian -->
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,R18)">flags/rating/ACB_R18+.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,MA15)">flags/rating/ACB_MA15+.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,M)">flags/rating/ACB_M.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,PG)">flags/rating/ACB_PG.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,G)">flags/rating/ACB_G.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,E)">flags/rating/ACB_E.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,R18)">flags/rating/ACB_R18+.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,MA15)">flags/rating/ACB_MA15+.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,M)">flags/rating/ACB_M.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,PG)">flags/rating/ACB_PG.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,G)">flags/rating/ACB_G.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,E)">flags/rating/ACB_E.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,R18)">flags/rating/ACB_R18+.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,MA15)">flags/rating/ACB_MA15+.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,M)">flags/rating/ACB_M.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,PG)">flags/rating/ACB_PG.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,G)">flags/rating/ACB_G.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,E)">flags/rating/ACB_E.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,R18)">flags/rating/ACB_R18+.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,MA15)">flags/rating/ACB_MA15+.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,M)">flags/rating/ACB_M.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,PG)">flags/rating/ACB_PG.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,G)">flags/rating/ACB_G.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,E)">flags/rating/ACB_E.png</value>
		<value condition="String.Contains(ListItem.mpaa,R18)">flags/rating/ACB_R18+.png</value>
		<value condition="String.Contains(ListItem.mpaa,MA15)">flags/rating/ACB_MA15+.png</value>
		<value condition="String.Contains(ListItem.mpaa,M)">flags/rating/ACB_M.png</value>
		<value condition="String.Contains(ListItem.mpaa,PG)">flags/rating/ACB_PG.png</value>
		<value condition="String.Contains(ListItem.mpaa,G)">flags/rating/ACB_G.png</value>
		<value condition="String.Contains(ListItem.mpaa,E)">flags/rating/ACB_E.png</value>
	</variable>

	<variable name="Certification_BBFC_Flags">
		<!-- BBFC: British -->
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,U)">flags/rating/BBFC_U.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,PG)">flags/rating/BBFC_PG.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,12)">flags/rating/BBFC_12.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,15)">flags/rating/BBFC_15.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(VideoPlayer.mpaa,18) | String.Contains(VideoPlayer.mpaa,UK:X)]">flags/rating/BBFC_18.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,U)">flags/rating/BBFC_U.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,PG)">flags/rating/BBFC_PG.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,12)">flags/rating/BBFC_12.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,15)">flags/rating/BBFC_15.png</value>
		<value condition="Control.HasFocus(3100) + [String.Contains(Container(3100).ListItem.mpaa,18) | String.Contains(Container(3100).ListItem.mpaa,UK:X)]">flags/rating/BBFC_18.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,U)">flags/rating/BBFC_U.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,PG)">flags/rating/BBFC_PG.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,12)">flags/rating/BBFC_12.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,15)">flags/rating/BBFC_15.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + [String.Contains(Container(50).ListItem.mpaa,18) | String.Contains(Container(50).ListItem.mpaa,UK:X)]">flags/rating/BBFC_18.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,U)">flags/rating/BBFC_U.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,PG)">flags/rating/BBFC_PG.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,12)">flags/rating/BBFC_12.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,15)">flags/rating/BBFC_15.png</value>
		<value condition="ListItem.IsCollection + [String.Contains(Container(3100).ListItem.mpaa,18) | String.Contains(Container(3100).ListItem.mpaa,UK:X)]">flags/rating/BBFC_18.png</value>
		<value condition="String.Contains(ListItem.mpaa,U)">flags/rating/BBFC_U.png</value>
		<value condition="String.Contains(ListItem.mpaa,PG)">flags/rating/BBFC_PG.png</value>
		<value condition="String.Contains(ListItem.mpaa,12)">flags/rating/BBFC_12.png</value>
		<value condition="String.Contains(ListItem.mpaa,15)">flags/rating/BBFC_15.png</value>
		<value condition="[String.Contains(ListItem.mpaa,18) | String.Contains(ListItem.mpaa,UK:X)]">flags/rating/BBFC_18.png</value>
	</variable>

	<variable name="Certification_CHVRS_Flags">
		<!-- CHVRS + CBSC: Canadian -->
		<value condition="VideoPlayer.IsFullscreen + String.IsEmpty(VideoPlayer.TVShowDBID) + String.Contains(VideoPlayer.mpaa,R)">flags/rating/CHVRS_R.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.IsEmpty(VideoPlayer.TVShowDBID) + String.Contains(VideoPlayer.mpaa,18A)">flags/rating/CHVRS_18A.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.IsEmpty(VideoPlayer.TVShowDBID) + String.Contains(VideoPlayer.mpaa,14A)">flags/rating/CHVRS_14A.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.IsEmpty(VideoPlayer.TVShowDBID) + String.Contains(VideoPlayer.mpaa,PG)">flags/rating/CHVRS_PG.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.IsEmpty(VideoPlayer.TVShowDBID) + String.Contains(VideoPlayer.mpaa,G)">flags/rating/CHVRS_G.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,18)">flags/rating/CBSC_18+.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,14)">flags/rating/CBSC_14+.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,PG)">flags/rating/CBSC_PG.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,G)">flags/rating/CBSC_G.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,C8)">flags/rating/CBSC_C8.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,C)">flags/rating/CBSC_C.png</value>
		<value condition="Control.HasFocus(3100) + String.IsEqual(Container(3100).ListItem.DBType,movie) + String.Contains(Container(3100).ListItem.mpaa,R)">flags/rating/CHVRS_R.png</value>
		<value condition="Control.HasFocus(3100) + String.IsEqual(Container(3100).ListItem.DBType,movie) + String.Contains(Container(3100).ListItem.mpaa,18A)">flags/rating/CHVRS_18A.png</value>
		<value condition="Control.HasFocus(3100) + String.IsEqual(Container(3100).ListItem.DBType,movie) + String.Contains(Container(3100).ListItem.mpaa,14A)">flags/rating/CHVRS_14A.png</value>
		<value condition="Control.HasFocus(3100) + String.IsEqual(Container(3100).ListItem.DBType,movie) + String.Contains(Container(3100).ListItem.mpaa,PG)">flags/rating/CHVRS_PG.png</value>
		<value condition="Control.HasFocus(3100) + String.IsEqual(Container(3100).ListItem.DBType,movie) + String.Contains(Container(3100).ListItem.mpaa,G)">flags/rating/CHVRS_G.png</value>
		<value condition="Control.HasFocus(3100) + !String.IsEqual(Container(3100).ListItem.DBType,movie) + String.Contains(Container(3100).ListItem.mpaa,18)">flags/rating/CBSC_18+.png</value>
		<value condition="Control.HasFocus(3100) + !String.IsEqual(Container(3100).ListItem.DBType,movie) + String.Contains(Container(3100).ListItem.mpaa,14)">flags/rating/CBSC_14+.png</value>
		<value condition="Control.HasFocus(3100) + !String.IsEqual(Container(3100).ListItem.DBType,movie) + String.Contains(Container(3100).ListItem.mpaa,PG)">flags/rating/CBSC_PG.png</value>
		<value condition="Control.HasFocus(3100) + !String.IsEqual(Container(3100).ListItem.DBType,movie) + String.Contains(Container(3100).ListItem.mpaa,G)">flags/rating/CBSC_G.png</value>
		<value condition="Control.HasFocus(3100) + !String.IsEqual(Container(3100).ListItem.DBType,movie) + String.Contains(Container(3100).ListItem.mpaa,C8)">flags/rating/CBSC_C8.png</value>
		<value condition="Control.HasFocus(3100) + !String.IsEqual(Container(3100).ListItem.DBType,movie) + String.Contains(Container(3100).ListItem.mpaa,C)">flags/rating/CBSC_C.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,R)">flags/rating/CHVRS_R.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,18A)">flags/rating/CHVRS_18A.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,14A)">flags/rating/CHVRS_14A.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,PG)">flags/rating/CHVRS_PG.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,G)">flags/rating/CHVRS_G.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaaR)">flags/rating/CHVRS_R.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa18A)">flags/rating/CHVRS_18A.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa14A)">flags/rating/CHVRS_14A.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaaPG)">flags/rating/CHVRS_PG.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaaG)">flags/rating/CHVRS_G.png</value>
		<value condition="String.IsEqual(ListItem.DBType,movie) + String.Contains(ListItem.mpaa,R)">flags/rating/CHVRS_R.png</value>
		<value condition="String.IsEqual(ListItem.DBType,movie) + String.Contains(ListItem.mpaa,18A)">flags/rating/CHVRS_18A.png</value>
		<value condition="String.IsEqual(ListItem.DBType,movie) + String.Contains(ListItem.mpaa,14A)">flags/rating/CHVRS_14A.png</value>
		<value condition="String.IsEqual(ListItem.DBType,movie) + String.Contains(ListItem.mpaa,PG)">flags/rating/CHVRS_PG.png</value>
		<value condition="String.IsEqual(ListItem.DBType,movie) + String.Contains(ListItem.mpaa,G)">flags/rating/CHVRS_G.png</value>
		<value condition="!String.IsEqual(ListItem.DBType,movie) + String.Contains(ListItem.mpaa,18)">flags/rating/CBSC_18+.png</value>
		<value condition="!String.IsEqual(ListItem.DBType,movie) + String.Contains(ListItem.mpaa,14)">flags/rating/CBSC_14+.png</value>
		<value condition="!String.IsEqual(ListItem.DBType,movie) + String.Contains(ListItem.mpaa,PG)">flags/rating/CBSC_PG.png</value>
		<value condition="!String.IsEqual(ListItem.DBType,movie) + String.Contains(ListItem.mpaa,G)">flags/rating/CBSC_G.png</value>
		<value condition="!String.IsEqual(ListItem.DBType,movie) + String.Contains(ListItem.mpaa,C8)">flags/rating/CBSC_C8.png</value>
		<value condition="!String.IsEqual(ListItem.DBType,movie) + String.Contains(ListItem.mpaa,C)">flags/rating/CBSC_C.png</value>
	</variable>

	<variable name="Certification_DJCTQ_Flags">
		<!-- DJCTQ: Brazilian -->
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,18)">flags/rating/DJCTQ_18.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,16)">flags/rating/DJCTQ_16.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,14)">flags/rating/DJCTQ_14.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,12)">flags/rating/DJCTQ_12.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,10)">flags/rating/DJCTQ_10.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,L)">flags/rating/DJCTQ_L.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,ER)">flags/rating/DJCTQ_ER.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,18)">flags/rating/DJCTQ_18.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,16)">flags/rating/DJCTQ_16.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,14)">flags/rating/DJCTQ_14.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,12)">flags/rating/DJCTQ_12.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,10)">flags/rating/DJCTQ_10.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,L)">flags/rating/DJCTQ_L.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,ER)">flags/rating/DJCTQ_ER.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,18)">flags/rating/DJCTQ_18.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,16)">flags/rating/DJCTQ_16.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,14)">flags/rating/DJCTQ_14.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,12)">flags/rating/DJCTQ_12.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,10)">flags/rating/DJCTQ_10.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,L)">flags/rating/DJCTQ_L.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,ER)">flags/rating/DJCTQ_ER.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,18)">flags/rating/DJCTQ_18.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,16)">flags/rating/DJCTQ_16.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,14)">flags/rating/DJCTQ_14.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,12)">flags/rating/DJCTQ_12.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,10)">flags/rating/DJCTQ_10.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,L)">flags/rating/DJCTQ_L.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,ER)">flags/rating/DJCTQ_ER.png</value>
		<value condition="String.Contains(ListItem.mpaa,18)">flags/rating/DJCTQ_18.png</value>
		<value condition="String.Contains(ListItem.mpaa,16)">flags/rating/DJCTQ_16.png</value>
		<value condition="String.Contains(ListItem.mpaa,14)">flags/rating/DJCTQ_14.png</value>
		<value condition="String.Contains(ListItem.mpaa,12)">flags/rating/DJCTQ_12.png</value>
		<value condition="String.Contains(ListItem.mpaa,10)">flags/rating/DJCTQ_10.png</value>
		<value condition="String.Contains(ListItem.mpaa,L)">flags/rating/DJCTQ_L.png</value>
		<value condition="String.Contains(ListItem.mpaa,ER)">flags/rating/DJCTQ_ER.png</value>
	</variable>

	<variable name="Certification_EIRIN_Flags">
		<!-- EIRIN: Japanese -->
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,18)">flags/rating/EIRIN_R18+.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,15)">flags/rating/EIRIN_R15+.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,PG)">flags/rating/EIRIN_PG12.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,G)">flags/rating/EIRIN_G.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,18)">flags/rating/EIRIN_R18+.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,15)">flags/rating/EIRIN_R15+.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,PG)">flags/rating/EIRIN_PG12.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,G)">flags/rating/EIRIN_G.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,18)">flags/rating/EIRIN_R18+.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,15)">flags/rating/EIRIN_R15+.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,PG)">flags/rating/EIRIN_PG12.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,G)">flags/rating/EIRIN_G.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,18)">flags/rating/EIRIN_R18+.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,15)">flags/rating/EIRIN_R15+.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,PG)">flags/rating/EIRIN_PG12.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,G)">flags/rating/EIRIN_G.png</value>
		<value condition="String.Contains(ListItem.mpaa,18)">flags/rating/EIRIN_R18+.png</value>
		<value condition="String.Contains(ListItem.mpaa,15)">flags/rating/EIRIN_R15+.png</value>
		<value condition="String.Contains(ListItem.mpaa,PG)">flags/rating/EIRIN_PG12.png</value>
		<value condition="String.Contains(ListItem.mpaa,G)">flags/rating/EIRIN_G.png</value>
	</variable>

		<variable name="Certification_ESRB_Flags">
		<!-- ESRB: Games -->
		<value condition="String.Contains(ListItem.Property(esrb),AO)">flags/rating/ESRB_AO.png</value>
		<value condition="String.Contains(ListItem.Property(esrb),Mature)">flags/rating/ESRB_M.png</value>
		<value condition="String.Contains(ListItem.Property(esrb),Teen)">flags/rating/ESRB_T.png</value>
		<value condition="String.Contains(ListItem.Property(esrb),E10)">flags/rating/ESRB_E10+.png</value>
		<value condition="String.Contains(ListItem.Property(esrb),Everyone)">flags/rating/ESRB_E.png</value>
		<value>flags/rating/ESRB_RP.png</value>
	</variable>

	<variable name="Certification_FSK_Flags">
		<!-- FSK: German -->
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,18)">flags/rating/FSK_18.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,16)">flags/rating/FSK_16.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,12)">flags/rating/FSK_12.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,6)">flags/rating/FSK_6.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,0)">flags/rating/FSK_0.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,18)">flags/rating/FSK_18.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,16)">flags/rating/FSK_16.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,12)">flags/rating/FSK_12.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,6)">flags/rating/FSK_6.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,0)">flags/rating/FSK_0.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,18)">flags/rating/FSK_18.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,16)">flags/rating/FSK_16.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,12)">flags/rating/FSK_12.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,6)">flags/rating/FSK_6.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,0)">flags/rating/FSK_0.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,18)">flags/rating/FSK_18.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,16)">flags/rating/FSK_16.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,12)">flags/rating/FSK_12.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,6)">flags/rating/FSK_6.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,0)">flags/rating/FSK_0.png</value>
		<value condition="String.Contains(ListItem.mpaa,18)">flags/rating/FSK_18.png</value>
		<value condition="String.Contains(ListItem.mpaa,16)">flags/rating/FSK_16.png</value>
		<value condition="String.Contains(ListItem.mpaa,12)">flags/rating/FSK_12.png</value>
		<value condition="String.Contains(ListItem.mpaa,6)">flags/rating/FSK_6.png</value>
		<value condition="String.Contains(ListItem.mpaa,0)">flags/rating/FSK_0.png</value>
	</variable>

	<variable name="Certification_KIJKWIJZER_Flags">
		<!-- KIJKWIJZER: Dutch -->
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,18)">flags/rating/KIJKWIJZER_18.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,16)">flags/rating/KIJKWIJZER_16.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,14)">flags/rating/KIJKWIJZER_14.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,12)">flags/rating/KIJKWIJZER_12.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,9)">flags/rating/KIJKWIJZER_9.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,6)">flags/rating/KIJKWIJZER_6.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,AL)">flags/rating/KIJKWIJZER_AL.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,18)">flags/rating/KIJKWIJZER_18.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,16)">flags/rating/KIJKWIJZER_16.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,14)">flags/rating/KIJKWIJZER_14.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,12)">flags/rating/KIJKWIJZER_12.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,9)">flags/rating/KIJKWIJZER_9.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,6)">flags/rating/KIJKWIJZER_6.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,AL)">flags/rating/KIJKWIJZER_AL.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,18)">flags/rating/KIJKWIJZER_18.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,16)">flags/rating/KIJKWIJZER_16.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,14)">flags/rating/KIJKWIJZER_14.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,12)">flags/rating/KIJKWIJZER_12.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,9)">flags/rating/KIJKWIJZER_9.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,6)">flags/rating/KIJKWIJZER_6.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,AL)">flags/rating/KIJKWIJZER_AL.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,18)">flags/rating/KIJKWIJZER_18.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,16)">flags/rating/KIJKWIJZER_16.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,14)">flags/rating/KIJKWIJZER_14.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,12)">flags/rating/KIJKWIJZER_12.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,9)">flags/rating/KIJKWIJZER_9.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,6)">flags/rating/KIJKWIJZER_6.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,AL)">flags/rating/KIJKWIJZER_AL.png</value>
		<value condition="String.Contains(ListItem.mpaa,18)">flags/rating/KIJKWIJZER_18.png</value>
		<value condition="String.Contains(ListItem.mpaa,16)">flags/rating/KIJKWIJZER_16.png</value>
		<value condition="String.Contains(ListItem.mpaa,14)">flags/rating/KIJKWIJZER_14.png</value>
		<value condition="String.Contains(ListItem.mpaa,12)">flags/rating/KIJKWIJZER_12.png</value>
		<value condition="String.Contains(ListItem.mpaa,9)">flags/rating/KIJKWIJZER_9.png</value>
		<value condition="String.Contains(ListItem.mpaa,6)">flags/rating/KIJKWIJZER_6.png</value>
		<value condition="String.Contains(ListItem.mpaa,AL)">flags/rating/KIJKWIJZER_AL.png</value>
	</variable>

	<variable name="Certification_MPAA_Flags">
		<!-- MPAA: US -->
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,TV-MA)">flags/rating/TVPG_TV-MA.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,TV-14)">flags/rating/TVPG_TV-14.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,TV-PG)">flags/rating/TVPG_TV-PG.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,TV-G)">flags/rating/TVPG_TV-G.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,TV-Y7)">flags/rating/TVPG_TV-Y7.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,TV-Y)">flags/rating/TVPG_TV-Y.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,NC-17)">flags/rating/MPAA_NC-17.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,PG-13)">flags/rating/MPAA_PG-13.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,PG)">flags/rating/MPAA_PG.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,G)">flags/rating/MPAA_G.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(VideoPlayer.mpaa,R)">flags/rating/MPAA_R.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,TV-MA)">flags/rating/TVPG_TV-MA.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,TV-14)">flags/rating/TVPG_TV-14.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,TV-PG)">flags/rating/TVPG_TV-PG.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,TV-G)">flags/rating/TVPG_TV-G.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,TV-Y7)">flags/rating/TVPG_TV-Y7.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,TV-Y)">flags/rating/TVPG_TV-Y.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,NC-17)">flags/rating/MPAA_NC-17.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,PG-13)">flags/rating/MPAA_PG-13.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,PG)">flags/rating/MPAA_PG.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,G)">flags/rating/MPAA_G.png</value>
		<value condition="Control.HasFocus(3100) + String.Contains(Container(3100).ListItem.mpaa,R)">flags/rating/MPAA_R.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,NC-17)">flags/rating/MPAA_NC-17.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,PG-13)">flags/rating/MPAA_PG-13.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,PG)">flags/rating/MPAA_PG.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,G)">flags/rating/MPAA_G.png</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + String.Contains(Container(50).ListItem.mpaa,R)">flags/rating/MPAA_R.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,NC-17)">flags/rating/MPAA_NC-17.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,PG-13)">flags/rating/MPAA_PG-13.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,PG)">flags/rating/MPAA_PG.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,G)">flags/rating/MPAA_G.png</value>
		<value condition="ListItem.IsCollection + String.Contains(Container(3100).ListItem.mpaa,R)">flags/rating/MPAA_R.png</value>
		<value condition="String.Contains(ListItem.mpaa,TV-MA)">flags/rating/TVPG_TV-MA.png</value>
		<value condition="String.Contains(ListItem.mpaa,TV-14)">flags/rating/TVPG_TV-14.png</value>
		<value condition="String.Contains(ListItem.mpaa,TV-PG)">flags/rating/TVPG_TV-PG.png</value>
		<value condition="String.Contains(ListItem.mpaa,TV-G)">flags/rating/TVPG_TV-G.png</value>
		<value condition="String.Contains(ListItem.mpaa,TV-Y7)">flags/rating/TVPG_TV-Y7.png</value>
		<value condition="String.Contains(ListItem.mpaa,TV-Y)">flags/rating/TVPG_TV-Y.png</value>
		<value condition="String.Contains(ListItem.mpaa,NC-17)">flags/rating/MPAA_NC-17.png</value>
		<value condition="String.Contains(ListItem.mpaa,PG-13)">flags/rating/MPAA_PG-13.png</value>
		<value condition="String.Contains(ListItem.mpaa,PG)">flags/rating/MPAA_PG.png</value>
		<value condition="String.Contains(ListItem.mpaa,G)">flags/rating/MPAA_G.png</value>
		<value condition="String.Contains(ListItem.mpaa,R)">flags/rating/MPAA_R.png</value>
	</variable>

	<variable name="MPAA_Flag">
		<value condition="!String.IsEmpty(ListItem.Property(esrb))">$VAR[Certification_ESRB_Flags]</value>
		<value condition="Skin.HasSetting(Preferred_Rating_BBFC)">$VAR[Certification_BBFC_Flags]</value>
		<value condition="Skin.HasSetting(Preferred_Rating_MPAA)">$VAR[Certification_MPAA_Flags]</value>
		<value condition="Skin.HasSetting(Preferred_Rating_CHVRS)">$VAR[Certification_CHVRS_Flags]</value>
		<value condition="Skin.HasSetting(Preferred_Rating_ACB)">$VAR[Certification_ACB_Flags]</value>
		<value condition="Skin.HasSetting(Preferred_Rating_FSK)">$VAR[Certification_FSK_Flags]</value>
		<value condition="Skin.HasSetting(Preferred_Rating_DJCTQ)">$VAR[Certification_DJCTQ_Flags]</value>
		<value condition="Skin.HasSetting(Preferred_Rating_EIRIN)">$VAR[Certification_EIRIN_Flags]</value>
		<value condition="Skin.HasSetting(Preferred_Rating_KIJKWIJZER)">$VAR[Certification_KIJKWIJZER_Flags]</value>
	</variable>

	<variable name="Studio_Flag">
		<value condition="VideoPlayer.IsFullscreen + !String.IsEmpty(VideoPlayer.Studio)">$INFO[VideoPlayer.Studio,flags/studios/,.png]</value>
		<value condition="Control.HasFocus(3100) + !String.IsEmpty(Container(3100).ListItem.Studio)">$INFO[Container(3100).ListItem.Studio,flags/studios/,.png]</value>
		<value condition="System.AddonIsEnabled(plugin.video.themoviedb.helper) + String.Contains(ListItem.Path,themoviedb.helper) + !String.IsEmpty(Window(home).Property(StudioSplit.0))">$INFO[Window(home).Property(StudioSplit.0),flags/studios/,.png]</value>
		<value condition="ListItem.IsCollection + Window.Is(movieinformation) + !String.IsEmpty(Container(50).ListItem.Studio)">$INFO[Container(50).ListItem.Studio,flags/studios/,.png]</value>
		<value condition="ListItem.IsCollection + Skin.HasSetting(Secondary_List_Enabled) + !String.IsEmpty(Container(3100).ListItem.Studio)">$INFO[Container(3100).ListItem.Studio,flags/studios/,.png]</value>
		<value condition="ListItem.IsCollection + !String.IsEmpty(Container(3100).ListItem.Studio)">$INFO[Container(3100).ListItem.Studio,flags/studios/,.png]</value>
		<value condition="!String.IsEmpty(ListItem.Studio)">$INFO[ListItem.Studio,flags/studios/,.png]</value>
	</variable>

	<variable name="VideoCodec_Flag">
		<value condition="VideoPlayer.IsFullscreen + String.IsEqual(VideoPlayer.HDRType,dolbyvision)">flags/video/dolbyvision.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.IsEqual(VideoPlayer.HDRType,hdr10)">flags/video/hdr.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.IsEqual(VideoPlayer.HDRType,hlg)">flags/video/hdr.png</value>
		<value condition="VideoPlayer.IsFullscreen + [[String.Contains(Player.FilenameAndPath,dolby.vision) | String.Contains(Player.FilenameAndPath,.DoVi.) | String.Contains(Player.FilenameAndPath,.DV.)] + String.Contains(Player.FilenameAndPath,atmos)]">flags/video/dolbyvisionatmos.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,dolby.vision) | String.Contains(Player.FilenameAndPath,.DV.)]">flags/video/dolbyvision.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(Player.FilenameAndPath,hdr)">flags/video/hdr.png</value>
		<value condition="VideoPlayer.IsFullscreen + !String.IsEmpty(VideoPlayer.VideoCodec)">$INFO[VideoPlayer.VideoCodec,flags/video/,.png]</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,hevc) | String.Contains(Player.FilenameAndPath,x265)]">flags/video/hevc.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,h264) | String.Contains(Player.FilenameAndPath,x264)]">flags/video/h264.png</value>
		<value condition="String.IsEqual(ListItem.HDRType,dolbyvision)">flags/video/dolbyvision.png</value>
		<value condition="String.IsEqual(ListItem.HDRType,hdr10)">flags/video/hdr.png</value>
		<value condition="String.IsEqual(ListItem.HDRType,hlg)">flags/video/hdr.png</value>
		<value condition="[String.Contains(ListItem.FilenameAndPath,dolby.vision) | String.Contains(ListItem.FilenameAndPath,.DoVi.) | String.Contains(ListItem.FilenameAndPath,.DV.)] + String.Contains(ListItem.FilenameAndPath,atmos)">flags/video/dolbyvisionatmos.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,dolby.vision) | String.Contains(ListItem.FilenameAndPath,.DV.)">flags/video/dolbyvision.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,hdr)">flags/video/hdr.png</value>
		<value condition="!String.IsEmpty(ListItem.VideoCodec)">$INFO[ListItem.VideoCodec,flags/video/,.png]</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,hevc) | String.Contains(ListItem.FilenameAndPath,x265)">flags/video/hevc.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,h264) | String.Contains(ListItem.FilenameAndPath,x264)">flags/video/h264.png</value>
	</variable>

	<variable name="VideoSource_Flag">
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,.NF.) | String.Contains(Player.FilenameAndPath,Netflix)]">flags/source/Netflix.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,DSNP) | String.Contains(Player.FilenameAndPath,Disney)]">flags/source/Disney+.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,AMZN) | String.Contains(Player.FilenameAndPath,Amazon)]">flags/source/Amazon.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,HMAX) | String.Contains(Player.FilenameAndPath,HBO)]">flags/source/HBO Max.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,HULU)]">flags/source/Hulu.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,ATVP)] ">flags/source/Apple TV+.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,DSCV)] ">flags/source/Discovery+.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,PMNT)] ">flags/source/Paramount+.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,PCOK)] ">flags/source/Peacock.png</value>

		<value condition="VideoPlayer.IsFullscreen + String.Contains(Player.FilenameAndPath,web) + [String.Contains(Player.FilenameAndPath,dl) | String.Contains(Player.FilenameAndPath,rip)]">flags/source/webtv.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,bluray) | String.Contains(Player.FilenameAndPath,blu-ray) | String.Contains(Player.FilenameAndPath,brrip) | String.Contains(Player.FilenameAndPath,bdrip) | String.Contains(Player.FilenameAndPath,.m2ts,Right) | String.Contains(Player.FilenameAndPath,.bdmv,Right) | String.Contains(Player.FilenameAndPath,bd25) | String.Contains(Player.FilenameAndPath,bd50)] + [String.Contains(Plyer.FilenameAndPath,uhd) | String.Contains(Player.FilenameAndPath,2160p)]">flags/source/uhd-bluray.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,bluray) | String.Contains(Player.FilenameAndPath,blu-ray) | String.Contains(Player.FilenameAndPath,brrip) | String.Contains(Player.FilenameAndPath,bdrip) | String.Contains(Player.FilenameAndPath,.m2ts,Right) | String.Contains(Player.FilenameAndPath,.bdmv,Right) | String.Contains(Player.FilenameAndPath,bd25) | String.Contains(Player.FilenameAndPath,bd50)] + String.Contains(Player.FilenameAndPath,3d)">flags/source/bluray3d.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,bluray) | String.Contains(Player.FilenameAndPath,blu-ray) | String.Contains(Player.FilenameAndPath,brrip) | String.Contains(Player.FilenameAndPath,bdrip) | String.Contains(Player.FilenameAndPath,.m2ts,Right) | String.Contains(Player.FilenameAndPath,.bdmv,Right) | String.Contains(Player.FilenameAndPath,bd25) | String.Contains(Player.FilenameAndPath,bd50)] + String.Contains(Player.FilenameAndPath,imax)">flags/source/imax.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,bluray) | String.Contains(Player.FilenameAndPath,blu-ray) | String.Contains(Player.FilenameAndPath,brrip) | String.Contains(Player.FilenameAndPath,bdrip) | String.Contains(Player.FilenameAndPath,.m2ts,Right) | String.Contains(Player.FilenameAndPath,.bdmv,Right) | String.Contains(Player.FilenameAndPath,bd25) | String.Contains(Player.FilenameAndPath,bd50)]">flags/source/bluray.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,hddvd) | String.Contains(Player.FilenameAndPath,hd-dvd) | String.Contains(Player.FilenameAndPath,.evo,Right)]">flags/source/hddvd.png</value>
		<value condition="VideoPlayer.IsFullscreen + [String.Contains(Player.FilenameAndPath,.ifo,Right) | String.Contains(Player.FilenameAndPath,.iso,Right) | String.Contains(Player.FilenameAndPath,dvd)]">flags/source/dvd.png</value>
		<value condition="VideoPlayer.IsFullscreen + String.Contains(Player.FilenameAndPath,hd) + String.Contains(Player.FilenameAndPath,tv)">flags/source/hdtv.png</value>
		<value condition="VideoPlayer.IsFullscreen + [[String.Contains(Player.FilenameAndPath,sd) + String.Contains(Player.FilenameAndPath,tv)] | [String.Contains(Player.FilenameAndPath,pd) + String.Contains(Player.FilenameAndPath,tv)] | String.Contains(Player.FilenameAndPath,dsr)]">flags/source/sdtv.png</value>

		<value condition="!String.Contains(ListItem.Studio,Netflix) + [String.Contains(ListItem.FilenameAndPath,.NF.) | String.Contains(ListItem.FilenameAndPath,Netflix) | String.Contains(ListItem.Property(Network),Netflix)]">flags/source/Netflix.png</value>
		<value condition="!String.Contains(ListItem.Studio,Disney) + [String.Contains(ListItem.FilenameAndPath,DSNP) | String.Contains(ListItem.FilenameAndPath,Disney) | String.Contains(ListItem.Property(Network),Disney)]">flags/source/Disney+.png</value>
		<value condition="!String.Contains(ListItem.Studio,Amazon) + [String.Contains(ListItem.FilenameAndPath,AMZN) | String.Contains(ListItem.FilenameAndPath,Amazon) | String.Contains(ListItem.Property(Network),Amazon)]">flags/source/Amazon.png</value>
		<value condition="!String.Contains(ListItem.Studio,HBO Max) + [String.Contains(ListItem.FilenameAndPath,HMAX) | String.Contains(ListItem.FilenameAndPath,HBO) | String.Contains(ListItem.Property(Network),HBO Max)]">flags/source/HBO Max.png</value>
		<value condition="!String.Contains(ListItem.Studio,Hulu) + [String.Contains(ListItem.FilenameAndPath,HULU) | String.Contains(ListItem.Property(Network),Hulu)]">flags/source/Hulu.png</value>
		<value condition="!String.Contains(ListItem.Studio,Apple TV) + [String.Contains(ListItem.FilenameAndPath,ATVP) | String.Contains(ListItem.Property(Network),Apple TV)] ">flags/source/Apple TV+.png</value>
		<value condition="!String.Contains(ListItem.Studio,Discovery) + [String.Contains(ListItem.FilenameAndPath,DSCV) | String.Contains(ListItem.Property(Network),Discovery)] ">flags/source/Discovery+.png</value>
		<value condition="!String.Contains(ListItem.Studio,Paramount) + [String.Contains(ListItem.FilenameAndPath,PMNT) | String.Contains(ListItem.Property(Network),Paramount)] ">flags/source/Paramount+.png</value>
		<value condition="!String.Contains(ListItem.Studio,Peacock) + [String.Contains(ListItem.FilenameAndPath,PCOK) | String.Contains(ListItem.Property(Network),Peacock)] ">flags/source/Peacock.png</value>

		<value condition="String.Contains(ListItem.FilenameAndPath,web) + [String.Contains(ListItem.FilenameAndPath,dl) | String.Contains(ListItem.FilenameAndPath,rip)]">flags/source/webtv.png</value>
		<value condition="[String.Contains(ListItem.FilenameAndPath,bluray) | String.Contains(ListItem.FilenameAndPath,blu-ray) | String.Contains(ListItem.FilenameAndPath,brrip) | String.Contains(ListItem.FilenameAndPath,bdrip) | String.Contains(ListItem.FilenameAndPath,.m2ts,Right) | String.Contains(ListItem.FilenameAndPath,.bdmv,Right) | String.Contains(ListItem.FilenameAndPath,bd25) | String.Contains(ListItem.FilenameAndPath,bd50)] + [String.Contains(ListItem.FilenameAndPath,uhd) | String.Contains(ListItem.FilenameAndPath,2160p)]">flags/source/uhd-bluray.png</value>
		<value condition="[String.Contains(ListItem.FilenameAndPath,bluray) | String.Contains(ListItem.FilenameAndPath,blu-ray) | String.Contains(ListItem.FilenameAndPath,brrip) | String.Contains(ListItem.FilenameAndPath,bdrip) | String.Contains(ListItem.FilenameAndPath,.m2ts,Right) | String.Contains(ListItem.FilenameAndPath,.bdmv,Right) | String.Contains(ListItem.FilenameAndPath,bd25) | String.Contains(ListItem.FilenameAndPath,bd50)] + String.Contains(ListItem.FilenameAndPath,3d)">flags/source/bluray3d.png</value>
		<value condition="[String.Contains(ListItem.FilenameAndPath,bluray) | String.Contains(ListItem.FilenameAndPath,blu-ray) | String.Contains(ListItem.FilenameAndPath,brrip) | String.Contains(ListItem.FilenameAndPath,bdrip) | String.Contains(ListItem.FilenameAndPath,.m2ts,Right) | String.Contains(ListItem.FilenameAndPath,.bdmv,Right) | String.Contains(ListItem.FilenameAndPath,bd25) | String.Contains(ListItem.FilenameAndPath,bd50)] + String.Contains(ListItem.FilenameAndPath,imax)">flags/source/imax.png</value>
		<value condition="[String.Contains(ListItem.FilenameAndPath,bluray) | String.Contains(ListItem.FilenameAndPath,blu-ray) | String.Contains(ListItem.FilenameAndPath,brrip) | String.Contains(ListItem.FilenameAndPath,bdrip) | String.Contains(ListItem.FilenameAndPath,.m2ts,Right) | String.Contains(ListItem.FilenameAndPath,.bdmv,Right) | String.Contains(ListItem.FilenameAndPath,bd25) | String.Contains(ListItem.FilenameAndPath,bd50)]">flags/source/bluray.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,hddvd) | String.Contains(ListItem.FilenameAndPath,hd-dvd) | String.Contains(ListItem.FilenameAndPath,.evo,Right)">flags/source/hddvd.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,.ifo,Right) | String.Contains(ListItem.FilenameAndPath,.iso,Right) | String.Contains(ListItem.FilenameAndPath,dvd)">flags/source/dvd.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,hd) + String.Contains(ListItem.FilenameAndPath,tv)">flags/source/hdtv.png</value>
		<value condition="[String.Contains(ListItem.FilenameAndPath,sd) + String.Contains(ListItem.FilenameAndPath,tv)] | [String.Contains(ListItem.FilenameAndPath,pd) + String.Contains(ListItem.FilenameAndPath,tv)] | String.Contains(ListItem.FilenameAndPath,dsr)">flags/source/sdtv.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,vhs)">flags/source/vhs.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,dvhs)">flags/source/dvhs.png</value>
		<value condition="String.Contains(ListItem.FilenameAndPath,dtheater)">flags/source/dtheater.png</value>
	</variable>

</includes>
