Release OzWeather - Australian Weather Addon using BOM data inc. animated radar support - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Weather Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=155) +---- Thread: Release OzWeather - Australian Weather Addon using BOM data inc. animated radar support (/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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
- kozak069 - 2012-02-05 bossanova808 Wrote:No errors here under Windows 7 or Openelec (linux, basically) - what platform are you on? $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.10 Release: 10.10 Codename: maverick $ uname -a Linux htpc 2.6.35-32-generic-pae #64-Ubuntu SMP Tue Jan 3 00:57:30 UTC 2012 i686 GNU/Linux $ python -V Python 2.6.6 XBMC 10.1 (Compiled: Mar 9 2011) Transparency v3.11.7 skin Oz Weather v0.3.2 - bossanova808 - 2012-02-05 Um ok, well, this is an add on for (pre) XBMC 11 only, so that might be it. Also, it's at version 0.3.4 now, so not sure why yours hasn't updated. (Also, using transparency you won't get the best bit, the radar unless you port the MyWeather.xml to transparency...and if you do, let me know so I can add it to the release!). - bossanova808 - 2012-02-08 Beta3 of XBMC is imminent. This should now incorporate the fix of the issue with the overlays not working on iOS/OSX - would be great if someone could test on those systems and let me know. - bossanova808 - 2012-02-10 Ok I can confirm radar overlays work on OSX with Beta3 at least - so I presume iOS will be the same. - GiJOr33 - 2012-02-17 Hi, I get a script error when I enter my postcode of 3000 too. I had a look in at the xbmc.log file and noticed this Code: 15:23:32 T:8564 ERROR: Error Type: <type 'exceptions.IndexError'> I've tried disabling the Oz Weather, and also uninstalling/reinstalling it. And reloading XBMC, I've also checked the weather.ozweather folders in the addons is empty before i try to reinstall but no good. I still get the script error I'm running Eden 11b3 on Windows 7 Cheers, Andy Link not working? - Manicman - 2012-02-26 Hi Guys I cannot download this app, I get the error message 404 - file not found? does anyone have an updated link so I can download this awesome addon? thanks in advance. - scotia - 2012-02-27 I agree. 404 error. I can't find the source on the google code site either. - bossanova808 - 2012-02-27 You need to grab my repo from here: http://wiki.xbmc.org/index.php?title=Unofficial_add-on_repositories Right now the actual URL is: http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/repository.bossanova808/repository.bossanova808-0.0.6.zip ..but via that page is the best way. Then you should install the repo zip and then incisde my repo you will find the latest add on. I will be submitting it to the default repo sometime as well, most likely, to make this even easier. - bossanova808 - 2012-02-27 Ok re: the 3000 error above - it works fine here, are you sure you're just typing 3000 and nothing else? It might have been a transient issue with WeatherZone, they do crop up, but usually go away again pretty quick. - bossanova808 - 2012-02-27 And finally, code is always here: https://code.google.com/p/bossanova808-xbmc-addons/ ..not sure how you could miss it? - scotia - 2012-02-27 Hmm I looked under "downloads", not "source" My bad. Thanks for the add-on! Scott - bossanova808 - 2012-02-27 No probs. script modification to handle www.weatherzone.com.au - scotia - 2012-02-27 Hi Bossa, I was having the same trouble as the chap before with a script error when searching a postcode. Bearing in mind in know very little about python... The returned url from weather zone has a www. at the front which is missing from the script. Also, unfortunately there are TWO HTML lists with class typ2, which breaks the script. It only checks one of the two lists, which is the one containing news. Because the list you want is in the "structure_middle" div I included a step before extracting the list to limit the html to just that div. The third thing is that the length of skimmed is 1, even though the search returns many results. So I changed it to the length of the locations array. To that end, I've created a patch to fix things. It has some log() calls which really shouldn't be there, feel free to remove them. I'm sure there are ten better ways to accomplish the same thing (like checking for (www\.)? at the start of the URL. I hope you don't mind me fiddling with your code. Regards Scott Code: --- default.py.dist 2012-02-27 15:49:06.000000000 +1100 - bossanova808 - 2012-02-27 Not at all, patches welcome! But what postcode was giving you errors - I check about 7 by default and I haven't hit the issue. Um....also, I am stupid with git - not immediately sure how to apply a patch can you just post the changed function as you have it now? I'll also try and learn... - scotia - 2012-02-27 Hi Bossa, and I have a feature request. The UV value is the forecast from the BOM. Is there any chance of displaying the current. I couldn't find any source on the BOM site, but there is a real time capital city reading in XML here: http://www.arpansa.gov.au/uvindex/realtime/xml/uvvalues.xml Is there any chance you could read that data in and display it alongside the forecast? Cheers, Scott |