Can you use Yahoo's Api?
http://developer.yahoo.com/weather/#terms
Palvarez
Junior Member Posts: 3 Joined: Nov 2011 Reputation: 0 |
2011-11-06 04:22
Post: #11
|
| find quote |
Sranshaft
Posting Freak Joined: Dec 2008 Reputation: 19 Location: Melbourne, Australia |
2011-11-06 09:19
Post: #12
Palvarez Wrote:Can you use Yahoo's Api? Sure could and this is really where, as Spiff suggested, removing weather from the main core of XBMC and moving it to addons would shine. That way XBMC, as a whole, isn't tied to one specific weather source and the user can choose where to fetch the information depending on what they feel offers the best forecasts for their particular location.
(This post was last modified: 2011-11-07 00:01 by Sranshaft.)
|
| find quote |
jimk72
Senior Member Posts: 148 Joined: Jan 2005 Reputation: 0 |
2011-11-06 23:17
Post: #13
Sranshaft Wrote:Oh, I fully realize that. Just giving an example of how easy it is to grab the info from Google. I'm sure someone with a little more knowledge in C++ wouldn't have any trouble at all converting it. I will def look into it. I have all the code inplace for weather.com so it should be just a matter of adjusting to the new file downloaded. Thanks! |
| find quote |
PatrickBateman
Posting Freak Posts: 1,643 Joined: Mar 2011 Reputation: 15 Location: Another Earth |
2011-11-07 18:00
Post: #14
@spiff
Is there any indication as to when this will be removed from xbmc or in the mean time is there any known workaround to allow users to disable the weather from sending requests as it's currently searching for requests causing "busy" to appear and those requests are obviously using the old non Functioning Api. Because of this network activity I receive a small but annoying amount of slowdown when navigating the home screen. Are there any work arounds I could use form the time being.. If this is a skin related issue, just ignore this as I have also posted a request in the skin thread regarding removal of weather too. Thanks in advance, Win7 Xbmc pre Eden nighties 5th nov Default weather plugin |
| find quote |
locomot1f
Fan Posts: 435 Joined: Mar 2011 Reputation: 1 Location: ohio |
2011-11-07 23:15
Post: #15
or even accuweather.com
yeah, lots of choices! |
| find quote |
Rygrath
Fan Posts: 365 Joined: Oct 2010 Reputation: 7 |
2011-11-08 00:09
Post: #16
PatrickBateman Wrote:@spiff Credit to ReducedToZero for finding this. The quick fix is to modify the relevant bit of guisettings.xml to look like Code: Code: <weather>Just open up guisettings.xml, search for "<weather>" and erase the info that's in there to make it look like the above. Basically you're removing the settings for the built-in weather app which should cause XBMC from looking up the info. Being the Dev forum, probably not the best place to post "how-to's", but thought people will be looking here quite a bit for an answer to that question. Apologies if it's out of place. |
| find quote |
hentai23
Fan Joined: Sep 2010 Reputation: 0 Location: another universe ..it would seem xD |
2011-11-09 01:32
Post: #17
let me know yall once we get the weather back and fully workin with weather plus addon, cause atm i only get complete weather forecast with the 7 day option -.-'
and sometimes the temperatures arent correct -.-' |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2011-11-09 10:50
Post: #18
https://github.com/xbmc/xbmc/pull/530
changes needed to current add-ons; there's no internal area codes any longer - it's all up to the addon. this means 1) it has to set the property 'Locations' to the number of configured locations. 2) it has to always set all locations as properties 'Location1' 'Location2' 'Location3' etc. this also taps into the current localization stuff for weather. this means that your strings should be according to id's 11-17, 71-89, 370-395, 1396-1450 temperatures need to be returned in celsius, as a straight number new info label: current.winddirection. thus, current.wind should be a straight number in kmh, and winddirection 'N/S/E/W/SW/etc'. change in parameters: instead of passing in the area code as argv[1] in the addon, it now only passes a number, e.g. '2'. this means the second location. accuweather 503'd my ass after some dev'ing so i couldn't test it with a "real" add-on, just my script.weatherminus hack
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. |
| find quote |
Sranshaft
Posting Freak Joined: Dec 2008 Reputation: 19 Location: Melbourne, Australia |
2011-11-09 10:58
Post: #19
Excellent work Spiff! We should hopefully see an increase in weather-type addons. Thank a lot mate.
|
| find quote |
hentai23
Fan Joined: Sep 2010 Reputation: 0 Location: another universe ..it would seem xD |
2011-11-09 15:48
Post: #20
i sure hope somebody releases an killer weather addon , i want weather back !!! -.-'
they really fd up with the move they made -.-' |
| find quote |


![[Image: watched-fanart.jpg]](http://trakt.tv/user/Sranshaft/widget/watched-fanart.jpg)

Search
Help