Kodi Community Forum
Modding the source of weatherdata - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Modding the source of weatherdata (/showthread.php?tid=4491)



- Petzku - 2004-07-06

we were trying to modify the weather function to look for the weatherdata from a custom site. but we couldn't find where is the particular piece of code that does the fetching operation.

we found a weather.py script from the source package that seemed to do the fetching -but- when compared to a readily compiled release (wam) of the 1.0 there was only one weather.py in the scripts folder but it was some user submitted script and not the one in the sources archive.

so if some kind soul could spare a little time and give a hint what to mod and where to make xbmc to fetch weatherdata from an alternate location, it would be highly appreciated.

petzku


- Butcher - 2004-07-06

guiwindowweather.cpp
check cguiwindowweather::download