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 - im85288 - 2015-09-06 Ok a bit more info here, I noticed that it has channel group id hardcoded to 1...so I decided to look in my local database and discovered this: I then changed it to "6" and that worked in that it now gets the channels but failed with this exception: Code: ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- I presume the above is because some of my channels do not have the current program correctly retrieved from the EPG provider. No idea why my channel groupid for All Channels is 6...strange RE: skin helper service - Jayz2K - 2015-09-06 (2015-09-05, 14:57)marcelveldt Wrote:Great Marcel, will give it a try.(2015-08-22, 14:43)Jayz2K Wrote: [quote='marcelveldt' pid='2086887' dateline='1440244518'] Thanks. RE: skin helper service - User 224999 - 2015-09-06 (2015-09-06, 11:08)im85288 Wrote: Ok a bit more info here, I noticed that it has channel group id hardcoded to 1...so I decided to look in my local database and discovered this: OK, I'll fix it right away with adding a lookup for the channelgroup. For programs missing programinfo, I can either skip them or add them without info in the list... I think skip is the best thing to do here RE: skin helper service - User 224999 - 2015-09-06 (2015-09-06, 11:08)im85288 Wrote: I presume the above is because some of my channels do not have the current program correctly retrieved from the EPG provider. Can you test with latest Git ? I fixed the all channels issue and it now skips programs that are missing epg info RE: skin helper service - im85288 - 2015-09-06 (2015-09-06, 11:19)marcelveldt Wrote:(2015-09-06, 11:08)im85288 Wrote: I presume the above is because some of my channels do not have the current program correctly retrieved from the EPG provider. Great that's fixed that, I have a few general queries though. The endtime does not seem to be accurate, start time seems to be missing ,channel numbers are not returned, the progress item is not filled, details on the next item is not present..ie. next title, next genre, next start time, next end time. If all of those are not in scope of this widget then feel free to ignore these requests. RE: skin helper service - User 224999 - 2015-09-06 (2015-09-06, 11:34)im85288 Wrote: Great that's fixed that, I have a few general queries though. The endtime does not seem to be accurate, start time seems to be missing ,channel numbers are not returned, the progress item is not filled, details on the next item is not present..ie. next title, next genre, next start time, next end time.Oh right, I still need to add those, totally forgot about that. Will add them asap. EDIT: Now I remember why I didn't add details about the next program: Because it was really slow... The current query is 1 json request to get the channel including it's current program. Retrieving the next program would require to get the broadcasts for each channel individually. If it's important I can add it, for example with a optional parameter to the script if next details should be included. The starttime, channel number and progress should be no problem though RE: skin helper service - nessus - 2015-09-06 (2015-09-02, 18:54)marcelveldt Wrote: Two ways to resolve this: IMHO adding the properties from the script to the listitem object is the best way to go so when a skinner wants to use these it can be done the same way as before but without all the static content code. I don't think the custom code is a problem. It's just a line of code in a variable plus that personally, i like to keep things separately in my code Cheers Nessus RE: skin helper service - im85288 - 2015-09-06 (2015-09-06, 11:38)marcelveldt Wrote:(2015-09-06, 11:34)im85288 Wrote: Great that's fixed that, I have a few general queries though. The endtime does not seem to be accurate, start time seems to be missing ,channel numbers are not returned, the progress item is not filled, details on the next item is not present..ie. next title, next genre, next start time, next end time.Oh right, I still need to add those, totally forgot about that. Will add them asap. Thanks, I did notice it was already significantly slower than getting the data direct from the database so adding the next program details would probably not be a good idea. For my purposes I will stick with the database version and use the auto thumb generator on a "on demand" basis. One possible improvement though would be to retrieve all channels if no limit parameter is specified (as it is now I think it returns 25 when not specified). Some cool stuff in there though, including the use of the logo database...nice work RE: skin helper service - tomer953 - 2015-09-06 (2015-09-06, 10:23)marcelveldt Wrote:(2015-09-06, 07:32)tomer953 Wrote: I quickly checked it [?action=getthumb] , and it worked... few weeks ago I checked it and it has some unicode errors or something that made the script faile. now its working. 1. http://pastebin.com/Q5PWbtAV its a new link, but the old one is working to me... 2. OK, so Ill start from the basics. Currently In kodi, I know two ways of creating "custom folders" that combine addons-stuff from diffrent places a) Advanced Launcher b) Super Favourites for example, I can create in the AL addon a folder named "Tomer" and then assign to that folder links from other addons (I think its made by user favourites) so lets said in the "Tomer" Folder Ill have "Youtube Most Popular" shortcuts, and "CNN News". Finally, what users with to do, Is to assign that folder into a widget. That way, they can build a completly custom widget... by using one of those program addons. In previous version of skinshortcuts, they can "get inside" program addons, and then inside the Advance Launcher addon, and then select their custom folder, and the widget was filled by the items in that folder. As I write this, I think of alternate way to acheive it - maybe Ill let them build their custom "folder" as a sub-menu, and then fill the widget with the sub-menu content, so no dependecy with the AL or Super Favourite to make custom widgets... 3. 10x RE: skin helper service - BobCratchett - 2015-09-06 (2015-09-06, 13:11)tomer953 Wrote: 2. OK, so Ill start from the basics. Super Favourites shows up under Video and Music add-ons, where the user can "get inside" the add-on. For program add-ons that have a plugin entry point, but don't define that as video/audio/picturest you can add custom support for it to your own <widget-groupings /> the same way support for the skin helper service has been added:- Code: <shortcut label="Advanced Launched" type="Label2 value" condition="System.HasAddon(whatever.advanced.launchers.id.is)">||BROWSE||whatever.advanced.launchers.id.is</shortcut> RE: skin helper service - Angelinas - 2015-09-06 (2015-09-06, 11:19)marcelveldt Wrote: Can you test with latest Git ? For PVR AeonMQ6 Working great.....This is all I need for EPG,I search this long time...Big TNX ,great script. RE: skin helper service - User 224999 - 2015-09-06 (2015-09-06, 13:11)tomer953 Wrote: 1. http://pastebin.com/Q5PWbtAV its a new link, but the old one is working to me... 1. The error is from old version. All those unicode errors have been fixed by me a few days back. So that error report from that user is from old version of the script. I know this because the line in the log doesn't match with the code. 2.Please check the answer from BobCratchet. That is the most solid way to fix it. RE: skin helper service - User 224999 - 2015-09-06 (2015-09-06, 12:45)im85288 Wrote: Thanks, I did notice it was already significantly slower than getting the data direct from the database so adding the next program details would probably not be a good idea. For my purposes I will stick with the database version and use the auto thumb generator on a "on demand" basis. One possible improvement though would be to retrieve all channels if no limit parameter is specified (as it is now I think it returns 25 when not specified). Some cool stuff in there though, including the use of the logo database...nice workWell, it's cached so the first request is slow but it will be faster in time. Offcourse a widget that points directly to the pvr:// path will be the fastest. If you do not want a limit just set it to a ridiculous high number like 999. RE: skin helper service - Jayz2K - 2015-09-06 (2015-09-06, 11:13)Jayz2K Wrote:Gave it a quick shot. Seems now the new window properties arts works without the need of the multiimage control, which is a great thing. Seems also it works only in PVR windows, so still using the multiimage in my TV widget returns different image depending if I'm in the widget or PVR windows. Not a big deal but is there a way to get thoses properties also in widgets ?(2015-09-05, 14:57)marcelveldt Wrote: I improved the PVR thumbs a bit. It's now also available in the window props.Great Marcel, will give it a try. RE: skin helper service - im85288 - 2015-09-06 Me too, I didn't notice the new window props and they work perfectly. Some great views can now be made using those poster/fanart values...what a script this is! Full of new surprises everyday I think Live TV in Kodi has just stepped up it's game big time. Thanks again Marcel |