2011-03-12, 05:03
Marx1 Wrote:I live in Poland, Gliwice. There are many peoples around the world that can't use weather in XBMC because of lack of another weather provider. And there are no documentation how to write such a plugin, and no developer which work on such plugin.
I was very excited reading this thread and seeing that at last there is skilled developer which could help.
If I would have an documentation how to pass parameters, I would try to write plugin - scraper which could read weather info from another service (I've already started learning python but had to stop because I didn't find info how to write weather plugin).
At first i imagine the best would be to use core weather plugin and replace only two pieces: choosing city, and scraping weather data from another provider. But I don't know if it's possible.
Another way is to extend plugin from this thread by creating interface which allow to switch weather providers (plugin for plugin). Of course not all options would be available for all providers.
That's what I've been thinking about.
I'd also like to add another weather provider to this addon.
But it's not stable version yet, so I'd like to make it more stable and then make a step on another providers.
You may edit and adjust this addon for your favorite provider.
As this addon uses default location selector which is only for weather.com, you'll need to make a new selector or modify the bulit-in one.