You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it maybe possible to fix the weather module? Since a couple of years now the weather module is broken, no matter what area code you put in, it just keeps 'initializing'.
I love Maraschino and it still works flawless with the latest Kodi, so it would be great if this was fixed :)
The text was updated successfully, but these errors were encountered:
So after digging around in the code of weatherfeed.py and looking at the wxdata returned from weather.com it seems the script hangs at line 113 because the d tag returned from wxdata which normally contains the direction is now empty. Commenting out those lines seems to fix the script;
if subelem.nodeName == 'd':
self.currentConditions["bar"]["direction"] = subelem.firstChild.data
I also noticed that city name is no longer classified in the obst tag, but rather in the dnam tag. So changing line 85
if elem.nodeName == 'obst':
self.currentConditions["cityname"] = elem.firstChild.data
to
if elem.nodeName == 'dnam':
self.currentConditions["cityname"] = elem.firstChild.data
solves that problem aswell.
Hope this helps someone who still uses maraschino.
Is it maybe possible to fix the weather module? Since a couple of years now the weather module is broken, no matter what area code you put in, it just keeps 'initializing'.
I love Maraschino and it still works flawless with the latest Kodi, so it would be great if this was fixed :)
The text was updated successfully, but these errors were encountered: