2019-09-07, 04:10
(2019-09-07, 03:18)jurialmunkey Wrote:(2019-09-07, 02:43)edjalmo Wrote:(2019-09-07, 00:38)jurialmunkey Wrote: I don't see any errors in that log? Where are the errors?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
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 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.
Understand!
If you manually add a fallback language they will take more time to load only if user are in a language that no have text? If the answer is yes, I think is better take a little more time to load and get text, than load more fast and get nothing.