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) |
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-07-31 TheMovieDb Helper See the WIKI on github for more details. Download https://github.com/jurialmunkey/plugin.video.themoviedb.helper Donate https://ko-fi.com/jurialmunkey RE: TheMovieDB Helper - jurialmunkey - 2019-07-31 **RESERVED** RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - sualfred - 2019-07-31 Errrrrrrrrrrr. Thank god that I've just started a proof of concept for a extendedinfo replacement on the paper and no code line was written yet. You saved me a lot of time. I'll take a look at it. Thanks! RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - sualfred - 2019-07-31 Code:
RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-07-31 (2019-07-31, 12:26)sualfred Wrote: What were you trying to do that caused this error? Or was it just opening from video add-ons? RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - sualfred - 2019-07-31 Just opening from the addons. Popular movies for example is returning this error. Btw: What is def. a must have is a select dialog for multiple results like extendedinfo does. For example if multiple actors with the same name are available. RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-07-31 Hmm. I can't recreate the error at all. Unicode errors are a pita. What version of Leia are you using? I might try a portable install and see if I can recreate the error. Yeah definitely will have a pop-up for multiple results when searching by name rather than tmdb_id. I'm hoping to try to minimize the need for look-ups by name only as much as possible though. EDIT: Are you by chance using Kodi Matrix (v19)? I'm wondering if it's a Python 3 thing. That character in the error is "é", which would be from "Pokémon Detective Pikachu" in Popular Movies. I just can't recreate the error though - I tried on Leia on both Windows and LibreElec and it works perfectly fine. RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - Edworld - 2019-07-31 Congratulations! RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - bsoriano - 2019-07-31 @jurialmunkey, this is fantastic, thanks! Will you be adding in the future other movie properties like budget and revenue? Regards, Bart RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - Edworld - 2019-07-31 (2019-07-31, 19:52)bsoriano Wrote: @jurialmunkey, this is fantastic, thanks! Will you be adding in the future other movie properties like budget and revenue?+1 Ratings for movies and tvshows would be great too. RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-08-01 (2019-07-31, 19:52)bsoriano Wrote: @jurialmunkey, this is fantastic, thanks! Will you be adding in the future other movie properties like budget and revenue? Added. ListItem.Property(budget) and ListItem.Property(revenue) Keep in mind that detailed info is only available when you "enter into" the item (i.e. the first screenshot). TMDB api only provides basic info when searching lists like Recommended. I don't want to go into SkinHelper territory of running a service, so I only call the detailed info for the item when you click on it Other properties available: ListItem.Property(Genre.X.Name) ListItem.Property(Studio.X.Name) ListItem.Property(Country.X.Name) ^ These three all provide Genre.X.ID which will be used when I implement Genre.Studio/Country look-ups (coming soon! ) For people there are: ListItem.Property(birthday) ListItem.Property(deathday) ListItem.Property(aliases) - aka "known as" ListItem.Property(role) - aka "know for" (e.g. "Actress" or "Director") ListItem.Property(born) - aka "place of birth" All also put tmdb_id as property in ListItem.Property(tmdb_id) RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-08-01 (2019-07-31, 20:19)Edworld Wrote:(2019-07-31, 19:52)bsoriano Wrote: @jurialmunkey, this is fantastic, thanks! Will you be adding in the future other movie properties like budget and revenue?+1 Script already puts TMDB rating in ListItem.Rating for the item. TMDB doesn't supply any other ratings. Though I doubt it would be that difficult to work in OMDB as well. EDIT: Oh Do you mean ListItem.MPAA? TMDB doesn't supply that. I will have to use OMDB. Looking at the API, it should be too difficult to implement though. RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - bsoriano - 2019-08-01 (2019-08-01, 00:27)jurialmunkey Wrote:@jurialmunkey , thanks!! I was planning on using those properties in the video info dialog, so I would call the plugin with "?info=item&title=$INFO[ListItem.Title]&year=$INFO[ListItem.Year]&&type=movie", correct? Given that I do not necessarily have the tmdbid for the movie.(2019-07-31, 19:52)bsoriano Wrote: @jurialmunkey, this is fantastic, thanks! Will you be adding in the future other movie properties like budget and revenue? Regards, Bart RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - Lunatixz - 2019-08-01 @jurialmunkey Your Unicode issue is here: 'v = quote_plus(str(v))' Remove 'str'... for sanity avoid using 'str'.... BTW kudos on the release. RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - jurialmunkey - 2019-08-01 (2019-08-01, 00:37)bsoriano Wrote:Yes that's correct, though you've got a double ampersand at the end there - only need one.(2019-08-01, 00:27)jurialmunkey Wrote:@jurialmunkey , thanks!! I was planning on using those properties in the video info dialog, so I would call the plugin with "?info=item&title=$INFO[ListItem.Title]&year=$INFO[ListItem.Year]&&type=movie", correct? Given that I do not necessarily have the tmdbid for the movie.(2019-07-31, 19:52)bsoriano Wrote: @jurialmunkey, this is fantastic, thanks! Will you be adding in the future other movie properties like budget and revenue? Plus I think you need to replace & with & in skin xml. You should also be able to get the tmdb_id as a property from that list to then use for other lists in the info dialog. This is the general idea of one of the main use cases. I haven't tested extensively in info dialog yet, so I'm interested in how it goes. |