Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
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.
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
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.
Posts: 9
Joined: Jun 2009
Reputation:
0
is this API in 9.04.1 live version? cant seem to get it working with the aeon modifications
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
support was added in early june or thereabout