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 - Jayz2K - 2016-04-29 (2016-04-29, 22:38)marcelveldt Wrote: Just included something new (and cool) to the script...Excellent one ! Definitely something I have to implement in my designer ! Great job (as always). RE: skin helper service - Mike_Doc - 2016-04-29 (2016-04-29, 22:38)marcelveldt Wrote: Just included something new (and cool) to the script... Is this different to pressing shift+1st char or shift+first 2 chars when in a view? RE: skin helper service - tomer953 - 2016-04-29 (2016-04-29, 22:38)marcelveldt Wrote: Just included something new (and cool) to the script... nice... any chance to implement this also for non-english letters? RE: skin helper service - User 224999 - 2016-04-29 (2016-04-29, 23:15)Mike_Doc Wrote: Is this different to pressing shift+1st char or shift+first 2 chars when in a view? No, it's the same except that you don't need a keyboard but instead you have the alphabet listing on-screen. RE: skin helper service - User 224999 - 2016-04-29 (2016-04-29, 23:17)tomer953 Wrote: nice... I don't think so, it uses the "smsjump" builtin command to jump to the letters. As far as I can see that command only supports A-Z but I can be wrong on this RE: skin helper service - tomer953 - 2016-04-29 (2016-04-29, 23:28)marcelveldt Wrote:(2016-04-29, 23:17)tomer953 Wrote: nice... ok, so sadly i'll pass this one in my skin... awesome feature anyway.. thx RE: skin helper service - Mike_Doc - 2016-04-29 (2016-04-29, 23:26)marcelveldt Wrote:(2016-04-29, 23:15)Mike_Doc Wrote: Is this different to pressing shift+1st char or shift+first 2 chars when in a view? Got you, cheers Marcel. I never fully understand the great things you keep adding. RE: skin helper service - braz - 2016-04-29 Very cool, was able to get this working in just a few minutes. Going to provide a skin setting so users can choose between the standard scrollbar and the alphabet listing. Thanks! RE: skin helper service - manfeed - 2016-04-30 Hi marcelveldt, You never cease to amaze me! Thanks for your work! I'm always thinking of adding something new to my mod to make it look better (like you do with your script ). I'm already using the option: Window(Home).Property(SkinHelper.Music.TrackList) ...to show a list of the songs of an album at the back of a mockup cd case but, would it be possible to have an option adding the song's duration after the title of every song? something like this... 1 - What I wouldn't do - 3:58 2 - New heights - 4:13 [...] I don't know if that's possible or even if you're interested in coding that... anyway thanks again! RE: skin helper service - wyrm - 2016-04-30 (2016-04-29, 22:38)marcelveldt Wrote: Just included something new (and cool) to the script...Marcel, That's it dude, I'm having your baby. I have been trying to add this to my skin for years and you just come along and drop it in my lap. Thank you, thank you, thank you. Will be adding this to my skin ASAP. Luv's, Hug's and fairy dust Wyrm RE: skin helper service - wyrm - 2016-04-30 Marcel, Have tried to use another piece of your wizardry and while it works after the initial problem (initial launch leads to a script error). Using you percentage function called in my home screen for a shelf widget (code attached) PHP Code: <onload>RunScript(script.skin.helper.service,action=getpercentage,count=$INFO[Window(Home).Property(Movies.Watched)],total=$INFO[Window(Home).Property(Movies.Count)],skinstring=movieswatched-percentage)</onload> I thought there was an issue with my calling of the script (I tried clearing the skin string before calling the script to help with the error message that was thrown in the debug log) but the first time I enter the home screen I always see the attached error lines in the debug log, I don't see then the next time I enter the home menu, only on the first entry. PHP Code: 00:14:14 T:3832 NOTICE: Skin Helper Service --> started loading script entry I'm pretty sure its something I'm doing, but I can't figure out what the issue is, would you care to point out my error. Wyrm RE: skin helper service - User 224999 - 2016-04-30 (2016-04-30, 05:47)wyrm Wrote: I thought there was an issue with my calling of the script (I tried clearing the skin string before calling the script to help with the error message that was thrown in the debug log) but the first time I enter the home screen I always see the attached error lines in the debug log, I don't see then the next time I enter the home menu, only on the first entry Well, that's simple. At that time the property is not yet available (so is empty). A solution could be to check if the property has a value before calling the script or even better if the value is empty use a timer to launch the script. Something like this: <onload condition="!IsEmpty(Window(Home).Property(Movies.Count))">RunScript(blah)</onload> <onload condition="IsEmpty(Window(Home).Property(Movies.Count))">AlarmClock(count,RunScript(blah),00:05,silent)</onload> RE: skin helper service - User 224999 - 2016-04-30 (2016-04-30, 00:50)manfeed Wrote: Window(Home).Property(SkinHelper.Music.TrackList) This is added now on Git. Remember to flush the cache if you want to test it. For now I've just included it (without additional option), if requested I can make it an optional setting or different property later. RE: skin helper service - Mike_Doc - 2016-04-30 can you make it a different property Marcel? perhaps SkinHelper.Music.Tracklist.Duration ? You'll know best. I use .Music.Tracklist and would prefer to just have tracklist only like it was. RE: skin helper service - Mike_Doc - 2016-04-30 (2016-04-29, 23:15)Mike_Doc Wrote:(2016-04-29, 22:38)marcelveldt Wrote: Just included something new (and cool) to the script... Hi Marcel, Just a quick question, got the latest from GIT and tried plugging this in, it is working but if I select a letter it always jumps to the start of the letter before i.e. select 'E' jumps to 'D' Any ideas why? Edit: think it might be connected to having movies beginning 0-9?. If I'm on the first movie in my library, '71, then if I select any letter it does not jump, if I'm on first film with 'A' and select 'F' it jumps but to 'E' so I guess the 0-9 movies are connected? if I'm on 'R' and select 'A' no jump? |