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
|
skin helper service - User 224999 - 2017-05-13 I will provide a new version later today which will allow you to enter your own API key. Verzonden vanaf mijn iPhone met Tapatalk RE: skin helper service - Angelinas - 2017-05-13 Marcel just headup...this isnt fixed, still missing Art in Code: http://localhost:52307/getartwork&title=$INFO[ListItem.Title]&type=discart,clearart,clearlogo https://github.com/marcelveldt/script.module.metadatautils/issues/2 Edit:Fixed with latest version....tnx RE: skin helper service - Mr. V - 2017-05-14 Hi Marcel, Can you please give me some clarification on the color picker service? From my understanding, the script writes three skin strings. Code: Skin.String(Color) The button id 3011 will set the value of the color to None, color.name to None, color.base to empty. The wiki states https://github.com/marcelveldt/script.skin.helper.colorpicker "In your skin you can just use the skin string to color a control, example: $INFO[Skin.String(defaultLabelColor)]" Initially i coded a variable and have 'highlight' in kodi's default.xml color folder as a fallback. Code: <variable name="HighlightColorVar"> Then in a label; Code: <textcolor>$VAR[HighlightColorVar]</textcolor> So if a user clicks 'none' the string is not empty but set to 'none'. Which is not the behavior i expected. (although i can see that being useful as a way of turning off elements of a skin using the color picker) To make it work the variable 'Highlight.Color' must be changed to 'Highlight.Color.base' A couple of questions; - Is this the intended way i should be using this? (its not clear in the wiki about the skin string with the extra '.base' at the end) - Is the value 'None' language dependent? (so if a user were to use french for example the value would be 'aucun' instead) RE: skin helper service - Gracus - 2017-05-14 (2017-05-13, 16:35)marcelveldt Wrote: I will provide a new version later today which will allow you to enter your own API key. Temporary fix or only solution for future skin helper service use? RE: skin helper service - Guilouz - 2017-05-14 (2017-05-13, 16:35)marcelveldt Wrote: I will provide a new version later today which will allow you to enter your own API key. In script.module.metadatautils ? That's right ? RE: skin helper service - the_bo - 2017-05-15 Hi guys Does anyone know of best way to fetch all of rotten tomatoes ratings for all my movies. Currently i am scrolling through my lists of movies one at a time to make skinhelper fetch the data, which is tedious. Thanks RE: skin helper service - User 224999 - 2017-05-17 (2017-04-30, 15:14)Edworld Wrote: Don't know what this exactly means, but if you use XML instead of JSON you get all the rotten tomato ratings. Not sure if this is a permanent change and if it is something you can easily change in your code. Hmm, it indeed seems that the xml response is still returning all the rotten tomatoes info while the json response only returns the RT rating. Before I go changing the some code to adjust it it xml, I've first asked him if this is by design. RE: skin helper service - manfeed - 2017-05-19 Hi Marcel, Your script is awesome, thanks for your work. I'm trying to use some additional artwork for albums music (back cover and spine). I do that by putting back.jpg and spine.jpg in the album folder. The problem is that I'm unable to tell the mod the right path to those files. All the ListItem InfoLabels related to paths don't work for that. The only way to get it is by setting manually in a skin string the path where the music library is located. The issue is when you have more than one location for your music library. However, I have seem that your script has the option... Window(Home).Property(SkinHelper.ListItem.Art.ExtraFanArt) ...that returns the path that I need plus \extrafanart\ Would it be possible to have an option to return the same path but without the \extrafanart\ part? Or maybe you know a better way to get the complete path in order to reach an image located in an album music folder when browsing? Thanks! RE: skin helper service - Angelinas - 2017-05-19 (2017-05-19, 13:32)manfeed Wrote: Hi Marcel,Not back.jpg...thumbback.jpg. No need to set path for this, script find this .jpg in album folder and set as property(like for other art,...discart,poster,thumb) Code: Window(Home).Property(SkinHelper.ListItem.Art.ThumbBack) RE: skin helper service - Guilouz - 2017-05-19 Hi marcel, Extrafanarts, clearlogos etc.. not working with widgets from template of Skin Shortcuts ? Working without template. RE: skin helper service - jurialmunkey - 2017-05-20 (2017-05-19, 18:56)Guilouz Wrote: Hi marcel, Works fine for me with templates. RE: skin helper service - Guilouz - 2017-05-20 (2017-05-20, 00:43)jurialmunkey Wrote:(2017-05-19, 18:56)Guilouz Wrote: Hi marcel, Yes, I just see, it's not working when widgets are from Skin Helper Service like : plugin://script.skin.helper.widgets/?action=random&mediatype=artists&reload=$INFO[Window(Home).Property(widgetreloadmusic)] It's ok if I use playlist with random artists RE: skin helper service - jurialmunkey - 2017-05-20 @Guilouz - Clearlogo works fine for me with skinhelper random artists widget. Make sure you are setting the SkinHelper.WidgetContainer property in Home.xml onload so skin helper knows what ID your widgets are: Code: <onload>SetProperty(SkinHelper.WidgetContainer,9001)</onload> RE: skin helper service - Guilouz - 2017-05-20 (2017-05-20, 03:54)jurialmunkey Wrote: @Guilouz - Clearlogo works fine for me with skinhelper random artists widget. It's ok, it was an issue with Skin Helper DB. After delete and regeneration it's working. RE: skin helper service - Angelinas - 2017-05-21 (2017-05-13, 16:35)marcelveldt Wrote: I will provide a new version later today which will allow you to enter your own API key.This will be work for OMDB....but little error is in code for omdb.py, omdb own Api key not workingneed to add "self." line 56 Code: params["apikey"] = self.api_key |