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 - User 224999 - 2017-09-13 (2017-09-09, 22:58)heula Wrote: Where is the artwork downloaded from for the pvr recordings widget ? Open the add-on settings for the Skin helper metadata module, there you can set where the artwork is grabbed from and how to manually override it. Also note that once the feature is enabled, you will have a contextmenu option within your skin to set the artwork manually. RE: skin helper service - User 224999 - 2017-09-13 (2017-09-10, 18:34)Guilouz Wrote: I have also found mistake in wiki : plugin://script.skin.helper.widgets/?action=browsegenres&mediatype=movie&limit=1000 not working You can correct the wiki yourself, it's opensource ;-) I think the mediatype should be randommovies too, same typo. Yes, I can add the same for artists, no problem. First let me know if the movies and tvshows are now working (confirm that is was a wiki typo and the feature itself is working) RE: skin helper service - User 224999 - 2017-09-13 (2017-09-13, 00:09)djhifi Wrote: Just to clarify as I have been away for some months. the dialog video info is not showing any information from RT+metascore etc on purpose right? I need to donate and get an API key to get it working? No, you don't NEED an apikey. All data is provided even without an api key but it will be slower and it will be cached longer, also it will print some nagging warnings in the kodi log. So, if you want the additional metadata for free and don't mind that the first retrieval takes a few seconds, the default is fine. If you want the latest and greatest and need it super fast, apply for api keys for all services. Sorry, I had some discussions with the metadata sites and this was the only way to keep it alive. We don't want to overload those free metadata api's. MetaScore is still provided, for RottenTomatoes only the rating is provided, the userrating and stuff like that is gone. RE: skin helper service - Angelinas - 2017-09-13 (2017-09-13, 19:59)marcelveldt Wrote:Library view(2017-09-07, 22:51)Angelinas Wrote: @Marcel I don't have info or Art if play Episode from library(Kodi version Leia) Full screen info...missing all arts and info RE: skin helper service - djhifi - 2017-09-14 (2017-09-13, 20:18)marcelveldt Wrote:(2017-09-13, 00:09)djhifi Wrote: Just to clarify as I have been away for some months. the dialog video info is not showing any information from RT+metascore etc on purpose right? I need to donate and get an API key to get it working? Got it. The thing is its taking a really long time for the first initial sync. I have a big collection but that impact in any sort? Also, when you mention "apply for api keys" you mean pay and enter the API key in your script, right? RE: skin helper service - Edworld - 2017-09-14 (2017-09-14, 01:42)djhifi Wrote: Got it. The thing is its taking a really long time for the first initial sync. I have a big collection but that impact in any sort? Also, when you mention "apply for api keys" you mean pay and enter the API key in your script, right? 3 keys would be my guess: omdapi fanartv and tmdb RE: skin helper service - Guilouz - 2017-09-14 (2017-09-13, 20:13)marcelveldt Wrote:(2017-09-10, 18:34)Guilouz Wrote: I have also found mistake in wiki : plugin://script.skin.helper.widgets/?action=browsegenres&mediatype=movie&limit=1000 not working I have try : plugin://script.skin.helper.widgets/?action=browsegenres&mediatype=randommovies&limit=1000 and plugin://script.skin.helper.widgets/?action=browsegenres&mediatype=randomtvshows&limit=1000 but not working. Only working : plugin://script.skin.helper.widgets/?action=browsegenres&mediatype=movies&limit=1000 and plugin://script.skin.helper.widgets/?action=browsegenres&mediatype=tvshows&limit=1000 RE: skin helper service - lathie - 2017-09-14 There has been a lot of chatter about API keys, here are some instructions on how to get the common ones for Skin Helper Service and Artwork Downloader. API KEY REQUEST INSTRUCTIONS : FanArt.TV: https://fanart.tv Code: 1: Login to the site (create an account if necessary - Free): https://fanart.tv/ 2: Go to the following URL: https://fanart.tv/get-an-api-key/ 3: Generate a PROJECT API KEY (lower half of page): (NOTE: Personal API Keys will not work properly) Project Name: kodi Project Description: kodi Project URL: http://kodi.tv 4: You should see a Project key created which looks similar to the following: 84f9633e5c6801d82759ed48e5059560 <-- Example only to indicate formatting, do not use this key, which is invalid The Movie DB: https://www.themoviedb.org Code: 1: Login to the site (create an account if necessary - Free): https://www.themoviedb.org 2: Go to the following URL: https://www.themoviedb.org/settings/api 3: Request an API Key (bottom lele of main content section of page) 4: Select Developer and accept the terms of usage 5: Enter the application details App name: Kodi App URL: http://kodi.tv App Summary: Personal API key for Kodi add-ons The rest of the fields are just your personal info, populate them and click submit. 6: Your key is listed in the :API Key (v3 auth) section, You should see a key created which looks similar to the following: 878b84aeea12334580bd86fa300e67da <-- Example only to indicate formatting, do not use this key, which is invalid The TV DB: http://thetvdb.com/ Code: 1: Login to the site (create an account if necessary - Free): https://www.themoviedb.org 2: Go to the following URL: http://thetvdb.com/?tab=apiregister 3. Enter a project name and website and click retrieve API Key. These can be anything you want and are for your reference only, I use: Project Name: kodi Project website: http://kodi.tv 4: Your key is listed in the: API Keys section at the bottom of the page, You should see a key created which looks similar to the following: FF02D36BE10A733B <-- Example only to indicate formatting, do not use this key, which is invalid OMDB: http://www.omdbapi.com/ (REQUIRES DONATION of $1 / Mo.) Code: 1: Donate to the project via Patron - https://www.patreon.com/bePatron?u=5038490 2: Go to the following URL to request your API Key: http://www.omdbapi.com/apikey.aspx 3: You should receive an email with an API key which looks similar to the following: 32c545ae <-- Example only to indicate formatting, do not use this key, which is invalid ADD YOUR API KEYS Metadata and artwork module -- Add keys to Metadata and artwork module Add-on Settings, used by Skin helper Service Artwork Downloader -- https://forum.kodi.tv/showthread.php?tid...pid2618265 FYI: I also edit the tvdb.py file (line 41) to add my personal key for the TVDB, since i set one up. I hope this helps someone. RE: skin helper service - lathie - 2017-09-14 I have fixed it. You just need to register your own API keys on fanart.tv and themoviedb.org. Once you've done that you just need to edit the following files: \addons\script.artwork.downloader\lib\provider\fanarttv.py and \addons\script.artwork.downloader\lib\provider\tmdb.py Note 1: For the fanart.tv API key I had to apply for the Project API Keys, the Personal API Keys option did not download all the artwork. Note 2: For the themoviedb.org API key I applied for the Developer Key. I used Notepad++ to edit the files and it can be downloaded HERE - Once you have that installed you can browse over to edit the (2) files. On Windows: Users/username/AppData/Roaming/Kodi/addons/script.artwork.downloader/lib/provider/fanarttv.py Users/username/AppData/Roaming/Kodi/addons/script.artwork.downloader/lib/provider/tmdb.py On Linux: \\your.ip.address\kodi\addons\script.artwork.downloader\lib\provider\fanarttv.py \\your.ip.address\kodi\addons\script.artwork.downloader\lib\provider\tmdb.py Save and reboot. That's it! RE: skin helper service - nikeb - 2017-09-14 (2017-09-13, 20:18)marcelveldt Wrote: for RottenTomatoes only the rating is provided, the userrating and stuff like that is gone. i ve found this https://developer.fandango.com/Rotten_Tomatoes That explains: Quote:Available Data Is that an old page? Seems to me that is possibile (if you register it) to enter the API key and get it work. I honestly don't mind about that but.... you know.. i m curious RE: skin helper service - Gracus - 2017-09-15 Hi Marcelveldt, Got an "issue" with SHS in the skin I use and post here to see if you can do something (seems it is not fixable from the skin) Here is the issue. I use only local artwork for music (do not want to hammer fanart server each time I rebuild my music library) Here is an exemple of my folder structure (important to explain the issue) that should allow SHS to find artworks: Music folder (set as music source in kodi) --ArtistA folder ----banner ----logo ----fanart ----thumb ----Album1 folder ------song1 with "ArtistA" as AlbumArtist tag and "ArtistA feat ArtisB" as Artist tag --ArtistB folder ----banner ----logo ----fanart ----thumb ----Album2 folder ------song2 with "ArtistB" as AlbumArtist tag AND Artist tag When SHS do his job to cache artworks, it first try to find them for song1 and see two artiists: ArtistA and ArtistB Of course, being in the ArtistA folder, SHS found artworks for ArtistA but does not found artworks for ArtistB Then SHS will have to find artworks for song2 and will find artworks for ArtistB BUT they are not put in cache and will never be displayed (probably because SHS already registered this artist with no artworks) Now my "request" to try to fix this Could it be possible to add 2 options in SHS for music artworks: 1- option to use AlbumArtist tag instead of Artist tag 2- option allowing to do not use separator (will prevent bands like "the mamas and the papas" to be seen as 2 artists "the mamas" and "the papas") Last issue: it seems that some part of the code does not like some special character Artworks are never displayed for artists like "Des'ree" or "Diam's" Could you have a look at that too? Thanks for your time RE: skin helper service - DaveBlake - 2017-09-15 Or @Gracus you could wait for v18... that will have nominated location for artist artwork as part of Kodi core. It may be better to focus effort on that, and what skins needs from core to be able to use it, than changes to SHS. RE: skin helper service - Gracus - 2017-09-16 (2017-09-15, 23:57)DaveBlake Wrote: Or @Gracus you could wait for v18... that will have nominated location for artist artwork as part of Kodi core. It may be better to focus effort on that, and what skins needs from core to be able to use it, than changes to SHS. Kodi devs have limited time and I do not think that music artworks could have a place in Kodi 18 roadmap (or, as for movies, just a few of them will be available through kodi core and we will still need SHS for the others) That is why I thought simplier to make small correction to SHS than trying to add all of these in Kodi RE: skin helper service - Gade - 2017-09-16 (2017-09-15, 23:57)DaveBlake Wrote: Or @Gracus you could wait for v18... that will have nominated location for artist artwork as part of Kodi core. It may be better to focus effort on that, and what skins needs from core to be able to use it, than changes to SHS. Sounds very interesting. Is there a PR for this? RE: skin helper service - DaveBlake - 2017-09-16 (2017-09-16, 00:59)Gracus Wrote: Kodi devs have limited time and I do not think that music artworks could have a place in Kodi 18 roadmap (or, as for movies, just a few of them will be available through kodi core and we will still need SHS for the others)You are of course right about limited time and help with deveolpment is welcome, the active dev team is very small compared to the millions of users Kodi has. But to my knowledge there is no "roadmap" it is just a matter of what gets done (implemented and approved) in time. While I am not going to be able to replace SHS, and not sure I would even want to try, I am working on where Kodi looks for artist nfo and art. The current approach - trying to identify a unique folder in the music files - is flawed. It can only work for abum artists with very simple muisc folder layouts, collaborations (multiple album artists) or multiple music sources confuse it. In v18 there will be a nominated artists folder, and it would be sensible for addons that fetch art to use this folder too, not go off and create yet another structure with different naming etc. I don't have time to trawl through Python and work out how these addons work, and I am not even a regular addon user, so I am unclear on what addons like SHS need to be able to make use of the features I am adding. All I can do is raise awareness of what I am working on, and hope that those on the addon side of things will come forward and work with me. For example if there are issues with turning artist names into folders, then it would help me to know about it and to work together to come up with a collective solution that can be implemented in core and accessed by addons. The v18 music db already holds Muisicbrainz release group id. It is this, not Muisicbrainz (album) release id, that is needed for online lookup of album art and info. Using this would speed up art retrieval by removing the need to requery Muiscbrainz (throttled to 1 call per sec), but I need to know what needs adding so that SHS and other addons have access to this. (2017-09-16, 07:50)Gade Wrote: Sounds very interesting. Is there a PR for this?Not quite but near, the work is in my repo. I am working on it as part of improving the music library export/import facility. The aim is to reduce the number of times users rescrape the same online information. If we continue to unnecessarily batter the servers of the free online music info services they will eventually either fail or limit Kodi's access. Better export/import will mean that users can save scraped data locally and restore it to any fresh installations with ease. I know that core changes are slow compared to addon development, but I would like to work with the addon devs and users rather than in isolation. Some design and testing discussion here https://forum.kodi.tv/showthread.php?tid=319284&pid=2644241#pid2644241 Perhaps a better place to discuss it than mixed in with other SHS requests? |