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 - Solo0815 - 2016-11-27 I have some problems left: I'm using skinhelper together with script.radio.streaming.helper Thread: http://forum.kodi.tv/showthread.php?tid=289314 all on internet streams (Webradio) 1. Code: $INFO[Window(Home).Property(SkinHelper.Player.Art.AlbumThumb)] 2. Code: http://localhost:52307/getmusicart&artist=$INFO[Window(12006).Property(artiststring)]&track=$INFO[Window(12006).Property(trackstring)]&album=$INFO[Window(12006).Property(albumtitle)]&type=discart Thx RE: skin helper service - User 224999 - 2016-11-27 (2016-11-27, 06:08)echo Wrote: Edit: ok found the problem: I used the <content> string for Recent Media directly as you have in the new wiki...and there you are using reload with widgetreload2 ... removing the "2" reloads the widgets immediately 1) The widgets indeed have their own caching to make sure the database isn't hammered constantly with requests. With the reload parameter you can make sure that kodi refreshes the container and that the latest info is pulled from the kodi DB (cache ignored). For the "media" widgets it's recommended that you use both the widgetreload and widgetreload2 propety to make sure all scenarios are caught. widgetreload is used for all video library items and widgetreload2 just changes every 10 minutes. 2) As for your request: In the addon settings for the Skin helper Widgets you'll notice a setting "group episodes" which is what you need. RE: skin helper service - User 224999 - 2016-11-27 (2016-11-27, 12:46)Angelinas Wrote:(2016-11-27, 04:54)marcelveldt Wrote: Please test again with next update, available within 15 minsNot fixed, same resultats... Did you try setting the ID to $INFO[Container(201).Listitem.Property(widget)] ? RE: skin helper service - User 224999 - 2016-11-27 (2016-11-27, 13:13)Solo0815 Wrote: I have some problems left: 1) You don't need that additional radio helper script, that logic is already in Skinhelper (for a long time already) and it will only add some more overhead and performance loss if you use them both. 2) Make sure to enable Music Artwork: Skin.SetBool(SkinHelper.EnabeMusicArt) 3) You don't need to use the webservice (only in very rare cases), just use $INFO[Window(Home).Property(Skinhelper.Player.Art.Thumb)] 4) Please check if Player.Art.Thumb is working, I will look into the AlbumArt property, might be that it's only set for library content. If that's the case I'll fix it. 5) If you really need the webservice because you're showing stuff inside a container, there's a simple trick to test the webservice: - Open Kodi - With Kodi running, open your browser and type the url for the artwork lookup. - For example http://localhost:52307/getmusicart&artist=queen - That should show the image in your browser - On error you will see the error listed EDIT: Found the issue with Art.Albumthumb, will be fixed in next update. It might be needed to clear the cache to make it work: To flush the cache, delete simplecache.db in userdata\Database when Kodi is closed. Next update will be provided later today RE: skin helper service - Solo0815 - 2016-11-27 OK, thx. Will test it, when the new version is out. I'm using the streaming helper script, beacause it splits the streaming info into $Artist, $Track and $Album. RE: skin helper service - User 224999 - 2016-11-27 (2016-11-27, 14:17)Solo0815 Wrote: OK, thx. Will test it, when the new version is out. And that's exactly what skinhelper also does for you RE: skin helper service - Solo0815 - 2016-11-27 What InfoLables do I have to use? MusicPlayer.Title, .Artist and .Album are not working. Does skinhelper have special InfoLabels? I haven't seen anything about it in the skinhelper-Wiki RE: skin helper service - Angelinas - 2016-11-27 (2016-11-27, 13:49)marcelveldt Wrote: Did you try setting the ID to $INFO[Container(201).Listitem.Property(widget)] ?Yes I try,all combination..... I set in Settings.xml this code for label and dont have info back. Code: <setting id="menu1.widgets" value="movie.recent" label="$VAR[Sub_GoTo]" condition="" icon="" description="Reacent Movie."> Code: <setting id="menu1.widgets" value="movie.recent" label="$LOCALIZE[1223]" condition="" icon="" description="Reacent Movie"> Script doesn't read xbmc.getInfoLabel as should.Only working for $LOCALIZE, but dont working for $INFO & $VAR I call script with this Code: RunScript(script.skin.helper.service,action=setskinsetting,setting=$INFO[Container(9000).ListItem.Property(name)].widgets,header=Widget Chooser,simple to set your favorite widget) RE: skin helper service - wheatfield - 2016-11-27 Are SkinHelper.ListItem.Rating.IMDB and SkinHelper.ListItem.Votes.IMDB meant to work for tvshows and episodes? I get nothing when trying to use it in DialogVideoInfo unless it's a movie. Also, SkinHelper.ListItem.Premiered.formatted displays the date as "27 Nov 2016" or something similar. Is it supposed to display the localized variation chosen in skin settings? For example, I've chosen "11-27-2016" for my preferred format and it ignores the setting. RE: skin helper service - Angelinas - 2016-11-27 (2016-11-27, 17:01)wheatfield Wrote: Are SkinHelper.ListItem.Rating.IMDB and SkinHelper.ListItem.Votes.IMDB meant to work for tvshows and episodes? I get nothing when trying to use it in DialogVideoInfo unless it's a movie.Haaaahaa I have total oposite ...only that working RE: skin helper service - Guilouz - 2016-11-27 Hi Marcel, Do you have take a look for extrafanarts not working with tv shows and movies ? Only working with music. My setting to enable/disable extrafanarts : Code: <control type="radiobutton" id="626"> And my code to show fanarts/extrafanarts : Code: <control type="image"> RE: skin helper service - sualfred - 2016-11-27 Hey Marcel, the genre artwork function is also broken for the webservice. RE: skin helper service - Rantanplan-1 - 2016-11-27 (2016-11-22, 20:17)marcelveldt Wrote:(2016-11-21, 21:34)Rantanplan-1 Wrote: Shouldnt this work? The Repo version.(1.0.100) (What would you recomend as dependency for Krypton? Will the "old" script still exist in its "old" way, once the testing from the new splitted one is over?) EDIT: Problem solved after a "refresh" to the same version Number, so works now .. RE: skin helper service - User 224999 - 2016-11-27 (2016-11-27, 16:00)Solo0815 Wrote: What InfoLables do I have to use? MusicPlayer.Title, .Artist and .Album are not working. Does skinhelper have special InfoLabels? All properties as mentioned in the "listitem" section and the normal kodi listitem properties are available for the Player too. So in your case use the following: SkinHelper.Player.Title --> track title SkinHelper.Player.Artist -> artist name(s) SkinHelper.Player.Album --> album name This will work for media in the library and for streaming radio (if scraper is enabled in addon settings). But... I think this is now also not working because of the bug I fixed earlier. When I'm back home I will put the updated version on the repo. RE: skin helper service - User 224999 - 2016-11-27 (2016-11-27, 17:38)Guilouz Wrote: Do you have take a look for extrafanarts not working with tv shows and movies ? Only working with music. There's a small typo in your code: PHP Code: <visible>![Player.HasVideo + Skin.HasSetting(background_showvideo)] | !String.IsEmpty(Window(Videos).Property(PlayingBackgroundMedia))</visible> should be: PHP Code: <visible>![[Player.HasVideo + Skin.HasSetting(background_showvideo)] | !String.IsEmpty(Window(Videos).Property(PlayingBackgroundMedia))]</visible> Also you can remove the other visibility conditions as the script can also provide extrafanrt for plugins and homescreen widgets. Maybe only use this as visibility condition (besides the one above): <visible>Skin.HasSetting(SkinHelper.EnableExtrafanart) + !IsEmpty(Window(Home).Property(SkinHelper.ListItem.Art.extrafanart))</visible> |