Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - 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 plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners (/showthread.php?tid=345847) |
RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-08-01 (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. 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:
RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - Edworld - 2019-08-01 (2019-08-01, 23:02)jurialmunkey Wrote:You can take a look at media companion for critics consensus(2019-08-01, 17:08)Edworld Wrote:(2019-08-01, 15:57)jurialmunkey Wrote: They should already be there. TMDb ratings are put into ListItem.Rating RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-08-01 Hmm I just looked at ListItem Helper. It looks like there is an undocumented argument (&tomatoes=True) to get data from RT. However, it looks like it is no longer working: Code:
EDIT: Dug a big deeper and found that it only returns the scores in xml (&r=xml) and not json for some reason. Will have to change my request approach slightly, but it shouldn't be too hard to get it from the xml instead. RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - macardi - 2019-08-02 Hi! I try to run the plugin from the videodialoginfo screen by this command "RunPlugin(plugin://plugin.video.themoviedb.helper/?info=search_movie&query=$INFO[ListItem.Title]&year=$INFO[ListItem.Year])" but the plugin comes up with a dialog telling me that I need a valid TheMovieDB API key. I have a valid key and have added this in the addon settings. Debug log Cheers Marucs RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-08-02 (2019-08-02, 15:45)macardi Wrote: Hi!It doesn't work like that. You need to put the plugin path inside the content tags of a list control. RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - chrissix666 - 2019-08-02 @jurialmunkey really nice project! Much appreciated! Really hope it's replacing ExtendedInfo soon cause it's really legacy! I read i implemented almost all over api available ratings. From my access, these only make sense with the matching votes. In Media Companion i can scrape all these InfoLabels ratings+votes, so i think it would be less problem to get the same data. or? ListItem.Ratings(metacritic) ListItem.Votes(metacritic) ListItem.Ratings(imdb) ListItem.Votes(imdb) ListItem.Ratings(themoviedb) ListItem.Votes(themoviedb) ListItem.Ratings(metacritic) ListItem.Votes(metacritic) ListItem.Ratings(tomatometerallcritics) ListItem.Votes(tomatometerallcritics) ListItem.Ratings(tomatometerallaudience) ListItem.Votes(tomatometerallaudience) ListItem.Ratings(anidb) ListItem.Votes(anidb) ____ Love it to make ratings studies in kodi after watching a movie with my friends. It's the only platform i know where i can all combine in one view. ___ I know for some of the data a api key is required but for some skins this is provided anyway. Would love you implement all available ratings and votes accessible over api. RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - Mr. V - 2019-08-03 @jurialmunkey Thank you so much for developing this. Will be the perfect addition to madnox. A quick question, when browsing plugin node i see this Clicking on any item in the list, then a movie i get this There does not seem to be an onclick action, and the script asks me to enter my TMDb id. Not sure if this is something from my end or not yet coded? RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-08-03 (2019-08-03, 03:26)Mr. V Wrote: @jurialmunkey If you get that pop-up it means you are getting a 401 error from the API which means that the API KEY you've inputted is unauthorised to access the resource. Are you sure you are entering a valid API KEY into the settings dialog? The API KEY is a different thing from a TMDb ID. Info about how to get an API KEY is here: https://developers.themoviedb.org/3/getting-started/introduction RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - beatmasterrs - 2019-08-03 Really great thing. Is there any option is planned to cache data? RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - Mr. V - 2019-08-03 (2019-08-03, 07:29)jurialmunkey Wrote:(2019-08-03, 03:26)Mr. V Wrote: @jurialmunkey I am 100% sure the api key is correct. The script is working when opening any of the movie nodes and showing me a list and artwork, it only shows the error when i click on a movie. TV shows work fine. Debug log if it helps. https://pastebin.com/ZvzqPaTK RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-08-04 (2019-08-03, 18:03)Mr. V Wrote:(2019-08-03, 07:29)jurialmunkey Wrote:(2019-08-03, 03:26)Mr. V Wrote: @jurialmunkey Hmm I'm not sure. I need to write in some error checking to get a better picture. Also, I've just done a fairly big re-write of the code, so can you check with latest and see if this issue is still occurring? RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-08-04 @chrissix See latest version (note that some calls have changed - see readme on github). plugin://plugin.video.themoviedb.helper/?info=details&type=movie&tmdb_id=348 ListItem.Labels: Title, Plot, Genre, Studio, MPAA, Country, Year, Premiered, Rating, Duration ListItem.Property(property): tmdb_id Genre.X.Name, Genre.X.ID, Studio.X.Name, Studio.X.ID, Country.X.Name, Country.X.ID birthday, deathday, aliases, role, born budget, revenue awards metacritic_rating imdb_rating, imdb_votes rottentomatoes_rating, rottentomatoes_image, rottentomatoes_consensus rottentomatoes_reviewtotal, rottentomatoes_reviewsfresh, rottentomatoes_reviewsrotten rottentomatoes_usermeter, rottentomatoes_userreviews RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - Edworld - 2019-08-04 A couple of things for your consideration: https://letterboxd.com/api-beta/ ratings from new zealand and adding critics consesnsus (media companion scrapes this and adds it to nfo as outline I believe) thanks RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-08-04 (2019-08-04, 15:14)Edworld Wrote: A couple of things for your consideration: ListItem.Property(rottentomatoes_consensus) On detailed item only. RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - Edworld - 2019-08-04 (2019-08-04, 15:32)jurialmunkey Wrote:Do you sleep?(2019-08-04, 15:14)Edworld Wrote: A couple of things for your consideration: |