xml:
<include name="media_flags_audio_language2">
<definition>
<control type="grouplist">
<left>$PARAM[flagleft]</left>
<width>880</width>
<height>220</height>
<orientation>horizontal</orientation>
<usecontrolcoords>true</usecontrolcoords>
<visible>$PARAM[visible] + ![String.IsEmpty(ListItem.Property(AudioLanguage.$PARAM[item])) | String.IsEqual(ListItem.DbType,set) | Window.IsActive(musicplaylist) | Window.IsActive(music)] + String.IsEqual(skin.string(media_flag_size),large)</visible>
<control type="image">
<width>220</width>
<height>200</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[extras_path]flag_audio.png</texture>
</control>
<control type="image">
<top>62</top>
<width>220</width>
<height>80</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[language_path]$INFO[ListItem.Property(AudioLanguage.$PARAM[item]),,.png]</texture>
<bordertexture border="-16">country_shadow.png</bordertexture>
<bordersize>4</bordersize>
</control>
<control type="image">
<width>220</width>
<height>200</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_channels_path]$INFO[ListItem.Property(AudioChannels.$PARAM[item]),,.png]</texture>
</control>
<control type="image">
<width>220</width>
<height>200</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]atmos.png</texture>
<visible>String.Contains(ListItem.Filenameandpath,.atmos2) | String.Contains(ListItem.Filenameandpath,.atmos2.) | String.Contains(ListItem.Filenameandpath,.atmos2-)</visible>
</control>
<control type="image">
<width>220</width>
<height>200</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]dts_x.png</texture>
<visible>String.Contains(ListItem.Filenameandpath,.dts-x2.) | String.Contains(ListItem.Filenameandpath,.dts.x2.) | String.Contains(ListItem.Filenameandpath,.dtsx2.) | String.Contains(ListItem.Filenameandpath,.dts-x2-) | String.Contains(ListItem.Filenameandpath,.dts.x2-) | String.Contains(ListItem.Filenameandpath,.dtsx2-)</visible>
</control>
<control type="image">
<width>220</width>
<height>200</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]dtsma.png</texture>
<visible>String.Contains(ListItem.Filenameandpath,.dtsma2) | String.Contains(ListItem.Filenameandpath,.dtsma2.)</visible>
</control>
<control type="image">
<width>220</width>
<height>200</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]$INFO[ListItem.Property(AudioCodec.$PARAM[item]),,.png]</texture>
<visible>![String.Contains(ListItem.Filenameandpath,.atmos2) | String.Contains(ListItem.Filenameandpath,.atmos2.) | String.Contains(ListItem.Filenameandpath,.atmos2-) | String.Contains(ListItem.Filenameandpath,.dts-x.) | String.Contains(ListItem.Filenameandpath,.dts.x.) | String.Contains(ListItem.Filenameandpath,.dtsx.) | String.Contains(ListItem.Filenameandpath,.dts-x-) | String.Contains(ListItem.Filenameandpath,.dts.x-) | String.Contains(ListItem.Filenameandpath,.dtsx-) | String.Contains(ListItem.Filenameandpath,.dtsma)]</visible>
</control>
</control>
<control type="grouplist">
<left>$PARAM[flagleft]</left>
<width>880</width>
<height>187</height>
<orientation>horizontal</orientation>
<usecontrolcoords>true</usecontrolcoords>
<visible>$PARAM[visible] + ![String.IsEmpty(ListItem.Property(AudioLanguage.$PARAM[item])) | String.IsEqual(ListItem.DbType,set) | Window.IsActive(musicplaylist) | Window.IsActive(music)] + String.IsEqual(skin.string(media_flag_size),medium)</visible>
<control type="image">
<top>15</top>
<width>187</width>
<height>170</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[extras_path]flag_audio.png</texture>
</control>
<control type="image">
<top>66</top>
<width>187</width>
<height>68</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[language_path]$INFO[ListItem.Property(AudioLanguage.$PARAM[item]),,.png]</texture>
<bordertexture border="-16">country_shadow.png</bordertexture>
<bordersize>4</bordersize>
</control>
<control type="image">
<top>15</top>
<width>187</width>
<height>170</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_channels_path]$INFO[ListItem.Property(AudioChannels.$PARAM[item]),,.png]</texture>
</control>
<control type="image">
<top>15</top>
<width>187</width>
<height>170</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]atmos.png</texture>
<visible>String.Contains(ListItem.Filenameandpath,.atmos2) | String.Contains(ListItem.Filenameandpath,.atmos2.) | String.Contains(ListItem.Filenameandpath,.atmos2-)</visible>
</control>
<control type="image">
<top>15</top>
<width>187</width>
<height>170</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]dts_x.png</texture>
<visible>String.Contains(ListItem.Filenameandpath,.dts-x2.) | String.Contains(ListItem.Filenameandpath,.dts.x2.) | String.Contains(ListItem.Filenameandpath,.dtsx2.) | String.Contains(ListItem.Filenameandpath,.dts-x2-) | String.Contains(ListItem.Filenameandpath,.dts.x2-) | String.Contains(ListItem.Filenameandpath,.dtsx2-)</visible>
</control>
<control type="image">
<top>15</top>
<width>187</width>
<height>170</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]dtsma.png</texture>
<visible>String.Contains(ListItem.Filenameandpath,.dtsma2) | String.Contains(ListItem.Filenameandpath,.dtsma2.)</visible>
</control>
<control type="image">
<top>15</top>
<width>187</width>
<height>170</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]$INFO[ListItem.Property(AudioCodec.$PARAM[item]),,.png]</texture>
<visible>![String.Contains(ListItem.Filenameandpath,.atmos2) | String.Contains(ListItem.Filenameandpath,.atmos2.) | String.Contains(ListItem.Filenameandpath,.atmos2-) | String.Contains(ListItem.Filenameandpath,.dts-x.) | String.Contains(ListItem.Filenameandpath,.dts.x.) | String.Contains(ListItem.Filenameandpath,.dtsx.) | String.Contains(ListItem.Filenameandpath,.dts-x-) | String.Contains(ListItem.Filenameandpath,.dts.x-) | String.Contains(ListItem.Filenameandpath,.dtsx-) | String.Contains(ListItem.Filenameandpath,.dtsma)]</visible>
</control>
</control>
<control type="grouplist">
<left>$PARAM[flagleft]</left>
<width>880</width>
<height>165</height>
<orientation>horizontal</orientation>
<usecontrolcoords>true</usecontrolcoords>
<visible>$PARAM[visible] + ![String.IsEmpty(ListItem.Property(AudioLanguage.$PARAM[item])) | String.IsEqual(ListItem.DbType,set) | Window.IsActive(musicplaylist) | Window.IsActive(music)] + String.IsEqual(skin.string(media_flag_size),small)</visible>
<control type="image">
<top>30</top>
<width>165</width>
<height>150</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[extras_path]flag_audio.png</texture>
</control>
<control type="image">
<top>76</top>
<width>165</width>
<height>60</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[language_path]$INFO[ListItem.Property(AudioLanguage.$PARAM[item]),,.png]</texture>
<bordertexture border="-16">country_shadow.png</bordertexture>
<bordersize>4</bordersize>
</control>
<control type="image">
<top>30</top>
<width>165</width>
<height>150</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_channels_path]$INFO[ListItem.Property(AudioChannels.$PARAM[item]),,.png]</texture>
</control>
<control type="image">
<top>30</top>
<width>165</width>
<height>150</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]atmos.png</texture>
<visible>String.Contains(ListItem.Filenameandpath,.atmos2) | String.Contains(ListItem.Filenameandpath,.atmos2.) | String.Contains(ListItem.Filenameandpath,.atmos2-)</visible>
</control>
<control type="image">
<top>30</top>
<width>165</width>
<height>150</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]dts_x.png</texture>
<visible>String.Contains(ListItem.Filenameandpath,.dts-x2.) | String.Contains(ListItem.Filenameandpath,.dts.x2.) | String.Contains(ListItem.Filenameandpath,.dtsx2.) | String.Contains(ListItem.Filenameandpath,.dts-x2-) | String.Contains(ListItem.Filenameandpath,.dts.x2-) | String.Contains(ListItem.Filenameandpath,.dtsx2-)</visible>
</control>
<control type="image">
<top>30</top>
<width>165</width>
<height>150</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]dtsma.png</texture>
<visible>String.Contains(ListItem.Filenameandpath,.dtsma2) | String.Contains(ListItem.Filenameandpath,.dtsma2.)</visible>
</control>
<control type="image">
<top>30</top>
<width>165</width>
<height>150</height>
<fadetime>common_fade_time</fadetime>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture background="true">$VAR[audio_codec_path]$INFO[ListItem.Property(AudioCodec.$PARAM[item]),,.png]</texture>
<visible>![String.Contains(ListItem.Filenameandpath,.atmos2) | String.Contains(ListItem.Filenameandpath,.atmos2.) | String.Contains(ListItem.Filenameandpath,.atmos2-) | String.Contains(ListItem.Filenameandpath,.dts-x.) | String.Contains(ListItem.Filenameandpath,.dts.x.) | String.Contains(ListItem.Filenameandpath,.dtsx.) | String.Contains(ListItem.Filenameandpath,.dts-x-) | String.Contains(ListItem.Filenameandpath,.dts.x-) | String.Contains(ListItem.Filenameandpath,.dtsx-) | String.Contains(ListItem.Filenameandpath,.dtsma)]</visible>
</control>
</control>
</definition>
</include>