2017-01-05, 19:45
(2017-01-05, 07:46)Medlir Wrote: Basically, the forecast method calls get_weather, then if it gets a response, parses it, then calls the properties method... where it checks if the data is as expected... but if it's not (results response is null) it never sets the properties storing the weather data to anything at all. And presumably then Kodi just pulls garbage data when it tries to getProperty those values, but I really still don't know where it's getting them from.
when the temperature properties are empty, kodi will set them to 0 degrees celcius.
in case you live in the Fahrenheit world, kodi converts it to 32 degrees.
if the addon fails again the next time it runs, kodi assumes the current temp is 32 degrees celcius and converts it to fahrenheit again.
repeat this a few times and it gets pretty hot pretty soon :-)