aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.confluence/720p/IncludesCodecFlagging.xml
blob: 3db03116487df4ad6cd440c426f5187a3083425e (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<includes>
	<include name="VideoCodecFlaggingConditions">
		<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="VideoTypeHackFlaggingConditions">
		<control type="image">
			<description>Bluray Image</description>
			<width>90</width>
			<height>33</height>
			<aspectratio>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>90</width>
			<height>33</height>
			<aspectratio>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>90</width>
			<height>33</height>
			<aspectratio>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>90</width>
			<height>33</height>
			<aspectratio>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>90</width>
			<height>33</height>
			<aspectratio>keep</aspectratio>
			<texture>flagging/video/vhs.png</texture>
			<visible>substring(ListItem.FilenameAndPath,vhs) + !Skin.HasSetting(HideFilenameFlagging)</visible>
		</control>
	</include>
	<include name="VideoMPAAFlaggingConditions">
		<control type="image">
			<description>Rated G</description>
			<width>90</width>
			<height>33</height>
			<aspectratio>keep</aspectratio>
			<texture>flagging/ratings/mpaa_general.png</texture>
			<visible>substring(listitem.mpaa,Rated G)</visible>
		</control>
		<control type="image">
			<description>Rated PG</description>
			<width>90</width>
			<height>33</height>
			<aspectratio>keep</aspectratio>
			<texture>flagging/ratings/mpaa_pg.png</texture>
			<visible>substring(listitem.mpaa,Rated PG) + !substring(listitem.mpaa,Rated PG-13)</visible>
		</control>
		<control type="image">
			<description>Rated PG-13</description>
			<width>90</width>
			<height>33</height>
			<aspectratio>keep</aspectratio>
			<texture>flagging/ratings/mpaa_pg13.png</texture>
			<visible>substring(listitem.mpaa,Rated PG-13)</visible>
		</control>
		<control type="image">
			<description>Rated R</description>
			<width>90</width>
			<height>33</height>
			<aspectratio>keep</aspectratio>
			<texture>flagging/ratings/mpaa_restricted.png</texture>
			<visible>substring(Listitem.mpaa,Rated R)</visible>
		</control>
		<control type="image">
			<description>Rated NC-17</description>
			<width>90</width>
			<height>33</height>
			<aspectratio>keep</aspectratio>
			<texture>flagging/ratings/mpaa_nc17.png</texture>
			<visible>substring(Listitem.mpaa,Rated NC)</visible>
		</control>
	</include>
	<include name="AudioCodecFlaggingConditions">
		<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>
	</include>
	<include name="AspectCodecFlaggingConditions">
		<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>