Posts: 106
Joined: May 2010
Reputation:
0
I think it would be good to use AccuWeather as an option, as it seems to have considerably more cities in all countries..
on XBMC 10.1 Dharma
Ubuntu 10.04.1 LTS - XBMCLive
from FreeNAS 8.0-Release
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
yes, we support weather add-ons. badly documented though i'm sure, should be some examples out in the wild.
Posts: 369
Joined: Jan 2011
Reputation:
3
2011-01-10, 16:46
(This post was last modified: 2011-01-10, 16:53 by Marx1.)
OK i see in settings of weather that there can be different provider from weather.com. I click "get more" but nothing happens. Can you please be more specific about how to add another provider of weather data?
I see sth about xbmc.python.weather but no example exist.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
that's the where. but nobody has written any other services, so you first have to write yourself one...
Posts: 369
Joined: Jan 2011
Reputation:
3
2011-01-10, 21:02
(This post was last modified: 2011-01-10, 22:24 by Marx1.)
I'm programmer but I completely don't know how to start. First I don't know if I need plugin or script (I suspect script because plugin has his own menu). I've read I need to learn python - no problem. But I need example of such a script, no weather script exists so I need any other script which is most similair to weather script.
Edit: Ok i defined XML with entrypoint and i see in XBMC my script. It was easy. Now I need to know how weather script provides content. Does it completely replace weather.com and so I need to make GUI?
Posts: 2,145
Joined: Jul 2008
Reputation:
12
Weather.gov should provide more than enough information in about any format you want.
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Posts: 369
Joined: Jan 2011
Reputation:
3
I know this thread. I downloaded XBMC4XBOX-Weather.zip, but this plugin in one year old and doesn't fit Dharma. It's full featured plugin with his own GUI and doesn't use xbmc.python.weather extension point. I hope using this extensions point allow to only pass data and doesn't need to make GUI