Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(2019-09-07, 04:11)jurialmunkey Wrote:
(2019-09-07, 01:04)bsoriano Wrote: I will try installing Leia in one of my machines and see if the behavior is different.

I just installed latest Matrix nightly and it works fine for me there too, so not a Matrix issue.

What language do you have set in TMDbHelper settings?

Can you confirm that the title of the item in the list matches the main title?          
@jurialmunkey , thanks, you are correct, it is not a Matrix issue, since I get the same behavior in Leia.  I have set the language to English (United States of America).  The title of the item in the list matches the main title as far as I can see.

I have no idea about what is going on.  Obviously it is a skin problem, since in the Leia install I just did from scratch, when I switch to Arctic Zephyr 2 it works exactly as expected, the exclusions work.

I also noticed in my skin that on first use of the plugin (pressing I on an item from one of the plugin widgets), I don't get all custom lists, in particular I don't get the cast.  I have to press I on another movie and then I get the cast.  Also, I don't understand why my code is so slow when showing online information.  You have to wait quite a few seconds for the cast to appear, whereas in your skin the cast is already there from the first second.

I tested right now by quitting Kodi, deleting the log, deleting simplecache.db, to force the plugin to go online for info, restarted Kodi and pressed i on It: Chapter Two (I have In-Theater movies as the widget for the Movies main menu item).  I did not get a cast.  Container 50 has no items, my custom cast panel has no items, even though the content path for the panel is correct (ListItemAbsolute(1).FolderPath for the hidden list from the details call for this movie).  I don't get it.  The log looks normal:

php:

2019-09-07 09:03:03.183 T:23408  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... api.themoviedb.org/3/movie/474350?api_key=5e54cbb01927216a9583925bec1bf265&language=en-US&include_image_language=en,null&append_to_response=credits,images,release_dates,content_ratings,external_ids
2019-09-07 09:03:03.680 T:21164  NOTICE: [plugin.video.themoviedb.helper]
                                            Must specify either &tmdb_id= &imdb_id= &query=: info=crew_in_movies&type=person&filter_key=job&filter_value=Director&query=&exclude_key=title&exclude_value="It: Chapter Two"!
2019-09-07 09:03:03.685 T:2016  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... api.themoviedb.org/3/movie/474350/similar?api_key=5e54cbb01927216a9583925bec1bf265&language=en-US&include_image_language=en,null&append_to_response=credits,images,release_dates,content_ratings,external_ids
2019-09-07 09:03:03.693 T:17484   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.themoviedb.helper/?info=crew_in_movies&type=person&filter_key=job&filter_value=Director&query=&exclude_key=title&exclude_value="It: Chapter Two"
2019-09-07 09:03:04.132 T:22072  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... api.themoviedb.org/3/movie/474350/recommendations?api_key=5e54cbb01927216a9583925bec1bf265&language=en-US&include_image_language=en,null&append_to_response=credits,images,release_dates,content_ratings,external_ids
2019-09-07 09:03:04.258 T:23408  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... www.omdbapi.com/?apikey=e19acc66&tomatoes=True&plot=Full&r=xml&i=tt7349950
2019-09-07 09:03:05.791 T:12088  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... api.themoviedb.org/3/discover/movie?api_key=5e54cbb01927216a9583925bec1bf265&language=en-US&include_image_language=en,null&append_to_response=credits,images,release_dates,content_ratings,external_ids
2019-09-07 09:03:06.378 T:12008  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... api.themoviedb.org/3/discover/movie?api_key=5e54cbb01927216a9583925bec1bf265&language=en-US&include_image_language=en,null&primary_release_year=2019&append_to_response=credits,images,release_dates,content_ratings,external_ids
2019-09-07 09:03:06.378 T:5768  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... api.themoviedb.org/3/discover/movie?api_key=5e54cbb01927216a9583925bec1bf265&language=en-US&include_image_language=en,null&append_to_response=credits,images,release_dates,content_ratings,external_ids
2019-09-07 09:03:08.441 T:22316  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... api.themoviedb.org/3/movie/474350/credits?api_key=5e54cbb01927216a9583925bec1bf265&language=en-US&include_image_language=en,null&append_to_response=credits,images,release_dates,content_ratings,external_ids
2019-09-07 09:03:08.896 T:22316 WARNING: Invalid media type "actor"

(I took out the http:// from the log lines so you could see the whole calls being made)

I know this is perhaps too much to ask, but could you please take a look at my code when you have a chance and let me know some pointers of what I could do differently or where you see I am making mistakes that would lead to this poor performance or the issue with the exclusions? The relevant code is in DialogVideoInfo.xml, Includes_Info.xml, the other variables are in Includes_Variables.xml, and my versions of the tmdb info and tmdb reload are Custom_1128_TMDB_PersonInfo.xml and Custom_1129_TMDB_InfoReload.xml.  Thanks a lot for your continued help and support.

Regards,

Bart
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 bsoriano - 2019-09-07, 14:47
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2