skin.divide/720p/IncludesCodecFlagging.xml

63 lines
2.3 KiB
XML

<includes>
<include name="VideoCodecFlagging">
<control type="image">
<description>Video rez Image</description>
<width>90</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.VideoResolution,flagging/video/,.png]</texture>
</control>
<control type="image">
<description>Common Codec Image</description>
<width>90</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.VideoCodec,flagging/video/,.png]</texture>
<!-- Don't show if its one of the 500 divx codecs -->
<visible>![substring(ListItem.VideoCodec,div,left) | stringcompare(ListItem.VideoCodec,dx50)]</visible>
</control>
<control type="image">
<description>Divx Codec Image</description>
<width>90</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/divx.png</texture>
<visible>[substring(ListItem.VideoCodec,div,left) | stringcompare(ListItem.VideoCodec,dx50)]</visible>
</control>
</include>
<include name="AudioCodecFlagging">
<control type="image">
<description>Dolby Digital Image</description>
<width>90</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>flagging/audio/dolbydigital.png</texture>
<visible>[stringcompare(ListItem.AudioCodec,ac3) + stringcompare(ListItem.AudioChannels,6)]</visible>
</control>
<control type="image">
<description>Audio Codec Image</description>
<width>90</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.AudioCodec,flagging/audio/,.png]</texture>
<!-- Don't show if I want the Dolby Digital Logo -->
<visible>![stringcompare(ListItem.AudioCodec,ac3) + stringcompare(ListItem.AudioChannels,6)]</visible>
</control>
<control type="image">
<description>Audio Channels Image</description>
<width>45</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.AudioChannels,flagging/audio/,.png]</texture>
</control>
</include>
<include name="AspectCodecFlagging">
<control type="image">
<description>Aspectratio Image</description>
<width>60</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.VideoAspect,flagging/aspectratio/,.png]</texture>
</control>
</include>
</includes>