[RELEASE] OzWeather - Australian Weather Addon using BOM data
pan2
Senior Member Posts: 191 Joined: Apr 2011 Reputation: 0 |
2013-05-22 08:20
Post: #331
I just dumped my version of your myweather.xml into Aeon Nox just to check and it works fine without any additions. Just needs a few adjustments with positions and font sizes as you said. You do lose the side panel though. I think Aeon-Nox is sufficiently different to other skins that it is hard to adapt bits from other skins to it
(This post was last modified: 2013-05-22 08:56 by pan2.)
|
| find quote |
bossanova808
Member+ Joined: Sep 2009 Reputation: 20 Location: Melbourne, Australia |
2013-05-23 01:06
Post: #332
Well happy to put any cleaned up Nox version in the wiki if anyone has time to knock it up. But I am super busy @ work right now so no chance of me doing it for a while.
My XBMC stuff: ...inc: |
| find quote |
pan2
Senior Member Posts: 191 Joined: Apr 2011 Reputation: 0 |
2013-05-23 06:35
Post: #333
The OzWeather add-on is great mate. A most unusual problem does occur for me and I have no idea why. If I decide to put the date beside days 1 to 7 for instance, I use the following code (this for day 3):
$INFO[Window(Weather).Property(Daily.3.ShortDate)] In OzWeather it doesn't show up; however, if I switch over to Weather Underground, I lose the radar (naturally) but the dates appear for all the days. If I then switch back to OzWeather, the radar is back and the dates remain until I restart. They then disappear again. In fact any attempt to use that code in a home screen label fails to show while using OzWeather. Any idea why?
(This post was last modified: 2013-05-23 06:40 by pan2.)
|
| find quote |
pan2
Senior Member Posts: 191 Joined: Apr 2011 Reputation: 0 |
2013-05-24 05:03
Post: #334
Have worked out the problem. Would you be able to add script to oz weather so that the following works in xml scripts. I think it's done in the python default, so maybe add that as a text in pastebin would be good
![]() $INFO[Window(Weather).Property(Daily.%i.ShortDay)] $INFO[Window(Weather).Property(Daily.%i.LongDay)] $INFO[Window(Weather).Property(Daily.%i.ShortDate)] $INFO[Window(Weather).Property(Daily.%i.LongDate)] |
| find quote |
bossanova808
Member+ Joined: Sep 2009 Reputation: 20 Location: Melbourne, Australia |
2013-05-30 03:20
Post: #335
Sorry, didn't see this one - my emails notifications aren't coming through for some reason.
It's not as easy as that - one needs the code to convert the day (retrieved from Weatehrzone actually) - and the from there come up with the property texts before setting those properties (whcih is what your snippet does). This would be en excellent learning python thing for you - my advice is clone my repo: https://code.google.com/p/ozweather/ ...work out the code, then submit a pull request. I'll be happy to merge it in. Hint - the code you are looking around is around line 398 of default.py But right now I have no dev time to spare for XBMC sorry ![]() Good luck! My XBMC stuff: ...inc: |
| find quote |
pan2
Senior Member Posts: 191 Joined: Apr 2011 Reputation: 0 |
2013-05-30 03:55
Post: #336
http://pastebin.com/YkT2dknt
Simpler to just give you the modified default.py Here is a shot of the final:
|
| find quote |
bossanova808
Member+ Joined: Sep 2009 Reputation: 20 Location: Melbourne, Australia |
2013-05-30 06:00
Post: #337
Easier for you maybe
![]() Will merge and push. Thanks. My XBMC stuff: ...inc: |
| find quote |
emptyhead
Junior Member Posts: 28 Joined: Jul 2011 Reputation: 0 |
2013-06-01 12:33
Post: #338
pan2 could you share your modified file for Aeon Nox?
|
| find quote |



Search
Help