2019-09-13, 11:22
(2019-09-13, 00:29)jurialmunkey Wrote:(2019-09-12, 10:40)tryfos79 Wrote:(2019-09-12, 05:51)jurialmunkey Wrote: Works fine for me with an api key added to universal media scraper. More likely a coincidence that skin helper ratings populated at the same time as you disabled those settings - I cant see anywhere in skinhelper code that references universal media scraper.
Also, you can already edit the settings for metadatautils from the manage dependencies section of the skin settings - that's the whole purpose of why I have that section. It isn't possible to change individual settings in an addon directly from the skin and there are very good security reasons why such is not possible.
Ok, noted. One last question (please don't think that it's nitpicking): Regarding the IMDB number of votes shown, I see a discrepancy between the skin helper and the actual number of votes at the site. For example as we speak for the movie Godzilla: King of Monsters, IMDB shows 82.207 votes, whereas the skin helper shows 75.573. How are these figures updated? When I went in the info of the movie for a brief moment is showed only IMDB and the correct number of votes (82.207) and when everything was populated it went to 75.573. I tried refreshing and again the same.
How do we control how often are the ratings updated in the skin?
Ratings come from OMDb API. It returns the following basic info for Godzilla King of the Monsters:
json:
{"Title":"Godzilla: King of the Monsters","Year":"2019","Rated":"PG-13","Released":"31 May 2019","Runtime":"132 min","Genre":"Action, Adventure, Fantasy, Sci-Fi","Director":"Michael Dougherty","Writer":"Michael Dougherty (screenplay by), Zach Shields (screenplay by), Max Borenstein (story by), Michael Dougherty (story by), Zach Shields (story by)","Actors":"Kyle Chandler, Vera Farmiga, Millie Bobby Brown, Ken Watanabe","Plot":"The crypto-zoological agency Monarch faces off against a battery of god-sized monsters, including the mighty Godzilla, who collides with Mothra, Rodan, and his ultimate nemesis, the three-headed King Ghidorah.","Language":"English, Japanese, Chinese","Country":"USA, Japan","Awards":"N/A","Poster":"https://m.media-amazon.com/images/M/MV5BOGFjYWNkMTMtMTg1ZC00Y2I4LTg0ZTYtN2ZlMzI4MGQwNzg4XkEyXkFqcGdeQXVyMTkxNjUyNQ@@._V1_SX300.jpg","Ratings":[{"Source":"Internet Movie Database","Value":"6.2/10"},{"Source":"Rotten Tomatoes","Value":"41%"},{"Source":"Metacritic","Value":"48/100"}],"Metascore":"48","imdbRating":"6.2","imdbVotes":"75,573","imdbID":"tt3741700","Type":"movie","DVD":"06 Aug 2019","BoxOffice":"N/A","Production":"Warner Bros. Pictures","Website":"http://GodzillaMovie.com","Response":"True"}
As you can see OMDb has "imdbVotes":"75,573"
IMDb does not have a public API, so there is no way to access it data directly other than webpage scrapers which are prone to breaking. This is why skin helper uses OMDb because OMDb collects data from multiple other websites.
Ok, I understand now, so it all depends on OMDB refreshing its data, I suspect no one knows how often. But how come the universal movie scraper displays the correct IMDB votes, if it also does not use an IMDB key? This can be verified, if the skin helper is deactivated and instead UMS set for scraping. Thank you one again!