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 - Mike_Doc - 2016-03-23 Hi Marcel, Do you know if this property is still working Window(Home).Property(SkinHelper.ExtraFanArtPath) I had it working in a view but it's not working at the moment? it's in a multiimage and the relevant switch if on to activate the required SkinHelper.EnableExtraFanart Mike. RE: skin helper service - User 224999 - 2016-03-23 (2016-03-23, 13:07)Mike_Doc Wrote: Yup, I'm using view selector only at the moment, still WIP as some users having problems with playlists and I am still trying to correctly reverse engineer some strange visibility conditions in views to make sure views.xml has the correct type settings. I do plan to implement forced views but no yet as it seems there is a lot of work connected to implementing it from what I've read. If you have the view selector working all hard work is done. Adding the forced views is only adding one visibilty line to each view: <visible>StringCompare(Window(Home).Property(SkinHelper.ForcedView),511) | IsEmpty(Window(Home).Property(SkinHelper.ForcedView))</visible> Take a look at Titan as a reference, it has it all covered. RE: skin helper service - User 224999 - 2016-03-23 (2016-03-23, 12:15)Angelinas Wrote: I dont have problem for widget,view is problem,but if you think that I need that to clear property for home ok I will add and test how this working...(but with old script I didnt have problem) Sorry, I totally forgot to communicate about this change. You must make sure to clear the skinhelper.widgetcontainer property when leaving the homescreen or any custom window. I have adjusted the code; previously it was using a different code block for the widget stuff but when the requests topped up to make more features available for widgets I have rewritten the code so now the main code and the widget code is exactly the same. This has a few benefits: - you can use the widgetcontainer in ANY window, also custom windows etc. - all windows props available for the library will also work for widgets/custom containers. I will update the readme ;-) RE: skin helper service - User 224999 - 2016-03-23 (2016-03-23, 22:21)Mike_Doc Wrote: Hi Marcel, See my comments to Angelinas. The script has a change of behaviour I forgot to communicate about. You need to clear the widgetcontainer property when leaving home or your custom window RE: skin helper service - User 224999 - 2016-03-24 (2016-03-22, 18:56)Mike_Doc Wrote: getting this error in log file from latest GIT: This should be fixed in latest Git. RE: skin helper service - Angelinas - 2016-03-24 (2016-03-23, 23:52)marcelveldt Wrote: Sorry, I totally forgot to communicate about this change. You must make sure to clear the skinhelper.widgetcontainer property when leaving the homescreen or any custom window.Litlle code ,big trouble Code: <onunload>ClearProperty(SkinHelper.WidgetContainer)</onunload> Gang Rides Again Working......let see whats is benefit for widget in out of home window... RE: skin helper service - Edworld - 2016-03-24 (2016-03-22, 01:06)marcelveldt Wrote:(2016-03-19, 01:30)Edworld Wrote: This issue is back with version 1.0.66 1.0.68 works great! RE: skin helper service - Mike_Doc - 2016-03-24 (2016-03-23, 23:48)marcelveldt Wrote:(2016-03-23, 13:07)Mike_Doc Wrote: Yup, I'm using view selector only at the moment, still WIP as some users having problems with playlists and I am still trying to correctly reverse engineer some strange visibility conditions in views to make sure views.xml has the correct type settings. I do plan to implement forced views but no yet as it seems there is a lot of work connected to implementing it from what I've read. Thanks for the info Marcel, will take a look into it. (2016-03-23, 23:53)marcelveldt Wrote:(2016-03-23, 22:21)Mike_Doc Wrote: Hi Marcel, Ok, will put the onunload in home and see what happens, (2016-03-24, 00:01)marcelveldt Wrote:(2016-03-22, 18:56)Mike_Doc Wrote: getting this error in log file from latest GIT: Thanks, will grab .68 later and check log file. Marcel, one more question, more double checking really, I've recently added a new new and it is solely available via view selector i,e, not the old method as well. It is working fine except one thing, this property Window(home).Property(actualViewtype) is not being set. I have a feeling this is me and something I've missed when adding the new view but can't think what right now and I just wanted to check just in case the view selector should be setting this? TIA, Mike. RE: skin helper service - Mike_Doc - 2016-03-24 Hi Marcel, Seems to work for me now Marcel, thanks. Did have issues when first testing and not sure if my HTPC or what as it wasn't working but it seems to be now. Will add to another view and see what happens. Thanks again. RE: skin helper service - Edworld - 2016-03-25 I don't know if this is even possible, but would be nice if you can refresh data on a movie per movie basis instead of deleting all the json files. In this example, rotten tomatoes (ratings and critic consensus, awards, etc) and metacritic stats for se7en are wrong: After deleting json files: By deleting the json files I fixed se7en, but other movies got messed up RE: skin helper service - tomer953 - 2016-03-25 Hi.. Code: <onclick>RunScript(script.skin.helper.service,action=dialogyesno,header=foo,message=bar,yesaction=RunScript(script.skinshortcuts,type=resetall)|ReloadSkin())</onclick> the first action RunScript() breaking something... can you take a look please? Edit: Got it, it's the comma that breaking it. (,type=resetall) how to esc commas? Edit2: ok, it's not only the comma, its the equal sign too (you're using params.get function) so we need to escape the "=" too. so I played with it a little bit, and changed my command to: Code: yesaction=RunScript(script.skinshortcuts:comma:type:equal:resetall) and then the code to: Code: yesactions = params.get("YESACTION","").replace( ":equal:", "=" ).split("|") and: Code: for action in yesactions: and Its working. but I guess that you'll have a better solution. RE: skin helper service - im85288 - 2016-03-25 Hi Marcel, I noticed certain property's are not getting reset, such as the tagline from tmdb so had a look at the code. In the resetWindowProps method of ListItemMonitor.py there are some fields missing from having their info cleared. Quite a few of them are from tmbd. Please have a look when you can. Oh and the icing on the cake would be for the addon to get the top250 info from imdb, I know it get's it from the local library but at least for me that requires an additional addon to get the top250 data. If this addon could do it, it could also be used for non library info. Thanks RE: skin helper service - User 224999 - 2016-03-25 (2016-03-25, 16:30)im85288 Wrote: Hi Marcel, I noticed certain property's are not getting reset, such as the tagline from tmdb so had a look at the code. In the resetWindowProps method of ListItemMonitor.py there are some fields missing from having their info cleared. Quite a few of them are from tmbd. Please have a look when you can. 1) OK, will do, thanks 2) Take a good look again at the available properties. top250 info is present... RE: skin helper service - im85288 - 2016-03-25 (2016-03-25, 17:25)marcelveldt Wrote: 2) Take a good look again at the available properties. top250 info is present... Very nice, missed that on first look. Would you be able to do the same for tv shows? TV Top250 RE: skin helper service - queeup - 2016-03-27 Hi, Could you add skin helper service to Transifex pls? We can translate to our languages. Thx. |