Kodi Community Forum
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)



RE: skin helper service - Jayz2K - 2015-12-04

(2015-12-04, 01:05)BobCratchett Wrote: The old Google image search api - long since deprecated - has now been discontinued, so all Google image searches by the script are failing.

OMG ... Noooooo !


RE: skin helper service - Dumyat - 2015-12-04

(2015-12-04, 00:29)marcelveldt Wrote: Like mentioned before by Rjsachse you can put any info you like in the pvrdetails.xml file and it will result in a window property.
I will look into scraping the ratings and mpaa from TMDB/IMDB but this will take me a while to get right. It's on my TODO list.

Ok cool, no worries.
My fault for not noticing the earlier post.....Sorry for that


RE: skin helper service - badaas - 2015-12-04

(2015-12-04, 01:17)Jayz2K Wrote:
(2015-12-04, 01:05)BobCratchett Wrote: The old Google image search api - long since deprecated - has now been discontinued, so all Google image searches by the script are failing.

OMG ... Noooooo !

Oh t|ts, I thought that or they banned my IP! Smile


RE: skin helper service - User 224999 - 2015-12-04

(2015-12-04, 01:05)BobCratchett Wrote: The old Google image search api - long since deprecated - has now been discontinued, so all Google image searches by the script are failing. It's probably possible to switch it to the Google custom search api without too much difficulty, and indeed I'll give it a go myself over the weekend if I'm not beaten to it Wink

Oh damn... That's a shame.
Isn't it true that the dev API key allows you to request 100 images each day per IP ?
In that case it isn't that bad.

I will have to read through the Google docs what the options are now.
Too bad they removed this, it was working quite well.


RE: skin helper service - Jayz2K - 2015-12-04

(2015-12-04, 16:38)marcelveldt Wrote: Too bad they removed this, it was working quite well.

Indeed ! I can't imagine having to do without TV scraper now :/


RE: skin helper service - User 224999 - 2015-12-05

(2015-12-04, 16:55)Jayz2K Wrote: Indeed ! I can't imagine having to do without TV scraper now :/

For the time beiing you can use the YouTube scraper but that was is a bit slow.
I think we can figure something out with the google images.


RE: skin helper service - BobCratchett - 2015-12-06

I haven't gone too far into the documentation - but I saw that the 'Pricing' section on the following page - https://developers.google.com/custom-search/json-api/v1/overview - doesn't talk about it being per-IP and quickly moved on!


RE: skin helper service - User 224999 - 2015-12-06

(2015-12-06, 02:28)BobCratchett Wrote: I haven't gone too far into the documentation - but I saw that the 'Pricing' section on the following page - https://developers.google.com/custom-search/json-api/v1/overview - doesn't talk about it being per-IP and quickly moved on!

Well, the only option I see is to let users insert their own personal API key if they want to use Google searches.
OR: Use the regular google images website and scrape the results. A pain to code but it will work.

At least the IMDB/fanart.tv options are still working.


RE: skin helper service - BobCratchett - 2015-12-06

(2015-12-06, 02:48)marcelveldt Wrote:
(2015-12-06, 02:28)BobCratchett Wrote: I haven't gone too far into the documentation - but I saw that the 'Pricing' section on the following page - https://developers.google.com/custom-search/json-api/v1/overview - doesn't talk about it being per-IP and quickly moved on!

Well, the only option I see is to let users insert their own personal API key if they want to use Google searches.
OR: Use the regular google images website and scrape the results. A pain to code but it will work.

At least the IMDB/fanart.tv options are still working.

Don't want to put a downer on this - especially as I have confidence you'll find a solution - but (from my reading) the user wouldn't just require an API key but also a search engine ID. Instantly makes it 2x as hard to do, and - as I've said previously - probably against Google's TOS. Regarding scraping results - I already regularly get Catchpa's from Google as - apparently - my searching may be suspicious. Not that this would necessarily be a problem, but handling Catchpa's is something you'd need to handle.

I really don't want to be seen as being negative on this, more inserting an element of realism. It's do-able (especially by someone as talented as you), but there are issues that need to be addressed Smile


RE: skin helper service - badaas - 2015-12-06

edit: offtopic Smile


RE: skin helper service - badaas - 2015-12-10

1.0.22 in beta repo breaks cast, this version ok https://github.com/marcelveldt/script.skin.helper.service/tree/f1a263daa04c8c1ba87109286d82a43f5aa8f468

13:00:50 T:5764 NOTICE: Skin Helper Service --> Parameter string: ?action=getcast&movie=220
13:00:51 T:5764 ERROR: Skin Helper Service --> Error in plugin.py --> 'id'
13:00:51 T:5764 ERROR: Traceback (most recent call last):
13:00:51 T:5764 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 113, in <module>
13:00:51 T:5764 ERROR: Main()
13:00:51 T:5764 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 88, in __init__
13:00:51 T:5764 ERROR: getCast(movie,tvshow,movieset,episode,downloadthumbs)
13:00:51 T:5764 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 986, in getCast
13:00:51 T:5764 ERROR: liz.setProperty("DBID",cast["id"])
13:00:51 T:5764 ERROR: KeyError: 'id'
13:00:51 T:3356 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.skin.helper.service/?action=getcast&movie=220
13:00:51 T:2064 NOTICE: Skin Helper Service --> Parameter string: ?action=getcast&movie=220
13:00:52 T:2064 ERROR: Skin Helper Service --> Error in plugin.py --> 'id'
13:00:52 T:2064 ERROR: Traceback (most recent call last):
13:00:52 T:2064 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 113, in <module>
13:00:52 T:2064 ERROR: Main()
13:00:52 T:2064 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 88, in __init__
13:00:52 T:2064 ERROR: getCast(movie,tvshow,movieset,episode,downloadthumbs)
13:00:52 T:2064 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 986, in getCast
13:00:52 T:2064 ERROR: liz.setProperty("DBID",cast["id"])
13:00:52 T:2064 ERROR: KeyError: 'id'
13:00:52 T:3356 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.skin.helper.service/?action=getcast&movie=220


RE: skin helper service - Wanilton - 2015-12-10

@marcelveldt, translation script for portuguese (brazil), thanks

http://files.xbmcbrasil.net/Scripts/Script.Skin.Helper/Portuguese%20(Brazil).zip


RE: skin helper service - im85288 - 2015-12-12

Hi Marcel,

With regards the broken cast widget, I can see that you were trying to add the episode/tvshow or movie dbid to the cast item but the logic is wrong. Would you like me to submit a PR to fix it or are you planning to resolve it and put a new build up on the Emby beta repo? Cheers


RE: skin helper service - Fail$tyle420 - 2015-12-12

For the library window properties, can we also get budget info? Angel


RE: skin helper service - im85288 - 2015-12-12

(2015-12-12, 21:13)Fail$tyle420 Wrote: For the library window properties, can we also get budget info? Angel

Yeah check out the RottenTomatoesBoxOffice property.


This forum uses Lukasz Tkacz MyBB addons.