Weather Plugin API Announcement - New "Weather Plus" support for skins via plugins!
#1
Information 
http://forum.xbmc.org/showthread.php?p=3...post344505

If any skinner have any questions, please post in the linked thread above!

Examples (screenshots from modded PM3.HD skin):

Image Image Image Image Image
Reply
#2
Thumbs Up 
This "Weather Plugin API" is available in XBMC mainline SVN now! Great work Nuka1195! Cool

I wish that XBMC skinners will begin to pick this up soon Wink

Everyone can read more about this new "Weather Plugins support via Python Plugins" API here:
http://forum.xbmc.org/showthread.php?p=344505

Note that this is something that skinners first needs to add to their skins for it to work! Nod

PS! Know that this "Weather Plugin API" is not limited to weather.com as third-party developers can also write plugins for alternative weather forecast sites such as example:
weather.com
accuweather.com
weather.msn.com
HAMweather.com
Weather Underground (wunderground.com)
Intellicast (intellicast.com)
MyForecast (MyForecast.com, power by CustomWeather)
timeanddate.com (time and date.com, power by CustomWeather)

Again, for more information see:
http://forum.xbmc.org/showthread.php?p=344505

Big Grin
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
The problem with this and yes it may be nice is it requires people to add in third party scrapers for it to work.
So adding it to skins will make skins not work for default users unless they go and fetch the extended weather plugin and install it.
And then we have the issue of since the default values are different skins that use the default weather.com plugin won't show any info because they have the extended one selected.

The problem with not having these sorts of things built into the default and why having a limited amount of default values is good. Sure from weather.com you may be able to get more info (like nuka's plugin) but all the other sites (and countries) may lack it totally. So does this mean we need a new skin window for every users extended plugin just so it actually displays the right (and all) info?

From a skin point of view (especially the default XBMC skins PM3) its safer to go with the limited info we know will always be there than rely on the user installing a third party thing.
Reply
#4
did you look at the example skin?

skinners could do a conditional include maybe using !IsEmpty(Weather.Plugin). if it's empty include a standard weather.xml.

i separated each view into their own file. i also named properties as generic as i thought would work.

plugin writers should stick to these property names as much as possible. eg i named the 10 day properties Daily.1.LongDay. so if a particular plugin only had 7 days. it would still work if skinned properly. i named hour by hour "Hourly.1.Time" these include 15 minute increments for us, but still easily works

there is no way to have a set of certain property names. too many variables. but i beleive there is a way to skin for this new feature.

i really don't care if pmiii or pm3d includes any of this, but you might want to consider the maps section as i would think most weather info would have that.

this probably is better suited for modders, but with careful programming skinners and scripters should be able to set info consistantly.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#5
FYI; Nuka1195 has released a mod for Aeon that uses this new Weather Plugin API in XBMC and the Weather.com Plus Plugin for the API, see:
http://forum.xbmc.org/showthread.php?tid=54368

Cool
Reply
#6
is this API in 9.04.1 live version? cant seem to get it working with the aeon modifications
Reply
#7
Live 9.04.1 was released late may so may have just missed the boat, do a search for updating live to svn and you will be good to go Rich Smile
Reply
#8
support was added in early june or thereabout
Reply
#9
cheers dean / spiff

will get live to update to svn once those issues on the front page have been sorted out (its on the blog that it isnt so stable right now)...

Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Weather Plugin API Announcement - New "Weather Plus" support for skins via plugins!0