Ok folks I have finished stage 1 of the Krypton re-write. It should now be a lot more compatible with Krypton (and other skins in general), whilst retaining Jarvis compatibility.
@
RB0135 - this release also adds test support for the 'night' icons. Let me know how it goes!
It's a very substantial change, basically a re-write, so I'd like to get some other folks to test it before I get it pushed to the Kodi master repo.
You can get the release here:
https://github.com/bossanova808/weather..../0.8.4.zip ...just unzip that over your existing ozweather addon.
If you could test operation of the addon both in setting settings, and in weather updates, that would be appreciated - please report back here!! Obviously any crashing should be reported, but also missing data or images. Missing data should mostly come up as "?". If you experience anything odd/missing, please provide me the region & radar code you're using (postcode ideally!).
Here's the changelog:
V0.8.4 - Test only release
- Re-Write for Krypton
- Set more of the new weather labels
- Backwards compatibly for Jarvis
- 3 separate unit-testable scraper modules created (BOM, Weatherzone, ABC Video)
- Each scraper is unit testable independent of Kodi for easier development in future
- Remove parsedom dependency, scrape using beautifulsoup4
- Use requests module vs. older methods
- Use caching for significant speed improvements on 2nd and subsequent weather updates
- Add .gitginore for .pyo, .pyc, and test outputs
- Set appropriate icons for night time weather (after sunset, before sunrise)