![]() |
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 - User 224999 - 2016-01-27 (2016-01-23, 18:10)tomer953 Wrote: Hey Marcel, I'm trying to get ListItem.Premiered from the nextepisodes widget and it's empty.. also tried via the property... what i'm missing ?Should now be fixed on Git. RE: skin helper service - User 224999 - 2016-01-27 (2016-01-26, 22:52)Jayz2K Wrote: Interrested in this too !!! https://github.com/marcelveldt/script.skin.helper.service#check-if-file-exists RE: skin helper service - User 224999 - 2016-01-27 (2016-01-26, 12:34)sualfred Wrote: Small request: Can you add a textviewer option too? Similar to the dialogok function? Just added on Git: https://github.com/marcelveldt/script.skin.helper.service#message-dialog-textviewer RE: skin helper service - emiralles - 2016-01-27 (2016-01-26, 22:41)marcelveldt Wrote:(2016-01-23, 10:30)emiralles Wrote: Hi, can you add a function for check if a file exist or not? There isn't any that do it. True o false is good forma me Edited, do it!!, I'll used soon. Thanks RE: skin helper service - sualfred - 2016-01-27 (2016-01-27, 00:44)marcelveldt Wrote:(2016-01-26, 12:34)sualfred Wrote: Small request: Can you add a textviewer option too? Similar to the dialogok function? Thx, but isn't working: Code: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- RE: skin helper service - gates - 2016-01-27 Hi Marcel, In order to have a screenshot by container in the "views selectors", I've decided to split/duplicate each view with a new ID for each container. For example "rightlist" view (id XYZ) for movie/tvshow/season/ep are now : - "rightlist" view (id 701) for movie - "rightlist" view (id 702) for tvshow - "rightlist" view (id 703) for season - "rightlist" view (id 704) for episodes I decided to keep the same label. It's works. When I use the "Enable views", it displays the label and the ID for each view. In my case, the final user, see 4 "rightlist", with different ID, but he doesn"t know this ID. That can be disturbing. So, would be possible to add a "description / label2" properties in the views.xml, and use it the "Enable views" dialog box ? Cheers RE: skin helper service - User 224999 - 2016-01-27 (2016-01-27, 09:57)sualfred Wrote: Thx, but isn't working: Hmm, stupid copy/paste mistake. Now fixed on Git. RE: skin helper service - sualfred - 2016-01-27 (2016-01-27, 11:43)marcelveldt Wrote:(2016-01-27, 09:57)sualfred Wrote: Thx, but isn't working: Thanks. That works fine. Only one more small issue. "...,message='$ESCVAR[TxTPlot]'..." This will add an empty space at the beginning of the string. RE: skin helper service - User 224999 - 2016-01-27 (2016-01-27, 11:51)sualfred Wrote: "...,message='$ESCVAR[TxTPlot]'..." Should now be fixed too RE: skin helper service - User 224999 - 2016-01-27 (2016-01-21, 19:49)badaas Wrote: Ok, np. I'll just say I switch between versions mentioned without changing anything else. ie. delete new helper from addons and replace with old and vice versa, the delay effect is instant. Nothing else gets changed. I deleted TVTunes/Next aired no change in either helper. Nothing is changing code-wise apart from helper. Thanks for help and replies! Out of curiosity have you added a new daemon? I may have found the issue. Can you test with latest Git if the issue is resolved ? If not, see my previous reply to you for the debugging adventure... RE: skin helper service - sualfred - 2016-01-27 (2016-01-27, 13:11)marcelveldt Wrote:(2016-01-27, 11:51)sualfred Wrote: "...,message='$ESCVAR[TxTPlot]'..." Tested. Works great. Thanks Marcel. RE: skin helper service - emiralles - 2016-01-27 (2016-01-27, 02:39)emiralles Wrote:(2016-01-26, 22:41)marcelveldt Wrote:(2016-01-23, 10:30)emiralles Wrote: Hi, can you add a function for check if a file exist or not? There isn't any that do it. I Try it, I don't have that I want it. Code: <onload>RunScript(script.skin.helper.service,action=fileexists,file=$INFO[Window(2003).Property(AudioLanguage.1),images/flags/subtitles/flags/,.png],windowprop=flag_check)</onload> and this too Code: <onload>RunScript(script.skin.helper.service,action=fileexists,file=$INFO[Window(2003).Property(AudioLanguage.1),images/flags/subtitles/flags/,.png],skinstring=flag_check)</onload> Don't go ![]() what am I doing wrong? How can I used it in a label control? It's possible?, because I want check in it if the file exist or not? RE: skin helper service - Jayz2K - 2016-01-27 (2016-01-27, 00:43)marcelveldt Wrote:(2016-01-26, 22:52)Jayz2K Wrote: Interrested in this too !!! Thanks ![]() Coming back to the Skin.String through DialogSelect, is it possible to resolve $LOCALIZE[] as value before writing it ? I localized all my values because when there's only 2 option, I keep using onclick to minimize the click amount. Also, what the "Description" argument is intended for ? Is it just for Skinner infos and can it used as a property or something in DialogSelect.xml ? Thanks EDIT : Forget that, just realized when a string is written in a language, it will break everything if switching to another :/ The only solution is to use your .label prefix, but wanted to keep things simple if only two options (easier to just click to switch than click to open, click down to hilight, click to select). Maybe using an additional argument to skip the DialogSelect and go directly to the next (will then need an additional ordering ID ?). Not that much important though ... RE: skin helper service - Mike_Doc - 2016-01-27 Hi Marcel, could I trouble you for a few minutes of your time please. I had the idea of updating my wall view to show director images when selection movies/direcotrs and thought I could use the webservice to achieve this, I updated the view to have a new the item and focusedlayout for container(directors) and to have this image: <control type="image"> <!--thumb image--> <texture background="true">http://localhost:52307/getthumb&title=$INFO[Listitem.Label]</texture> </control> But I don't get any images, I attempted adding a fallback as per the readme to the end but I still didn't get the fallback? this is a snippet from the log and only shows on the focused, so guess itemlayout may not be possible? 19:17:22 T:4652 ERROR: CCurlFile::Stat - Failed: Server returned nothing (no headers, no data)(52) for http://localhost:52307/getthumb&title=Christopher Nolan So, is it possible to do what I was trying, i.e. the view grabs director thumb from google images and displays if exists if not the fallback or not? Any alternative suggestions for this, TIA, Mike. RE: skin helper service - User 224999 - 2016-01-27 (2016-01-27, 13:50)emiralles Wrote: Don't go Typo in the readme. You must seperate the params with & instead of comma... e.g. <onload>RunScript(script.skin.helper.service,action=fileexists&file=$INFO[Window(2003).Property(AudioLanguage.1),images/flags/subtitles/flags/,.png]&skinstring=flag_check)</onload> |