Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(2019-09-07, 02:43)edjalmo Wrote:
(2019-09-07, 00:38)jurialmunkey Wrote:
(2019-09-06, 20:02)edjalmo Wrote: Here they not show, but I'm getting errors with this plugin. I started Kodi, open a movie with Mads Mikkelsen and click on him, check if my logs say something: https://pastebin.com/HqUE7LZa

I don't see any errors in that log? Where are the errors?

What is your language setting in TMDbHelper?

It is possible that your simplecache.db became corrupted or when the info was cached there wasn't a bio available for some reason.
You can try deleting simplecache.db whilst kodi is closed from:
userdata/addon_data/script.module.simplecache/simplecache.db

I only recommend deleting simplecache.db as a last resort, because it is used by multiple plugins/script and will cause cache refreshes for all of them.

I need to add a cache refresh function for a specific entry in my plugin so that doing the above is not necessary.  
I can see erros when I click for search people in add-on or popular people. The search for movies and tv show work. Check logs with I doing this: https://pastebin.com/Smf3ptaE

I use Portuguese Brazil language in add-on. I checked Mads Mikkelsen page in TMDb and not exist portuguese Brazil translation of his biography. I changed add-on language to English (EUA) and still not seeing his biography, but his movies titles still show with portuguese Brazil titles, so I imagine that they're cached. You use english as a fallback language if not exist infos in user language? Maybe this is the problem...

Okay I can see the error there about unicode. I'll look into a fix, but that's not really related.

If there isn't info in the language that you are using on TMDb then that field will be empty. The requests are cached in simplecache for 14 days, so even if you change the language it won't update (which is one of the reasons why I need to add an option to refresh the cached item).

TMDb API doesn't provide any way to set a fallback language:
https://www.themoviedb.org/talk/5abe2eff...uage=en-US

If I manually forced a fallback then I would need to make two requests every time, which would double the time the plugin takes to retrieve any list or info.
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-09-07, 03:18
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2