[RELEASE] Weather.com Plus Plugin - skinnable via the new Weather Plugin API in XBMC!

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Nuka1195 Offline
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #11
[Image: settings.th.jpg]

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

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
(This post was last modified: 2009-06-01 17:00 by Nuka1195.)
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #12
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

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Baphomet Offline
Junior Member
Posts: 38
Joined: Feb 2009
Reputation: 0
Post: #13
Looks awesome.
(This post was last modified: 2009-06-04 16:54 by Baphomet.)
find quote
Baphomet Offline
Junior Member
Posts: 38
Joined: Feb 2009
Reputation: 0
Post: #14
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?
find quote
lewis.donofrio Offline
Senior Member
Posts: 122
Joined: Feb 2009
Reputation: -10
Post: #15
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?
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #16
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.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Baphomet Offline
Junior Member
Posts: 38
Joined: Feb 2009
Reputation: 0
Post: #17
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!
(This post was last modified: 2009-06-07 03:53 by Baphomet.)
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #18
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?

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Thumbs Up  "Weather Plugins support via Python Plugin" API now available in XBMC mainline SVN! Post: #19
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

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
Nuka1195 Offline
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #20
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

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Post Reply