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 - tomer953 - 2016-02-21 which file? can you please take a look here: http://abeksis.com/repo/script.skin.helper.service/script.skin.helper.service-1.0.47.zip I think that's the one they are downloading.. RE: skin helper service - djc5166 - 2016-02-22 Having issues here, smart shortcuts are not working, think it has to do with skin helper service. 00:38:34 T:1820 ERROR: EXCEPTION: argument "value" for method "setArt" must be unicode or str 00:38:34 T:1820 ERROR: Skin Helper Service --> Error in plugin.py --> argument "value" for method "setArt" must be unicode or str 00:38:34 T:1820 ERROR: Traceback (most recent call last): 00:38:34 T:1820 ERROR: File "C:\Users\djc5166\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 111, in <module> 00:38:34 T:1820 ERROR: Main() 00:38:34 T:1820 ERROR: File "C:\Users\djc5166\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 89, in __init__ 00:38:34 T:1820 ERROR: plugincontent.getPluginListing(action,limit,refresh,optionalParam) 00:38:34 T:1820 ERROR: File "C:\Users\djc5166\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 68, in getPluginListing 00:38:34 T:1820 ERROR: liz = createListItem(item) 00:38:34 T:1820 ERROR: File "C:\Users\djc5166\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\Utils.py", line 374, in createListItem 00:38:34 T:1820 ERROR: liz.setArt( item.get("art")) 00:38:34 T:1820 ERROR: TypeError: argument "value" for method "setArt" must be unicode or str 00:38:34 T:7840 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.skin.helper.service/?action=recentalbums&limit=25&reload= 00:38:42 T:2880 NOTICE: Storing total System Uptime 00:38:42 T:2880 NOTICE: Saving settings 00:38:42 T:2880 NOTICE: stop all 00:38:42 T:2880 NOTICE: stop player 00:38:42 T:2880 NOTICE: stopping upnp 00:38:43 T:2880 NOTICE: stop sap announcement listener 00:38:43 T:2880 NOTICE: clean cached files! 00:38:43 T:2880 NOTICE: unload skin 00:38:43 T:7492 NOTICE: Skin Helper Service --> Shutdown requested ! 00:38:43 T:7492 NOTICE: Skin Helper Service --> BackgroundsUpdater - stop called 00:38:43 T:7492 NOTICE: Skin Helper Service --> HomeMonitor - stop called 00:38:43 T:7492 NOTICE: Skin Helper Service --> WebService - stop called 00:38:43 T:7492 NOTICE: Skin Helper Service --> skin helper service version 1.0.47 stopped 00:38:48 T:2880 ERROR: CPythonInvoker(3, C:\Users\djc5166\AppData\Roaming\Kodi\addons\script.skin.helper.service\service.py): script didn't stop in 5 seconds - let's kill it RE: skin helper service - User 224999 - 2016-02-22 (2016-02-21, 15:06)tomer953 Wrote: which file? Hmm, strange. I will update to 1.0.48 later today. Let's see if that fixes the issue. RE: skin helper service - User 224999 - 2016-02-22 (2016-02-22, 07:43)djc5166 Wrote: Having issues here, smart shortcuts are not working, think it has to do with skin helper service. Please report on the skin thread, this is a thread for skinners only ;-) RE: skin helper service - User 224999 - 2016-02-22 (2016-02-19, 23:58)Mike_Doc Wrote: It just used to be view name I'm sure when I first plugged it in, if you can check what your actually populating it with that would be ok? I don't know if you changed it for another user so not sure it should be changed back? ListItem.label should only return the viewname ListItem.Label2 returns the view name and the ID within brackets Sure you're using Label within your dialogselect ? RE: skin helper service - User 224999 - 2016-02-22 (2016-02-19, 20:51)Jayz2K Wrote: Back on this. Why would you condition include the file outside the main include ? Didn't test I admit but I saw more a pre-formated file like script.skin.helper-constants.xml included by default in the main include file. So the script can check the constant name (already set by default by Skinner) and overrides it with user entry (keyboard or whatever). If it's set in the skin settings window, opening the calling window will refresh the include value. This only doesn't work if you set the value in the calling window, then, that's right, needs a reloadskin (staying in the same window will always keep the included value in cache). Yeah, that is possible. How do you see this ? Use the existing "skinsettings" approach to also set constants ? And whatever is selected will be written to the includes file ? RE: skin helper service - User 224999 - 2016-02-22 (2016-02-20, 15:44)sualfred Wrote: How does this similarmovie/-show work if you limit the results to 1 and don't provide a IMDB number? 1) The cache was a bit too persistant ;-) I have now fixed this on Git. It will auto refresh every 10 minutes or on library updates. If you want to refresh it yourself, set the reload parameter to something that changes. 2) I've added a plugin entry for similarmedia which will return a combined list of moviesd and tvshows. I didn't test it, so please do so ;-) Available on latest Git. 3) The list is sorted by rating. If you want to randimize it yourself, you can do so by setting the sort tag on your container's content element. Or do you want an additional property to randomize the results ? RE: skin helper service - User 224999 - 2016-02-22 (2016-02-20, 00:30)Rjsachse Wrote: Only way I got it to change is by editing the code and xhanging 1 value on that line refresh skin then change back the value and refresh. Hmm, I'm starting to think this is a chicken and the egg kind of issue... I guess the System.Time infolabels aren't available in the container too. Only thing that comes to my mind is try setting something that is actually available in the container itself, such as $INFO[ListItem.Label] RE: skin helper service - sualfred - 2016-02-22 Thanks. I'll test the similarmedia asap. And a randomize property would be great. RE: skin helper service - User 224999 - 2016-02-22 (2016-02-20, 17:32)tomer953 Wrote: Hey Marcel! Can you test with latest Git ? RE: skin helper service - User 224999 - 2016-02-22 (2016-02-22, 16:30)sualfred Wrote: Thanks. randomize property added, also not tested ;-) Usage (on any plugin path provided by the script) simply add: &randomize=true RE: skin helper service - Jayz2K - 2016-02-22 (2016-02-22, 16:08)marcelveldt Wrote: Use the existing "skinsettings" approach to also set constants ? In a way, yes. Let's say : Main include : PHP Code: <includes> script-skin_helper_service-Constants.xml (written by skinner to define names and first start values) PHP Code: <includes> Script call : Set for user keyboard entry (optional range if value < 0 set 0 ; > 1080, set 1080) PHP Code: <onclick>RunScript(script.skin.helper.service,action=setconstant,constant=HOM.View1.B1CoordX,value=prompt,range=0|1080,header=$LOCALIZE[31235])</onclick> Set by code (optional frozen value 642, silent mode) PHP Code: <onclick>RunScript(script.skin.helper.service,action=setconstant,constant=HOM.View1.B1CoordX,value=642)</onclick> Then overrides the corresponding constant value for the matching name. A sliderex would also be awesome, but icing on the cake One great thing with skinsettings is the file is stored in extras folder, I really enjoy having those scripted ones out of the main skin folder but AFAIK, it's not possible to include a file from outside this main. Also, would be interresting having more than one script-skin_helper_service-Constants.xml file (to separate settings sets) but seems hard to implement even by numbering the files. It's a quick though but what do you think ? RE: skin helper service - sualfred - 2016-02-22 (2016-02-22, 16:41)marcelveldt Wrote:(2016-02-22, 16:30)sualfred Wrote: Thanks. Thanks, but something is broken. I get no results anymore. Log: https://paste.ee/p/frBd3 RE: skin helper service - tomer953 - 2016-02-22 (2016-02-22, 16:33)marcelveldt Wrote:(2016-02-20, 17:32)tomer953 Wrote: Hey Marcel! I tested.. 1. clearing the properties from the skinshortcuts dialog is not working. http://pastebin.com/K4yHm0RD i'm clicking on the "none" button, the picker closed, and the property is stay. (I check with labels for easy debugging) 2. in strings case, the none button seems to work, but is setting "None" to the string, and in my skin I check for IsEmpty, and not comparing to None. Code: <setting id="list_bg_color" type="string">None</setting> 10Q RE: skin helper service - User 224999 - 2016-02-22 (2016-02-22, 18:15)sualfred Wrote: Thanks, but something is broken. I get no results anymore. Maybe I should have tested it a little bit ;-) Now fixed on Git. |