Release - skin helper service

  Thread Rating:
  • 14 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gates Offline
Senior Member
Posts: 182
Joined: Jun 2010
Reputation: 3
Location: France
Post: #3556
Hi,

I tried to get poster (and art in general) from tmdb/fanart.tv for movie sets.

I've read this :
https://github.com/marcelveldt/script.sk...Movie-sets
Quote:SkinHelper.ListItem.Art.X || Artwork for the set provided by tmdb/fanarttv (replace X with arttype)

So for poster i put this :
Code:
<texture background="true">$INFO[Window(Home).Property(SkinHelper.ListItem.Art.Poster)]</texture>

The image displayed is the poster from my kodi database (generaly the poster of the first movie in the set)

I tried on my windows test machine
Kodi 17.3
SHS 1.1.17
script.module.metadatautils 1.0.9 (with my API key - [TMDB v3 auth key])

The I've seen this :
https://github.com/marcelveldt/script.sk...---Artwork
SkinHelper.ListItem.Art.Poster already exists ... and does what i get (but not what i want ^^)

I dont know if the properties are correct (same name) or if I do something wrong
find quote
VikkiXavier Offline
Senior Member
Posts: 191
Joined: Mar 2016
Reputation: 6
Post: #3557
(2017-06-17 02:44)hackademic Wrote:  AWARDS and CRITICS CONSENSUS are stiil no go though Sad

It will never get fixed. The reason why I shifted to Plex.
find quote
Angelinas Offline
Posting Freak
Posts: 969
Joined: Sep 2013
Reputation: 93
Location: Србија...бре :)
Post: #3558
(2017-06-24 17:45)VikkiXavier Wrote:  
(2017-06-17 02:44)hackademic Wrote:  AWARDS and CRITICS CONSENSUS are stiil no go though Sad

It will never get fixed. The reason why I shifted to Plex.
If this dont work for you, then you do something wrong.
With proper Apikey for Omdb all info working.
---------------------------------
SkinHelper.ListItem.X.Art.Poster

X - change to number of movie in set....

Need to be for first movie in set, second....
Code:
SkinHelper.ListItem.0.Art.Poster

XBoxMediaCenter (Kodi Krypton) 18.0 , LibreElec RasPi3 Krypton Skin AeonMQ6
(This post was last modified: 2017-06-24 19:19 by Angelinas.)
find quote
gates Offline
Senior Member
Posts: 182
Joined: Jun 2010
Reputation: 3
Location: France
Post: #3559
Hi Angelinas,

SkinHelper.ListItem.X.Art.Poster =/= SkinHelper.ListItem.Art.X

https://github.com/marcelveldt/script.sk...Movie-sets

[Image: yncSsWl.png]

But this property ( SkinHelper.ListItem.Art.X) is also described here :
https://github.com/marcelveldt/script.sk...---Artwork

I did some more test, and I get the movie sets poster (from fanart.tv) only if i have no poster for this entry in kodi database.

by default kodi defined poster and fanart for each new movie sets (based on the 1st movie on the set).
So fo this 2 art type we can't get info from tmdb/fanart.tv, unless manually remove all of them from the kodi database

Marcel,
is there a way to force the online search for movie collection ?


is there a script / addon to manage art for movie sets like script.artwork.downloader ?
find quote
Edworld Offline
Posting Freak
Posts: 1,218
Joined: Sep 2014
Reputation: 9
Location: Michigan
Post: #3560
(2017-06-24 18:59)Angelinas Wrote:  If this dont work for you, then you do something wrong.
With proper Apikey for Omdb all info working.

audience score too?

edit: not seeing consensus
(This post was last modified: Yesterday 16:31 by Edworld.)
find quote
VikkiXavier Offline
Senior Member
Posts: 191
Joined: Mar 2016
Reputation: 6
Post: #3561
@Angelinas - you must belong to some utopian world because marcel's wiki still clearly states "critic consensus from rotten tomatoes [no longer available]" "No. of user reviews on rotten tomatoes [no longer available]" "user rating from rotten tomatoes [no longer available]" etc etc
find quote
marcelveldt Offline
Skilled Skinner
Posts: 8,092
Joined: Jul 2014
Reputation: 326
Location: The Netherlands
Post: #3562
(Yesterday 19:29)VikkiXavier Wrote:  @Angelinas - you must belong to some utopian world because marcel's wiki still clearly states "critic consensus from rotten tomatoes [no longer available]" "No. of user reviews on rotten tomatoes [no longer available]" "user rating from rotten tomatoes [no longer available]" etc etc

They are indeed no longer available.
Some of the info might still be in the cache but atm this info is dropped from OMDB API.
Maybe it will return but for now it doesn't and you won't find the info elsewhere because RT now charges big money for access to that data.
find quote
Angelinas Offline
Posting Freak
Posts: 969
Joined: Sep 2013
Reputation: 93
Location: Србија...бре :)
Post: #3563
Awords working,critics not....
Who read critics for movie from other people , when this movie is alredy in his own library.

Beter stay on plex

XBoxMediaCenter (Kodi Krypton) 18.0 , LibreElec RasPi3 Krypton Skin AeonMQ6
find quote
pkscout Online
Posting Freak
Posts: 1,809
Joined: Jan 2011
Reputation: 65
Location: Honolulu, HI
Post: #3564
OK, I'm gonna feel stupid if this is something easy, but for the last couple of days I've been trying to figure out how to display the poster art and TV Series plot on TV Timer Rules screen with a modified version of Estuary. I got the poster no problem, and I can see that the scrapper gets the other metadata. But using Window(Home).Property(SkinHelper.ListItem.Plot) works inconsistently.

For any series for which I setup a recording when using Kodi 16, Window(Home).Property(SkinHelper.ListItem.PlotOutline) properly shows the plot of the TV Show. But for any series recording I've setup in Kodi 17, Window(Home).Property(SkinHelper.ListItem.PlotOutline) either shows the plot of the next airing episode or is blank. I confirmed this by deleting one of my series recordings and then recreating it. When I did that the behavior changed.

It's like something in the new series recordings with Kodi 17 change the way the Kodi ListItem.Plot works. Or maybe it's just how the NextPVR plugin is sending stuff. Anyway, to avoid this, I was hoping I could find some way to just add an infolabel called something like SkinHelper.ListItem.TVShowPlot that wouldn't conflict with the internal Kodi stuff, but after hours of sifting through code, I can't for the life of me figure out where to do that or how. I'm hoping someone can help or point me in the right direction.

Thanks.

Providing a debug log: http://kodi.wiki/view/Log_file/Easy

Add-ons I maintain:
Artist Slideshow: Add-on:Artist_Slideshow (wiki)
SpeedFan Information Display: Add-on:SpeedFan_Information_Display (wiki)
find quote
Edworld Offline
Posting Freak
Posts: 1,218
Joined: Sep 2014
Reputation: 9
Location: Michigan
Post: #3565
marcelveldt:

moviedb question: The way I have it implemented it displays 7.4 instead of 74% as displayed in their web page. I there anything I can do to display 74%?

anything you can do to display tvshow ratings from tmdb?

TIA
find quote
Maaarv Offline
Donor
Posts: 114
Joined: Feb 2015
Reputation: 0
Location: Germany
Post: #3566
(2017-06-17 02:44)hackademic Wrote:  
(2017-06-16 15:11)axbmcuser Wrote:  What API key will i need to get back RottenTomatoes ratings? A TMDB API key or an OMDB API key? Confused. Big Grin
Thanks!

You need to have an OMDB API Key.
You should donate 1USD to https://www.patreon.com/bePatron?u=5038490.
And then request your pesonal key via email http://www.omdbapi.com/apikey.aspx

Don't forget to delete your simplecache.db

Rotten Tomatoes, IMDB and Metacritic are confirmed working.
Flixter ratings is not working.

AWARDS and CRITICS CONSENSUS are stiil no go though Sad

I hope it gets fixed on the next update.

Can someone tell me please where exactly I have to put my OMDb API key?
I can't seem to find any addon settings for skin helper service in Kodi or any xml-file line that needs to be changed.
(This post was last modified: Today 10:01 by Maaarv.)
find quote
Gracus Online
Moanbag
Posts: 1,245
Joined: Jun 2016
Reputation: 42
Location: Saint-Brieuc, France
Post: #3567
(Today 09:59)Maaarv Wrote:  
(2017-06-17 02:44)hackademic Wrote:  
(2017-06-16 15:11)axbmcuser Wrote:  What API key will i need to get back RottenTomatoes ratings? A TMDB API key or an OMDB API key? Confused. Big Grin
Thanks!

You need to have an OMDB API Key.
You should donate 1USD to https://www.patreon.com/bePatron?u=5038490.
And then request your pesonal key via email http://www.omdbapi.com/apikey.aspx

Don't forget to delete your simplecache.db

Rotten Tomatoes, IMDB and Metacritic are confirmed working.
Flixter ratings is not working.

AWARDS and CRITICS CONSENSUS are stiil no go though Sad

I hope it gets fixed on the next update.

Can someone tell me please where exactly I have to put my OMDb API key?
I can't seem to find any addon settings for skin helper service in Kodi or any xml-file line that needs to be changed.

Settings/system/addons/manage dependencies

Then you will find where to put your key in the settings of "metadata and artwork module" dependency

Moanbag is in da place!
find quote
gates Offline
Senior Member
Posts: 182
Joined: Jun 2010
Reputation: 3
Location: France
Post: #3568
Quote: Settings/system/addons/manage dependencies

Then you will find where to put your key in the settings of "metadata and artwork module" dependency

You can also edit addon\script.module.metadatautils\setting.xml from your userdata folder.
Useful for LibreElec for example, when you can't copy/paste from kodi GUI
find quote
Gracus Online
Moanbag
Posts: 1,245
Joined: Jun 2016
Reputation: 42
Location: Saint-Brieuc, France
Post: #3569
(Today 12:23)gates Wrote:  
Quote: Settings/system/addons/manage dependencies

Then you will find where to put your key in the settings of "metadata and artwork module" dependency

You can also edit addon\script.module.metadatautils\setting.xml from your userdata folder.
Useful for LibreElec for example, when you can't copy/paste from kodi GUI

Thanks for the information

As i use kodi on windows, I was not aware of some other OS limitation

Moanbag is in da place!
find quote
pkscout Online
Posting Freak
Posts: 1,809
Joined: Jan 2011
Reputation: 65
Location: Honolulu, HI
Post: #3570
(Today 02:27)pkscout Wrote:  It's like something in the new series recordings with Kodi 17 change the way the Kodi ListItem.Plot works. Or maybe it's just how the NextPVR plugin is sending stuff. Anyway, to avoid this, I was hoping I could find some way to just add an infolabel called something like SkinHelper.ListItem.TVShowPlot that wouldn't conflict with the internal Kodi stuff, but after hours of sifting through code, I can't for the life of me figure out where to do that or how. I'm hoping someone can help or point me in the right direction.

Finally answered my own question. It took a bit more digging to figure out how Skin Helper was loading all the scraper data for TV Shows and how it prioritized stuff in Kodi already. Once I did, I added three lines of code to listitem_monitory.py (in the section commented as "monitor listitem props when PVR is active")
Code:
extinfo = details.copy()
extinfo['plot'] = ''
details['ExternalPlot'] = self.get_pvr_artwork(extinfo, prefix)['plot']

This technically means get_pvr_artwork is run twice, but since everything is cached, I figured it was a very low impact activity. I haven't tried, but I think this would work for movies as well.

Providing a debug log: http://kodi.wiki/view/Log_file/Easy

Add-ons I maintain:
Artist Slideshow: Add-on:Artist_Slideshow (wiki)
SpeedFan Information Display: Add-on:SpeedFan_Information_Display (wiki)
find quote
Post Reply