Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
#56
(2019-08-05, 19:31)mikeSiLVO Wrote: Hi @jurialmunkey Started playing around with this and I am getting an error in the log for the latest on GitHub whenever the plugin runs.

Code:
ERROR: EXCEPTION Thrown (PythonToCppException) :
-->Python callback/script returned the following error<--
NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (most recent call last):
File "C:\Program Files\Kodi (Matrix)\portable_data\addons\plugin.video.themoviedb.helper\main.py", line 452, in <module>
    run_plugin()
File "C:\Program Files\Kodi (Matrix)\portable_data\addons\plugin.video.themoviedb.helper\lib\apis.py", line 21, in decorated
    time_diff = cached_time - current_time
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
-->End of Python script error report<--

If I revert THIS COMMIT then there is no error.

Thanks.

Whoops! Didn't account for having no cached last used time.
Should be fixed now. Can you test and confirm?
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-08-06, 00:18
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2