-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathREADME.txt
300 lines (238 loc) · 9.02 KB
/
README.txt
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
INFORMATION FOR SKINNERS
------------------------
CONTENTS:
0. Running the addon
I. Infolabels available in script-globalsearch-main.xml
II. Infolabels available in script-globalsearch-infodialog.xml
III. Control id's used in script-globalsearch-main.xml
IV. Control id's used in script-globalsearch-infodialog.xml
V. Control id's used in script-globalsearch-contextmenu.xml
VI. Available window properties
0. Running the addon
------------------
The addon can be run in two ways:
- the user executes the addon
- the script executes the addon: RunScript(script.globalsearch)
You can specify which categories should be searched (this overrides the user preferences set in the addon settings):
RunScript(script.globalsearch,movies=true)
RunScript(script.globalsearch,tvshows=true&musicvideos=true&songs=true)
available options: epg, movies, tvshows, episodes, musicvideos, artists, albums, songs, actors
I. Infolabels available in script-globalsearch-main.xml
-------------------------------------------------------
EPG:
ListItem.Label
ListItem.Icon
ListItem.Property(Genre)
ListItem.Property(Plot)
ListItem.Property(Duration)
ListItem.Property(Starttime)
ListItem.Property(Endtime)
ListItem.Property(ChannelName)
ListItem.Property(ChannelNumber)
ListItem.Property(Path)
MOVIES (and movies by actor):
ListItem.Label
ListItem.Icon
ListItem.Property(Fanart)
ListItem.Property(Genre)
ListItem.Property(Plot)
ListItem.Property(Plotoutline)
ListItem.Property(Duration)
ListItem.Property(Studio)
ListItem.Property(Tagline)
ListItem.Property(Year)
ListItem.Property(Trailer)
ListItem.Property(Playcount)
ListItem.Property(Rating)
ListItem.Property(StarRating)
ListItem.Property(Mpaa)
ListItem.Property(Director)
ListItem.Property(Writer)
ListItem.Property(VideoResolution)
ListItem.Property(VideoCodec)
ListItem.Property(VideoAspect)
ListItem.Property(AudioCodec)
ListItem.Property(AudioChannels)
ListItem.Property(Path)
TV SHOWS:
ListItem.Label
ListItem.Icon
ListItem.Property(Episode)
ListItem.Property(Mpaa)
ListItem.Property(Year)
ListItem.Property(Art(Banner))
ListItem.Property(Art(Poster))
ListItem.Property(Fanart)
ListItem.Property(Genre)
ListItem.Property(Plot)
ListItem.Property(Premiered)
ListItem.Property(Studio)
ListItem.Property(Rating)
ListItem.Property(StarRating)
ListItem.Property(Playcount)
ListItem.Property(Path)
SEASONS:
ListItem.Label
ListItem.Icon
ListItem.Property(Episode)
ListItem.Property(Fanart)
ListItem.Property(TvShowTitle)
ListItem.Property(Playcount)
ListItem.Property(Path)
EPISODES:
ListItem.Label
ListItem.Icon
ListItem.Property(Episode)
ListItem.Property(Plot)
ListItem.Property(Rating)
ListItem.Property(StarRating)
ListItem.Property(Director)
ListItem.Property(Fanart)
ListItem.Property(Season)
ListItem.Property(Duration)
ListItem.Property(TvShowTitle)
ListItem.Property(Premiered)
ListItem.Property(Playcount)
ListItem.Property(VideoResolution)
ListItem.Property(VideoCodec)
ListItem.Property(VideoAspect)
ListItem.Property(AudioCodec)
ListItem.Property(AudioChannels)
ListItem.Property(Path)
MUSIC VIDEOS:
ListItem.Label
ListItem.Icon
ListItem.Property(Album)
ListItem.Property(Artist)
ListItem.Property(Fanart)
ListItem.Property(Director)
ListItem.Property(Genre)
ListItem.Property(Plot)
ListItem.Property(Duration)
ListItem.Property(Studio)
ListItem.Property(Year)
ListItem.Property(Playcount)
ListItem.Property(VideoResolution)
ListItem.Property(VideoCodec)
ListItem.Property(VideoAspect)
ListItem.Property(AudioCodec)
ListItem.Property(AudioChannels)
ListItem.Property(Path)
ARTISTS:
ListItem.Label
ListItem.Icon
ListItem.Property(Artist_Born)
ListItem.Property(Artist_Died)
ListItem.Property(Artist_Formed)
ListItem.Property(Artist_Disbanded)
ListItem.Property(Artist_YearsActive)
ListItem.Property(Artist_Mood)
ListItem.Property(Artist_Style)
ListItem.Property(Fanart)
ListItem.Property(Artist_Genre)
ListItem.Property(Artist_Description)
ListItem.Property(Path)
ALBUMS:
ListItem.Label
ListItem.Icon
ListItem.Property(Artist)
ListItem.Property(Album_label)
ListItem.Property(Genre)
ListItem.Property(Fanart)
ListItem.Property(Album_Description)
ListItem.Property(Album_Theme)
ListItem.Property(Album_Style)
ListItem.Property(Album_Rating)
ListItem.Property(StarRating)
ListItem.Property(Album_Type)
ListItem.Property(Album_Mood)
ListItem.Property(Year)
ListItem.Property(Path)
SONGS:
ListItem.Label
ListItem.Icon
ListItem.Property(Artist)
ListItem.Property(Album)
ListItem.Property(Genre)
ListItem.Property(Comment)
ListItem.Property(Track)
ListItem.Property(Rating)
ListItem.Property(StarRating)
ListItem.Property(Playcount)
ListItem.Property(Duration)
ListItem.Property(Fanart)
ListItem.Property(Year)
ListItem.Property(Path)
II. Infolabels available in script-globalsearch-infodialog.xml
--------------------------------------------------------------
You can use the same labels as above, only add a 'Container(100).' prefix to them.
for example:
Container(100).ListItem.Label
Container(100).ListItem.Property(Plot)
III. Control id's used in script-globalsearch-main.xml
------------------------------------------------------
100 - Main group id. All code should be included in this group. The script will set this id to hidden when playing a trailer.
110 - Label containing the number of found movies
111 - Container for found movies
119 - The script will set this id to visible when movies are found
120 - Label containing the number of found tv shows
121 - Container for found tv shows
129 - The script will set this id to visible when tv shows are found
130 - Label containing the number of found seasons
131 - Container for found seasons
139 - The script will set this id to visible when seasons are found
140 - Label containing the number of found episodes
141 - Container for found episodes
149 - The script will set this id to visible when episodes are found
150 - label containing the number of found music videos
151 - Container for found music videos
159 - The script will set this id to visible when music videos are found
160 - Label containing the number of found artists
161 - Container for found artists
169 - The script will set this id to visible when artists are found
170 - Label containing the number of found albums
171 - Container for found albums
179 - The script will set this id to visible when albums are found
180 - Label containing the number of found songs
181 - Container for found songs
189 - The script will set this id to visible when songs are found
210 - Label containing the number of found movies containing the actor
211 - Container for found movies containing the actor
219 - The script will set this id to visible when movies containing the actor are found
220 - Label containing the number of found programmes
221 - Container for found programmes
229 - The script will set this id to visible when programmes are found
190 - 'Searching...' label, visible when the script is searching
191 - Search category label, visible when the script is searching
198 - 'New search' button, visible when the script finished searching
199 - 'No results found' label, visible when no results are found
IV. Control id's used in script-globalsearch-infodialog.xml
-----------------------------------------------------------
100 - Hidden list containing the selected ListItem.
110 - The script will set this id to visible when the selected item is a movie
120 - The script will set this id to visible when the selected item is a tv show
130 - The script will set this id to visible when the selected item is a season
140 - The script will set this id to visible when the selected item is a episode
150 - The script will set this id to visible when the selected item is a music video
160 - The script will set this id to visible when the selected item is a artist
170 - The script will set this id to visible when the selected item is a album
180 - The script will set this id to visible when the selected item is a song
210 - The script will set this id to visible when the selected item is a actor
220 - The script will set this id to visible when the selected item is a programme
191 - First button (OK), but you can specify a diffrent label for it if you like
192 - Second button. The script will set the button label and the visible condition.
193 - Third button. The script will set the button label and the visible condition.
V. Control id's used in script-globalsearch-contextmenu.xml
-----------------------------------------------------------
997 - Context menu top texture
998 - Context menu middle texture
999 - Context menu bottom texture
1001 - First context menu button, the script will handle the visible condition
1002 - Second context menu button, the script will handle the visible condition
1003 - Third context menu button, the script will handle the visible condition
As always, do not change or remove any of the id's mentioned above!
If you want to get rid of some of them, just position them outside of the screen.
Any id not mentioned above, but used in the default xml files, can safely be changed or removed.
VI. Available window properties
--------------------------------
Window.Property(GlobalSearch.SearchString) - the string the user is searching for