2003-11-16, 16:48
2003-11-21, 00:27
i had suggested this in xbmp, and i would still love to see it in xbmc, but i don't think anyone else had much interest in it.
http://sourceforge.net/tracker....d=64793
but weather.com does have an xml interface in to their database, and publishes their interface at
http://www.weather.com/services/oap.html?
from=servicesindex
you just sign up and get a free licence code from them. you can also download their sdk at http://download.weather.com/web/xml/sdk.zip which includes a short pdf on how to use the xml feed as well as all the graphics for various weather conditions.
http://sourceforge.net/tracker....d=64793
but weather.com does have an xml interface in to their database, and publishes their interface at
http://www.weather.com/services/oap.html?
from=servicesindex
you just sign up and get a free licence code from them. you can also download their sdk at http://download.weather.com/web/xml/sdk.zip which includes a short pdf on how to use the xml feed as well as all the graphics for various weather conditions.
2003-11-23, 18:45
this would rock the casbah!
especially if you could have it display the detailed info you can view when you go to their webpage so you could see an hourly breakdown of the weather.
it would also be cool if you could set a default zip code but still be able to check weather in other zipcodes (using the keyboard interface to input it).
especially if you could have it display the detailed info you can view when you go to their webpage so you could see an hourly breakdown of the weather.
it would also be cool if you could set a default zip code but still be able to check weather in other zipcodes (using the keyboard interface to input it).
2003-11-23, 21:02
i think this would be pointless bloat, it has nothing to do with xbmc's purpose of playing media.
2003-11-23, 22:09
(poing @ nov. 23 2003,20:02 Wrote:i think this would be pointless bloat, it has nothing to do with xbmc's purpose of playing media.hmm. it kind of have as much to do with it as a tvguide since you cant watch tv on the box...
a weather guide can show us if we should sit and play/watch movies or go outside in the sun without having to look outside...
2003-11-25, 17:02
also, xbmc/xbmp can act as a dashboard, which means i turn on my stereo switch over to the already running xbox, select "weather" and i can see what the weather will be like today and whether i should bother taking my raincoat/umbrella, or if its shorts and sandals weather, etc.
it would also be neat if it could get the surfing conditions so i know if i should get up early the next morning to go surfing. the same could be said for skiers and snow.
so while it doesn't meet with the "media player" side of things, xbmc is a media "center" and also a dashboard. so anything useful like this should be added if the developers/a developer like the idea.
it would also be neat if it could get the surfing conditions so i know if i should get up early the next morning to go surfing. the same could be said for skiers and snow.
so while it doesn't meet with the "media player" side of things, xbmc is a media "center" and also a dashboard. so anything useful like this should be added if the developers/a developer like the idea.
2004-01-10, 10:08
i think you have a great idea. i would love to see somthing similar to that. if python matures enough, it wouldn't be too hard to do. hmmm now i need to start looking into python. only thing i don't like about python is that its neat freak . but still powerful enough to do lot of these things.
2004-01-25, 02:55
thanks for the idea... i made a simple python script to download current weather conditions and display them on your screen. the ui isn't great, but it works.
Quote:#display weather forecast on your xbox
########enter your zip code###########
zipcode = '94025'
import sys, urllib, string, urlparse, re, xbmc, xbmcgui
#will parse out text between given tag
def parsexml( line, tag ):
result= re.search('<' + tag + '>.*' + tag + '>', line, re.dotall)
try:
if result.group(0):
mod = string.replace(result.group(0), '<' + tag + '>','')
mod = string.replace(mod, '</' + tag + '>', '')
mod = string.lstrip(mod)
return mod
except:
return
url = 'http://www.rssweather.com/rss.php?config=&forecast=zandh&zipcode=' + zipcode + '&alt=rss20a'
data = urllib.urlopen(url)
currentline= data.read()
itemdivide= string.split(currentline, '<item>')
place= parsexml(itemdivide[0], 'title')
i=1
items= len(itemdivide)
dayforecast=[]
forecast=[]
while i < items:
check=parsexml(itemdivide[i], 'category')
if check=="current conditions":
time=parsexml(itemdivide[i], 'pubdate')
ctemp=parsexml(itemdivide[i], 'description')
if check=="weather forecast":
forecast.append(parsexml(itemdivide[i],'description'))
dayforecast.append(parsexml(itemdivide[i], 'title'))
i=i+1
# now we have all the parts we need so display to the user
dialog= xbmcgui.dialog()
dayforecast.insert(0, 'exit')
dayforecast.insert(0, 'current temperature: ' + ctemp)
dayforecast.insert(0, 'information from: ' + time)
selected= dialog.select(place, dayforecast)
if selected < 3:
print 'quitting..'
else:
dialog.ok(dayforecast[selected],forecast[selected-3])
2004-01-25, 14:47
there is something called superkaramba for unix flavored os-es. it allows tiny (scripted) programs make your desktop more beautifull by adding things like clocks, systeminfo and weatherinfo on your desktop.
i'm not a python guru but i use this "liquid weather ++" script for superkaramba on my freebsd machine and it works great. it displays the weather in you own location (it's configurable through a gui) and it lools very nice. i don't have the time or the python knowledge to pick this up but perhaps someone else will.
check this url for screenshots and the files:
http://www.kde-look.org/content/show.php?content=6384
i'm not a python guru but i use this "liquid weather ++" script for superkaramba on my freebsd machine and it works great. it displays the weather in you own location (it's configurable through a gui) and it lools very nice. i don't have the time or the python knowledge to pick this up but perhaps someone else will.
check this url for screenshots and the files:
http://www.kde-look.org/content/show.php?content=6384
2004-02-02, 15:41
why not implement a weather info like this in mythtv?
http://mythtv.sf.net/mc/mweather1.png
http://mythtv.sf.net/mc/mweather2.png
http://mythtv.sf.net/mc/mweather3.png
http://mythtv.sf.net/mc/mweather5.png
http://mythtv.sf.net/mc/mweather1.png
http://mythtv.sf.net/mc/mweather2.png
http://mythtv.sf.net/mc/mweather3.png
http://mythtv.sf.net/mc/mweather5.png
2004-02-02, 19:09
hi,
i'm currently working on a weather bit for xbmc. it currently looks like this:
my weather
it'll hopefully be fully working in a week or so. after that i'll be looking for ideas and suggestions for improving it and if people would prefer a multi-window approach like in mythtv then i'll give it a go.
i'm currently working on a weather bit for xbmc. it currently looks like this:
my weather
it'll hopefully be fully working in a week or so. after that i'll be looking for ideas and suggestions for improving it and if people would prefer a multi-window approach like in mythtv then i'll give it a go.
2004-02-02, 19:40
(mynci @ feb. 02 2004,17:09 Wrote:hi,wow looks great. but i guess it will be us only ?
i'm currently working on a weather bit for xbmc. it currently looks like this:
my weather
it'll hopefully be fully working in a week or so. after that i'll be looking for ideas and suggestions for improving it and if people would prefer a multi-window approach like in mythtv then i'll give it a go.
2004-02-02, 20:14
nope,
anywhere covered by weather.com should be fine and they seem to cover everywhere.
anywhere covered by weather.com should be fine and they seem to cover everywhere.
2004-02-03, 02:29
hey when your done can i have a look at your source? i want to try my hand at this coding for the box, and your getting your info off weather.com rss stream right? whitch is right up my ally for what i want to do.
just don't know where to begin so if i have a good example to look at.
just don't know where to begin so if i have a good example to look at.