2019-08-06, 00:18
(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?