aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estouchy/xml/IncludesCodecFlagging.xml
blob: ce2f708cc244b32a0f33381a5d1ec4e84e005560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="VideoCodecFlaggingConditions">
		<control type="image">
			<description>Video rez Image</description>
			<width>100</width>
			<height>44</height>
			<aspectratio align="right">keep</aspectratio>
			<texture>$INFO[ListItem.VideoResolution,flagging/video/,.png]</texture>
		</control>
		<control type="image">
			<description>Common Codec Image</description>
			<width>100</width>
			<height>44</height>
			<aspectratio align="left">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>100</width>
			<height>44</height>
			<aspectratio align="left">keep</aspectratio>
			<texture>flagging/video/divx.png</texture>
			<visible>[substring(ListItem.VideoCodec,div,left) | stringcompare(ListItem.VideoCodec,dx50)]</visible>
		</control>
	</include>
	<include name="VideoTypeHackFlaggingConditions">
		<control type="image">
			<description>Bluray Image</description>
			<width>100</width>
			<height>44</height>
			<aspectratio align="left">keep</aspectratio>
			<texture>flagging/video/bluray.png</texture>
			<visible>[substring(ListItem.FilenameAndPath,bluray) | substring(ListItem.FilenameAndPath,bdrip)] + !Skin.HasSetting(HideFilenameFlagging)</visible>
		</control>
		<control type="image">
			<description>HDDVD Image</description>
			<width>100</width>
			<height>44</height>
			<aspectratio align="left">keep</aspectratio>
			<texture>flagging/video/hddvd.png</texture>
			<visible>substring(ListItem.FilenameAndPath,hddvd) + !Skin.HasSetting(HideFilenameFlagging)</visible>
		</control>
		<control type="image">
			<description>DVD Image</description>
			<width>100</width>
			<height>44</height>
			<aspectratio align="left">keep</aspectratio>
			<texture>flagging/video/dvd.png</texture>
			<visible>[substring(ListItem.FilenameAndPath,dvd) + ![substring(ListItem.FilenameAndPath,hddvd) | substring(ListItem.FilenameAndPath,bluray) | substring(ListItem.FilenameAndPath,bdrip)]] + !Skin.HasSetting(HideFilenameFlagging)</visible>
		</control>
		<control type="image">
			<description>TV Types Image</description>
			<width>100</width>
			<height>44</height>
			<aspectratio align="left">keep</aspectratio>
			<texture>flagging/video/TV.png</texture>
			<visible>[substring(ListItem.FilenameAndPath,pdtv) | substring(ListItem.FilenameAndPath,hdtv) | substring(ListItem.FilenameAndPath,dsr)] + !Skin.HasSetting(HideFilenameFlagging)</visible>
		</control>
		<control type="image">
			<description>VHS Image</description>
			<width>100</width>
			<height>44</height>
			<aspectratio align="left">keep</aspectratio>
			<texture>flagging/video/vhs.png</texture>
			<visible>substring(ListItem.FilenameAndPath,vhs) + !Skin.HasSetting(HideFilenameFlagging)</visible>
		</control>
	</include>
	<include name="AudioCodecFlaggingConditions">
		<control type="image">
			<description>Audio Codec Image</description>
			<width>100</width>
			<height>44</height>
			<aspectratio align="right">keep</aspectratio>
			<texture>$INFO[ListItem.AudioCodec,flagging/audio/,.png]</texture>
		</control>
	</include>
	<include name="AudioChannelsFlaggingConditions">
		<control type="image">
			<description>Audio Codec Image</description>
			<width>100</width>
			<height>44</height>
			<aspectratio align="left">keep</aspectratio>
			<texture>$INFO[ListItem.AudioChannels,flagging/audio/,.png]</texture>
		</control>
	</include>
	<include name="AspectCodecFlaggingConditions">
		<control type="image">
			<description>Aspectratio Image</description>
			<width>100</width>
			<height>44</height>
			<aspectratio align="right">keep</aspectratio>
			<texture>$INFO[ListItem.VideoAspect,flagging/aspectratio/,.png]</texture>
		</control>
	</include>
</includes>