XBMC Community Forum
[RELEASE] Weather.com Plus Plugin - skinnable via the new Weather Plugin API in XBMC! - 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] Weather.com Plus Plugin - skinnable via the new Weather Plugin API in XBMC! (/showthread.php?tid=52034)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35


- Nuka1195 - 2009-06-01 16:53

[Image: settings.th.jpg]

Also skinners note. all these properties are available thru out the skin. Window(Weather).Property(Alerts) for instance


- Nuka1195 - 2009-06-04 16:20

Quote:
[weather.com plugin]

-changed: version -> 1.0.1
-changed: all color properties to return only a color name.
-changed: Weekend.%d.DepartureHighColorBegin -> Weekend.%d.DepartureHighColor
-changed: Weekend.%d.DepartureLowColorBegin -> Weekend.%d.DepartureLowColor
-removed: Weekend.%d.DepartureHighColorEnd and Weekend.%d.DepartureLowColorEnd

* see: http://forum.xbmc.org/showthread.php?tid=52034

updated plugin


- Baphomet - 2009-06-04 16:50

Looks awesome.


- Baphomet - 2009-06-04 16:52

Okay, so let me get this straight -- the Weather + plugin is a newer version of the TWC Supplemental 1.2 script? Same functionality of the TWC Script, just with a cleaner look and more functionality?


- lewis.donofrio - 2009-06-04 17:01

So how would we go about on a pure xbox running xbmc get the 'weather' link in the main page using stock skin be able to use this plugin?


- Nuka1195 - 2009-06-04 18:06

let me try.

the TWC supplemental script is a stand alone script. you need to run it to view the info and for the info to update. it is constantly running. it is not related to the plugin.

the plugin runs when ever xbmc updates weather. all it does is set's properties. these properties are available thru out the skin, but skinners need to take advantage of them. it is not a gui.

a skinner can take advantage of them eg as aeon displays info on the home screen. you could have a control that gas <visible>!IsEmpty(Window(Weather).Property(Alerts))</visible> so if an alert for your selected area came up. a button or textbox could pop up on the home screen alerting you of an alert. or it could display the radar of the selected map.

a skinner could do as i did and edit myweather.xml to display all the info. they could choose to display only a few of the views.

read the first thread, there is a link to files that will work as i did when dropped in pmiii. it is not upto date with the 1.0.1 changes, and won't look exactly as the pictures posted, but you have a start.

about xbox. i'm not current with xbox, so i don't know if it has been merged yet.


- Baphomet - 2009-06-04 18:58

It seems like your above statement would suggest the opposite of how I understand each should work (Plugin runs all the time, constantly providing updates, whereas the script runs only when it is ran from the scripts menu and stops running when exiting via the menu button).

I ran through the python scripts and the xml code looking for an answer to my fanart problems and there is no reference to fanart in the plugin code. As I stated before, the TWC script has a setting in it that allows for mapping to the weather fanart directory but since it only runs when executed from the script menu and stops running once you exit the script, it can no longer provide the location of the fanart or the updates of the weather conditions to reference the fanart for the homescreen... Does this make any sense? So what does the reference to the fanart directory in the TWC Supplemental settings actually do?

I apologize if I seem daft -- I've been working on figuring this out for days and I'm not having any success...

EDIT:

After a complete wipe and reinstall of the stable 06/01 9.0.4x BABYLON FIXED T3CH release, I got the 1.5.x script to work and now understand what the fanart in the settings was for -- It changes the backdrop of the script gui to show the current conditions based fanart... so, I guess, ummm... Thanks!


- Nuka1195 - 2009-06-09 23:38

no as i said. the plugin runs when xbmc updates weather, fills the properties and exits. leaving the properties available.

the script needs to be running for you to see the info.

now to really confuse you. if the script is run from a link on the weather window. those properties would be avialable thru out the skin even after exiting it (with the latest version) but they would only update when you run the script. confused?


"Weather Plugins support via Python Plugin" API now available in XBMC mainline SVN! - Gamester17 - 2009-06-11 13:22

Now that this "Weather Plugin API" is available in XBMC mainline SVN it would be cool to also see some alternative weather forecast sites plugins by third-party developers, for example:
weather.com
accuweather.com
weather.msn.com
HAMweather.com
Weather Underground (wunderground.com)
Intellicast (intellicast.com)
MyForecast (MyForecast.com, power by CustomWeather)
timeanddate.com (time and date.com, power by CustomWeather)

Cool


- Nuka1195 - 2009-06-11 16:48

Quote:
[weather.com plus]
-changed: version -> 1.1
-added: compatibility check
-changed: enable plugin settings
#requires XBMC revision 21010 or newer

also edited first post for the new infolabel