XBMC Community Forum
[RELEASE] OzWeather - Australian Weather Addon using BOM data - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Weather Add-ons (/forumdisplay.php?fid=155)
+---- Thread: [RELEASE] OzWeather - Australian Weather Addon using BOM data (/showthread.php?tid=116905)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


- fastdump - 2012-01-20 02:42

Thanks bossanova808. I noticed the WeatherZone down dialog last night when I updated on my main XBMC machine late last night. All is looking great and I've even added your suggested national radar map as my 3rd location... Cheers! Big Grin


- bossanova808 - 2012-01-20 05:41

Yeah I had a stab at more locations but I think it's hard coded to 3 right now, need to dig around in the actual source code. Might just be the location control is the issue, so I could pop a custom one in. I reckon 6 would be ideal, maybe 3 radars (128, 512 and national) for 'home' and 3 other locations round the country....or maybe integrate the wunderground code to support some international destinations tooConfused I dunno, depends on how much time I have - will do the ABC 90 second weather video next though.


- bossanova808 - 2012-01-20 13:53

Pushed V0.3 - now has a link to ABC Weather in 90 Seconds in the left menu - thanks to some code from Weather+. Is also more robust again with WeatherZone issues...


- bossanova808 - 2012-01-22 07:01

Eden Beta2 integrates my mainline patch to extend forecast support to 7 days for all weather plugins....and also breaks my hack fix for this that I had in place for Beta1

I have a fix (i.e. I have removed the hack) - but I won't push it probably until beta2 is more widely available, openelec pvr versions etc. as that is what I use...which shouldn't be long I'd say.


- bossanova808 - 2012-01-22 07:28

Actaully looks like Windows is in, plus Openelec dailys at least, that's good enough

You'll need to use the latest the MyWeather.xml included.

(I am planning on a better system for this - one permanent change to MyWeather.xml and have it somehow include the add on's current MyWeather.xml permanently...


- blaher - 2012-01-25 08:49

I'm using Oz.weather 0.3.1 and Eden Beta 2

Is the Brisbane Radar code http://www.bom.gov.au/products/IDR663.loop.shtml?

I put in IDR663, but the script fails. When I turn off the extended part it all works well, but I noticed this in the log:

16:13:37 T:3872 ERROR: Texture manager unable to load file: special://home/userdata/addon_data/weather.ozweather/radarbackgrounds//legend.png
16:13:37 T:3872 ERROR: Texture manager unable to load file: special://home/userdata/addon_data/weather.ozweather/radarbackgrounds//background.png
16:13:37 T:3872 ERROR: Texture manager unable to load file: special://home/userdata/addon_data/weather.ozweather/radarbackgrounds//topography.png
16:13:37 T:3872 ERROR: Texture manager unable to load file: special://home/userdata/addon_data/weather.ozweather/radarbackgrounds//catchments.png
16:13:37 T:3872 ERROR: Texture manager unable to load file: special://home/userdata/addon_data/weather.ozweather/radarbackgrounds//range.png
16:13:37 T:3872 ERROR: Texture manager unable to load file: special://home/userdata/addon_data/weather.ozweather/radarbackgrounds//locations.png


Edit: I tried the National Radar IDR00004 and got:

NOTICE: OzWeather-0.3.1 Exception: Error, couldn't retrieve IDR.legend.0.png - error: [[Errno ftp error] [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions]
16:54:37 T:7104 NOTICE: OzWeather-0.3.1 Exception: Error, couldn't retrieve IDR00004.background.png - error: [[Errno ftp error] [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions]

Turns out peerblock was blocking BOM for the Radar bit, but not the normal forecast. Smile


- bossanova808 - 2012-01-25 11:18

Ok so you're all good then?

There's a very minor update 0.3.2 I think, but I think it was an ever so slightly tweaked MyWeather.xml, that's all...nothing major.

Or maybe that was the version with the ABC video in the left menu...can't recall!

Might as well update, anyway!


- fastdump - 2012-01-26 03:31

I think your 0.3.2 update just fixed display of icons for all seven days of the forecast, post Eden beta 2 - at least, that's what I seemed to notice since installing B2, then 0.3.2.


- blaher - 2012-01-26 04:06

bossanova808 Wrote:Ok so you're all good then?

There's a very minor update 0.3.2 I think, but I think it was an ever so slightly tweaked MyWeather.xml, that's all...nothing major.

Or maybe that was the version with the ABC video in the left menu...can't recall!

Might as well update, anyway!

Yup, all good, thanks. IDR663 works fine for Bris Vegas, and it updated itself automatically to 0.3.2

Happy Australia Day and thanks for your hard work. Smile


- bossanova808 - 2012-01-26 04:55

No probs.

And fastdump, yep that was it. I have modified my dialogseekbar.xml (if you're using it) because I realise it gets in the way of subtitle download etc, so I will work on that, and also a method for changing MyWeather.xml just once and getting it to pull the current xml file direct from the skin folder....but have to catch up on some other stuff, this took longer than planned Wink


- Troyp42 - 2012-01-29 04:41

Hey mate I updated the YouTube add on today with update that was available, to get it working with Eden beta2. But since I I've done this my ozweather doesn't work at all. I get a script failed error.

Any ideas why this could be? I can post my log file if you need it??

Cheers


- bossanova808 - 2012-01-29 05:19

That will be the update to the parsedom scraper thingy I think - it comes with the YouTube add on. Very harndy but they have changed some names around etc. It should in theory still use the old version I thought, but apparently not. I'll look into it.


- bossanova808 - 2012-01-29 05:23

(BTW this was expected as ParseDom is not promised to be stable until Eden final so until then it may be a bit up and down but I suspect most changes are in place already


- bossanova808 - 2012-01-29 06:03

0.3.4 just pushed has the fix. I've also removed the radar from DialogSeekBar until (if) I can work out a way to force it to re-read the images from the path so it updates properly, and I've moved the mini-forecast to a spot out of the way of Download Subtitles etc.


- Troyp42 - 2012-01-29 07:28

That fixed it. Thanks heaps.