Kodi Community Forum
[RELEASE] Weather Plus Addon - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- 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 Plus Addon (/showthread.php?tid=95329)



- brightsr - 2011-06-23 16:57

[UPDATED] v.2.2.0
- Fixed : Weather.com Forecast Video
- Added : Video Selection available for US locations (settings->general->video->select regional or local, regional is default)
- Changed properties :
Code:
video : selected video based on addon's settings. (regional or local)
video.regional : regional forecast video (if n/a, national forecast video)
video.local : local forecast video



- hams1000 - 2011-06-24 13:16

brightsr Wrote:Thanks for your report.
Weather.com changed video file address and type. (flv->mov)
I'm going to update soon.


Thanks fellow New Englander! Tongue


- dallasnights - 2011-06-25 01:13

not working on the newest XBMC 10.09 that my system just updated on ATV2
Darn it, any fix anyone

Thanks all


- werwer - 2011-06-26 19:54

brightsr,

thanks for add the .zip file!!

I will try it this evening and let you know!!


- brightsr - 2011-06-28 14:38

dallasnights Wrote:not working on the newest XBMC 10.09 that my system just updated on ATV2
Darn it, any fix anyone

Thanks all

if any errors, please post your log.


- dallasnights - 2011-06-28 14:43

Sorry I will when I get home tonight so you can look at it


- dallasnights - 2011-06-29 02:27

Here is the error log on ATV2 10.09 XBMC, hope you can fix thank you

19:25:16 T:266969088 M: 69259264 NOTICE: [PLUGIN] 'Weather Plus: Version - 2.2.0-r' initialized!
19:25:16 T:266969088 M: 69255168 NOTICE: ** Found XBMC Revision: r0 [Unknown] **
19:25:17 T:133910528 M: 69099520 DEBUG: ------ Window Init (MyWeather.xml) ------
19:25:17 T:133910528 M: 69099520 INFO: Loading skin file: MyWeather.xml
19:25:18 T:266969088 M: 72298496 NOTICE: [Weather.com+] Alternative Provider Selected : NOAA
19:25:19 T:263372800 M: 82116608 DEBUG: DoWork - took 734 ms to load special://masterprofile/Thumbnails/b/b7371618.jpg
19:25:22 T:266969088 M: 76382208 NOTICE: [Weather.com+] Area code =
19:25:22 T:266969088 M: 76382208 NOTICE: []
19:25:22 T:266969088 M: 76382208 INFO: -->Python script returned the following error<--
19:25:22 T:266969088 M: 76374016 ERROR: Error Type: <type 'exceptions.IndexError'>
19:25:22 T:266969088 M: 76374016 ERROR: Error Contents: list index out of range
19:25:22 T:266969088 M: 76365824 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/default.py", line 41, in <module>
Main()
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/xbmcplugin_weather.py", line 87, in __init__
self._noaa_36_forecast()
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/xbmcplugin_weather.py", line 708, in _noaa_36_forecast
alerts, alertsrss, alertsnotify, alertscolor, alertscount, forecasts, extras, video, video_local = self.WeatherClient.noaa_36_forecast("")
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/WeatherClient.py", line 1995, in noaa_36_forecast
parser = NOAA_Forecast36HourParser( htmlSource, htmlSource_2, self.translate )
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/WeatherClient.py", line 921, in __init__
self._get_forecast( htmlSource, htmlSource_2 )
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/WeatherClient.py", line 966, in _get_forecast
if (days_10day[0] == "Tonight" or days_10day[0] == "Overnight"): ampm = 1
IndexError: list index out of range
19:25:22 T:266969088 M: 76365824 INFO: -->End of Python script error report<--
19:25:22 T:133910528 M: 76361728 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
19:25:22 T:266969088 M: 76251136 INFO: Python script stopped
19:25:22 T:266969088 M: 76247040 DEBUG: Thread Python Thread 266969088 terminating
19:25:22 T:133910528 M: 75837440 DEBUG: waiting for python thread 1 to stop
19:25:22 T:133910528 M: 75845632 DEBUG: python thread 1 destructed
19:25:27 T:133910528 M: 75845632 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
19:25:29 T:264802304 M: 76189696 DEBUG: DoWork - took 394 ms to load special://masterprofile/Thumbnails/4/42b0b3ff.jpg
19:25:32 T:133910528 M: 76156928 INFO: Python, unloading python shared library because no scripts are running anymore
19:25:40 T:263372800 M: 74190848 DEBUG: DoWork - took 372 ms to load special://masterprofile/Thumbnails/c/c0cf1ac7.jpg
19:25:44 T:133910528 M: 74194944 INFO: CheckIdle - Closing session to http://xoap.weather.com (easy=0xa8fe000, multi=0xbfa0d40)
19:25:47 T:133910528 M: 73961472 INFO: CheckIdle - Closing session to http://www.google.com (easy=0xa728000, multi=0x0)
19:25:51 T:264802304 M: 74289152 DEBUG: DoWork - took 364 ms to load special://masterprofile/Thumbnails/f/fb8be951.jpg
19:26:02 T:263372800 M: 74231808 DEBUG: DoWork - took 365 ms to load special://masterprofile/Thumbnails/5/50482c5e.jpg
19:26:13 T:264802304 M: 74055680 DEBUG: DoWork - took 246 ms to load special://masterprofile/Thumbnails/0/079c8948.jpg
19:26:17 T:133910528 M: 76230656 DEBUG: SECTION:UnloadDll(libcurl.4.dylib)
19:26:17 T:133910528 M: 76222464 DEBUG: Unloading: libcurl.4.dylib


- brightsr - 2011-06-29 14:26

dallasnights Wrote:Here is the error log on ATV2 10.09 XBMC, hope you can fix thank you

19:25:16 T:266969088 M: 69259264 NOTICE: [PLUGIN] 'Weather Plus: Version - 2.2.0-r' initialized!
19:25:16 T:266969088 M: 69255168 NOTICE: ** Found XBMC Revision: r0 [Unknown] **
19:25:17 T:133910528 M: 69099520 DEBUG: ------ Window Init (MyWeather.xml) ------
19:25:17 T:133910528 M: 69099520 INFO: Loading skin file: MyWeather.xml
19:25:18 T:266969088 M: 72298496 NOTICE: [Weather.com+] Alternative Provider Selected : NOAA
19:25:19 T:263372800 M: 82116608 DEBUG: DoWork - took 734 ms to load special://masterprofile/Thumbnails/b/b7371618.jpg
19:25:22 T:266969088 M: 76382208 NOTICE: [Weather.com+] Area code =
19:25:22 T:266969088 M: 76382208 NOTICE: []
19:25:22 T:266969088 M: 76382208 INFO: -->Python script returned the following error<--
19:25:22 T:266969088 M: 76374016 ERROR: Error Type: <type 'exceptions.IndexError'>
19:25:22 T:266969088 M: 76374016 ERROR: Error Contents: list index out of range
19:25:22 T:266969088 M: 76365824 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/default.py", line 41, in <module>
Main()
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/xbmcplugin_weather.py", line 87, in __init__
self._noaa_36_forecast()
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/xbmcplugin_weather.py", line 708, in _noaa_36_forecast
alerts, alertsrss, alertsnotify, alertscolor, alertscount, forecasts, extras, video, video_local = self.WeatherClient.noaa_36_forecast("")
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/WeatherClient.py", line 1995, in noaa_36_forecast
parser = NOAA_Forecast36HourParser( htmlSource, htmlSource_2, self.translate )
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/WeatherClient.py", line 921, in __init__
self._get_forecast( htmlSource, htmlSource_2 )
File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/WeatherClient.py", line 966, in _get_forecast
if (days_10day[0] == "Tonight" or days_10day[0] == "Overnight"): ampm = 1
IndexError: list index out of range
19:25:22 T:266969088 M: 76365824 INFO: -->End of Python script error report<--
19:25:22 T:133910528 M: 76361728 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
19:25:22 T:266969088 M: 76251136 INFO: Python script stopped
19:25:22 T:266969088 M: 76247040 DEBUG: Thread Python Thread 266969088 terminating
19:25:22 T:133910528 M: 75837440 DEBUG: waiting for python thread 1 to stop
19:25:22 T:133910528 M: 75845632 DEBUG: python thread 1 destructed
19:25:27 T:133910528 M: 75845632 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
19:25:29 T:264802304 M: 76189696 DEBUG: DoWork - took 394 ms to load special://masterprofile/Thumbnails/4/42b0b3ff.jpg
19:25:32 T:133910528 M: 76156928 INFO: Python, unloading python shared library because no scripts are running anymore
19:25:40 T:263372800 M: 74190848 DEBUG: DoWork - took 372 ms to load special://masterprofile/Thumbnails/c/c0cf1ac7.jpg
19:25:44 T:133910528 M: 74194944 INFO: CheckIdle - Closing session to http://xoap.weather.com (easy=0xa8fe000, multi=0xbfa0d40)
19:25:47 T:133910528 M: 73961472 INFO: CheckIdle - Closing session to http://www.google.com (easy=0xa728000, multi=0x0)
19:25:51 T:264802304 M: 74289152 DEBUG: DoWork - took 364 ms to load special://masterprofile/Thumbnails/f/fb8be951.jpg
19:26:02 T:263372800 M: 74231808 DEBUG: DoWork - took 365 ms to load special://masterprofile/Thumbnails/5/50482c5e.jpg
19:26:13 T:264802304 M: 74055680 DEBUG: DoWork - took 246 ms to load special://masterprofile/Thumbnails/0/079c8948.jpg
19:26:17 T:133910528 M: 76230656 DEBUG: SECTION:UnloadDll(libcurl.4.dylib)
19:26:17 T:133910528 M: 76222464 DEBUG: Unloading: libcurl.4.dylib

you didn't select a location for NOAA.


- mrfatboy - 2011-07-02 16:42

dnairb Wrote:I have discovered a minor issue with the GUI - due to user error mainly, but it may be fixable. It is regarding the use of remote left/right buttons when viewing Current Conditions, 36 Hour Forecast and Weekend Forecast:

Current Conditions: "left" opens the settings pop-out thingy, "right" loses focus and navigation is impossible with remote.
36 Hour Forecast: Same as Current Conditions above
Hourly Forecast: "left" opens the settings pop-out thingy, "right" brings focus to the scrollbar, navigation OK with remote.
Weekend Forecast: Same as Current Conditions above
10 Day Forecast: Works OK - Same as Hourly forecast above


Nice work on the add-on. I just installed it and immediately ran into the above problem. Did the GUI issues ever get resolved?

Also, this addon breaks my Cover Flow mod for Confluence. Is there a way for both addons to peacefully coexist?

I'm on the Windows version of XBMC (Darma)

thanks


- dallasnights - 2011-07-02 18:58

on ATV2 XBMC 10.09

All works except Weekend and Maps and Video

When I go into log this is all it shows me can someone help me

11:54:00 T:115634176 M: 77860864 ERROR: GetDirectory - Error getting /var/mobile/weather/na/

using confluence skin BTW


- dnairb - 2011-07-03 23:28

dnairb Wrote:I have discovered a minor issue with the GUI - due to user error mainly, but it may be fixable. It is regarding the use of remote left/right buttons when viewing Current Conditions, 36 Hour Forecast and Weekend Forecast:

Current Conditions: "left" opens the settings pop-out thingy, "right" loses focus and navigation is impossible with remote.
36 Hour Forecast: Same as Current Conditions above
Hourly Forecast: "left" opens the settings pop-out thingy, "right" brings focus to the scrollbar, navigation OK with remote.
Weekend Forecast: Same as Current Conditions above
10 Day Forecast: Works OK - Same as Hourly forecast above

mrfatboy Wrote:Nice work on the add-on. I just installed it and immediately ran into the above problem. Did the GUI issues ever get resolved?

Also, this addon breaks my Cover Flow mod for Confluence. Is there a way for both addons to peacefully coexist?

I'm on the Windows version of XBMC (Darma)

thanks

I posted a solution a while back: it involves editing various .xml files: http://forum.xbmc.org/showpost.php?p=739789&postcount=39


- mrfatboy - 2011-07-03 23:33

dnairb Wrote:I posted a solution a while back: it involves editing various .xml files: http://forum.xbmc.org/showpost.php?p=739789&postcount=39


Great! Thanks, I will have to try that out. What do you think about the Coverflow incompatibility?


- brightsr - 2011-07-04 01:45

dallasnights Wrote:on ATV2 XBMC 10.09

All works except Weekend and Maps and Video

NOAA is not supporting weekend, maps and video.

Maps and video are available only from weather.com


- KidVulcan - 2011-07-07 09:34

Hi,
I'm having an issue where it seems to not be able to update to a newer ver. I keep on getting "update failed"


- brightsr - 2011-07-07 18:25

KidVulcan Wrote:Hi,
I'm having an issue where it seems to not be able to update to a newer ver. I keep on getting "update failed"

please try this one : http://xbmc-addons.googlecode.com/files/weather.weatherplus.zip