[RELEASE] The Weather Channel (TWC) - Supplemental Script - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Weather Add-ons (/forumdisplay.php?fid=155)
+---- Thread: [RELEASE] The Weather Channel (TWC) - Supplemental Script (/showthread.php?tid=40338)
[RELEASE] The Weather Channel (TWC) - Supplemental Script - Nuka1195 - 2008-11-14 05:19
here is a script that displays addition forecasts and maps from weather.com
it's in the addons svn. you can grab it with the SVN repo installer.
Image Gallery - Click Here
- jmarshall - 2008-11-14 19:50
- shizzle - 2008-11-15 00:36
pure awsomeness =)
- Nuka1195 - 2008-11-15 00:44
Revision 276 fixes the weekend forecast and some minor skin tweaks and adds a autorefresh for maps
cool, one bug one feature request =) - jeffbacon - 2008-11-15 19:28
Looks great. Just installed it on my xbox (Ottawa, Canada).
- bug: There's no hour-by-hour forecast available on weather.com for Ottawa and when I select that tab it freezes.
(edit: now it works for me, I assumed there was no data and that's why it was freezing but I guess it just froze for some other reason)
- feature request: since I'm in Canada I'd like to be able to view the temp in C and wind in Km per hour vs the F and MPH default
- jeffbacon - 2008-11-15 19:32
Also, if I'm on the weekend forecast and I press the down key on my remote, the focus moves off the top tab bar but onto nothing and I have to exit the script as I can never get the focus to return to anything on the screen.
... actually, same w 36-hour forecast
- Nuka1195 - 2008-11-15 19:36
i'll check out the 36 hour, but weekend has a button it moves to. toggles details/outlook.
plus a fix for weekend is coming shortly. friday doesn't show when it's saturday. i imagine saturday won't show on sunday.
about the F or C, i only display what weather.com gives. maybe if you give me the formulas, i would consider converting things. not sure though.
edit: ok navigation is broken, will fix.
- jeffbacon - 2008-11-15 19:56
there's a 'metric' link on the Ottawa, Canada weather network page so there must be some way to source the C data directly but the conversion formula is:
°C = 5/9(°F-32)
- Nuka1195 - 2008-11-16 00:15
ok i missed it, but that would be better. i'll see later.
for now weekend is fixed.
navigation is still broken, don't go down except on the map page. if a skinner reads this could you have a look. i have no idea what it's doing. thanks.
- Nuka1195 - 2008-11-16 00:24
the good news is once you have the metric source it scrapes the same. but there is no difference in the url that i can see.
so if you figure out how to grab the correct page, your set.
- Spc4 - 2008-11-16 02:03
Is there a download?
- Nuka1195 - 2008-11-16 02:49
It's in svn the addons svn, but if anybody uses osx, it's broken in svn.
i have a fix, but need to test it.
use the svn repo installer to grab it or svn client, link in first post
- Nuka1195 - 2008-11-16 04:00
OSX now works.
here is the svn installer.
- jeffbacon - 2008-11-16 16:24
Nuka1195 Wrote:the good news is once you have the metric source it scrapes the same. but there is no difference in the url that i can see.
When you click the English/Metric link it sets cookie values. My cookie is:
The links call a JS function named setUserPreferences:
5 -> English(0) vs Metric (1)
But I can't see where the others are used. There must be an included script that generates the weather summaries that uses them. I assume they represent temp (C=1/F=0), wind (mph=0/kph=1), visibility (miles=0/km=1), and pressure (mb=1/in=0).
- rwparris2 - 2008-11-16 16:29
This script is awesome, especially with PM3.HD integration