Release skin helper service - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300) +---- Thread: Release skin helper service (/showthread.php?tid=235676) Pages:
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
300
301
302
303
304
305
306
307
308
309
|
RE: skin helper service - Hitcher - 2016-03-08 Almost working for me but I've worked out what's actually going wrong - it's the ignore articles ie 'the'. I tried adding it to line 614 of PluginContent.py - PHP Code: json_result = getJSON('VideoLibrary.GetGenres', '{"type": "%s", "sort": { "order": "ascending", "method": "title", "ignorearticle": true }}' %type) but it didn't have any effect so it's out of my depth now. EDIT: It's not only the ignore articles that's messing my ordering up, it's also because I use sort title on some movies to get them in the release order. ie Alien (Alien 1), Aliens (Alien 2), Alien³ (Alien 3), Alien: Resurrection (Alien 4). RE: skin helper service - User 224999 - 2016-03-08 (2016-03-08, 23:30)Hitcher Wrote: EDIT: It's not only the ignore articles that's messing my ordering up, it's also because I use sort title on some movies to get them in the release order. What happens if you just use sorttitle as the method on that line ? RE: skin helper service - Hitcher - 2016-03-08 No change. Also added it to line 608 but no change and I'm deleting the addon data each time in case. RE: skin helper service - User 224999 - 2016-03-09 (2016-03-08, 23:55)Hitcher Wrote: No change. Also added it to line 608 but no change and I'm deleting the addon data each time in case. I've checked in the change that it should use the sorttitle. In my setup that seams to be working okay. Maybe the kodi texture cache is keeping stuff in memory ? can be a bit tricky while working with the images from the webservice RE: skin helper service - Hitcher - 2016-03-09 OK I'll give the texture.db the boot as well. RE: skin helper service - Hitcher - 2016-03-09 Got there eventually. WebService.py line 182 - PHP Code: sort = '"order": "ascending", "method": "sorttitle", "ignorearticle": true' EDIT: Just realised that the ignorearticle would need to be based on whether the following gui setting was true or false. PHP Code: <settings> Don't know if that's possible or not though. marcelveldt? RE: skin helper service - User 224999 - 2016-03-09 (2016-03-09, 02:12)Hitcher Wrote: Got there eventually. Hmmm, from my understanding the sorttitle doesn't contain "the" so the ignorearticlepart is redundant in this case... Am I wrong in my assumption ? In that case I'd say we leave the ignorearticle in RE: skin helper service - Hitcher - 2016-03-09 No sorttitle doesn't ignore articles. I needed this in my tests otherwise 'the' wasn't ignored. RE: skin helper service - User 224999 - 2016-03-09 (2016-03-09, 03:08)Hitcher Wrote: No sorttitle doesn't ignore articles. I needed this in my tests otherwise 'the' wasn't ignored. OK, I checked it in with the ignorearticle. Thanks for debugging! RE: skin helper service - Hitcher - 2016-03-09 Thanks but you might not want to add it unless there's a way of checking if it's actually enabled or not in the guisettings? RE: skin helper service - User 224999 - 2016-03-09 (2016-03-09, 03:25)Hitcher Wrote: Thanks but you might not want to add it unless there's a way of checking if it's actually enabled or not in the guisettings? I tested it with my setup (and I do not have it enabled in the guisettings) and it appears to be working fine. I'll leave it like this unless/untill someone discovers an issue with it. RE: skin helper service - Mike_Doc - 2016-03-09 Hi Marcel, after clearing out dirs, I've found the following 1) Skin Helper seems to be finding the animate poster as in /animatedgifs I have tt0076759_poster_0_original.gif for Star Wars New hope 2) $INFO[Window(Home).Property(SkinHelper.AnimatedPoster)] seems to be empty? I've updated the label showing IMDB no to include this and it doesn't display anything? The $INFO is correct isn't it? if so any idea why it would be empty even though it seems helper has fetched the poster? Thanks, Mike. RE: skin helper service - neurosis13 - 2016-03-09 Hi guys, this bug i posted a few days ago is back somehow or was not fully resolved, though i better mention it. (2016-03-07, 00:21)neurosis13 Wrote: well the bug i posted earlier is really a bit weird, RE: skin helper service - Mike_Doc - 2016-03-09 (2016-03-08, 23:30)Hitcher Wrote: Almost working for me but I've worked out what's actually going wrong - it's the ignore articles ie 'the'. @Hitch, does the sortby option not work for you? Of course it could depend on what you are doing but in my movie sets view I had the problem with the films not coming back in correct order then updated the content to <content target="video" sortby="year" sortorder="ascending">videodb://movies/sets/$INFO[ListItem.DBID]/</content> and they are now in the correct order based on the year Mike. RE: skin helper service - Bumpaneer - 2016-03-10 I am using the skin helper service to build out widget menus. It takes a very long time, and seems to throw quite a few errors in the log. Uploaded for you to take a look at your convenience. http://xbmclogs.com/ptrw25mzm |