Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
#31
(2019-08-01, 17:08)Edworld Wrote:
(2019-08-01, 15:57)jurialmunkey Wrote:
(2019-08-01, 14:29)Edworld Wrote: I was referring to numerical ratings (9.0,9.4,etc). Media companion provides them for movies and tvshows.

They should already be there. TMDb ratings are put into ListItem.Rating

I've now also added support for OMDb so can get Awards, IMDb, RT and Metacritic for the ?info=item plugin path.
ListItem.Property(Rating.Metacritic)
ListItem.Property(Rating.RottenTomatoes)
ListItem.Property(Rating.IMDB)
ListItem.Property(Awards)

Can you add critics consensus and rottentomatoesaudience?

OMDb doesn't provide that info.
I'm not sure where listitem.helper gets it from - I will have to have a look at it and see.

This is what OMDb returns:
Code:

{
"Title": "Alien: Covenant",
"Year": "2017",
"Rated": "R",
"Released": "19 May 2017",
"Runtime": "122 min",
"Genre": "Horror, Sci-Fi, Thriller",
"Director": "Ridley Scott",
"Writer": "Dan O'Bannon (based on characters created by), Ronald Shusett (based on characters created by), Jack Paglen (story by), Michael Green (story by), John Logan (screenplay by), Dante Harper (screenplay by)",
"Actors": "Michael Fassbender, Katherine Waterston, Billy Crudup, Danny McBride",
"Plot": "The crew of a colony ship, bound for a remote planet, discover an uncharted paradise with a threat beyond their imagination, and must attempt a harrowing escape.",
"Language": "English",
"Country": "USA, UK",
"Awards": "1 win & 12 nominations.",
"Poster": "https://m.media-amazon.com/images/M/MV5BYzVkMjRhNzctOGQxMC00OGE2LWJhN2EtNmYyODRiMDNlM2ZmXkEyXkFqcGdeQXVyMTMxODk2OTU@._V1_SX300.jpg",
"Ratings": [
{
"Source": "Internet Movie Database",
"Value": "6.4/10"
},
{
"Source": "Rotten Tomatoes",
"Value": "66%"
},
{
"Source": "Metacritic",
"Value": "65/100"
}
],
"Metascore": "65",
"imdbRating": "6.4",
"imdbVotes": "229,316",
"imdbID": "tt2316204",
"Type": "movie",
"DVD": "15 Aug 2017",
"BoxOffice": "$74,255,908",
"Production": "20th Century Fox",
"Website": "http://www.foxmovies.com/movies/alien-covenant",
"Response": "True"
}
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply


Messages In This Thread
RE: TheMovieDB Helper - by jurialmunkey - 2019-07-31, 11:47
RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - by jurialmunkey - 2019-08-01, 23:02
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2