NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) Weather / Weather2 v
1 2 3 Next »
Weather 2 Wishlist

 
  • 0 Vote(s) - 0 Average
Weather 2 Wishlist
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#71
2013-01-19, 04:42 AM
You are probably not doing it wrong. I might have messed it up attempting to get both alerts and warning working. I'll try to take a look at this on Monday or Tuesday and see if I can fix it.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#72
2013-01-25, 12:16 AM
whurlston Wrote:I'm aware of the alerts issue. I was able to fix one type of alert by modifying Plugins\Weather\Config\sources.xml and replacing the "AlertNodes" tag with the following:

Code:
        <AlertNodes>
            <Node>//div[@class='panel-body-lt']/div[@class='panel-body-rt']/div[@class='panel-body']/div[@class='panel-body-content']/div[@class='tab-panel']/div[@class='content awx-story']</Node>
        </AlertNodes>

This however AFAIK will only give you alerts and not warnings. I haven't had any warnings to test parsing those.

Some changes to the plugin are on my todo list that will allow for better parsing but I'm not sure when I will get to it.

I just retested this and I am indeed getting the alerts. It only works if this is the only <Node> line in <AlertNodes> though. If it isn't working or if you experience a severe weather warning, please zip and post the following file:

Code:
Plugins\Weather\config\[Some long GUID]\alert_source.html
Snooze
Offline

Posting Freak

Posts: 905
Threads: 26
Joined: Feb 2009
#73
2013-01-25, 02:02 AM
Yes that fixed the alert. I must have messed up the XML the first time I tried it. Thanks for getting back to this.
[SIZE="1"]Gigabyte GA-EP45-UD3R, Win8, Core 2 Duo E8400 3.0GHz, 6 GB (2GBx2, 1GBx2) DDR2 800, GIGABYTE GV-N220OC-1GI Video, CM Real Power Pro 550 Watt PS, HVR-2250 & HVR-1600 analog/Clear QAM, Realtek S/PDIF, Harmony 880 in MCE remote mode w/ Gestion LM Remote Keymap.
NPVR 2.5.9 (SAF6) Cyberlink video & LAV/ffdshow Audio Filters. Skin=Default Horizontal
Plugins: Weather
External Apps: XBMC, Hulu, Boxee, Winamp
Utilities:Comskip[/SIZE]
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#74
2013-01-26, 12:22 AM
@whurlston:

Tried the fix, but doesn't work for me. The alert-source html is attached, and I think I can see why it doesn't work. The alert link doesn't go the alert text, but instead to a "story" about the alert. Compare to the small craft advisory (assuming it is still there when you get to this). Not sure what can be done about something like this.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#75
2013-01-26, 02:03 AM
mikeh49 Wrote:@whurlston:

Tried the fix, but doesn't work for me. The alert-source html is attached, and I think I can see why it doesn't work. The alert link doesn't go the alert text, but instead to a "story" about the alert. Compare to the small craft advisory (assuming it is still there when you get to this). Not sure what can be done about something like this.

I see the problem. The alert you are getting is under "/div[@class='info']" instead of "/div[@class='content awx-story']". Adding this as a second node will not work. It looks like the plugin was coded when accuweather was supplying all nodes even if they were empty but they are no longer doing that. So the plugin is erroring when one of the alert nodes is missing. I'll see what I can do to fix that.
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#76
2013-01-28, 12:25 AM
@whurlston:
Here are a couple more alert.html files from today. The one for Sheboygan does not work in Weather (cannot parse error), but the one for Minneapolis does. Note that the advisory text in the one for Minneapolis is "expanded" when the file is opened in a broweser, but the one for Sheboygan is not. I don't know if this helps, but it is more data.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
Fuji
Offline

Junior Member

Posts: 1
Threads: 0
Joined: Jan 2014
#77
2014-01-10, 09:23 PM
I'm seeing the same behavior as in post #53 on a fresh install of Win7 and nPVR 3.1.1.
I tried the weather.dll in post #64 but get the same behavior.

Any chance I could get the "weather ecosystem" noted in post #66 or other suggestions?Smile

Thanks.
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#78
2014-01-10, 10:04 PM
Check your PM. The zipped Weather folder system is 1.6MB for some reason. I'll try to send it there.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,229
Threads: 140
Joined: Sep 2004
#79
2014-02-13, 09:51 PM
Sorry guys, trying to work out what patches I need to add to the basic file from the Wiki. Could someone PM me the patches?

Also, can anyone explain this apparent error from the logs. The weather.resource.dll doesn't seem to exist.

- Weather, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null
2014-02-13 21:28:15.561 [DEBUG][1] Looking for missing assembly(1): C:\Users\Public\NPVR\Plugins\Weather\Weather.resources.dll
2014-02-13 21:28:15.561 [DEBUG][1] Looking for assembly in (2) C:\Users\Public\NPVR\Plugins\common\Weather.resources.dll
2014-02-13 21:28:15.561 [DEBUG][1] Looking for assembly in (3) C:\Program Files (x86)\NPVR\Plugins\common\Weather.resources.dll

Many thanks.
NPVR Version= 7.0.2.250621
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#80
2014-02-13, 10:04 PM
Ignore those.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (9): « Previous 1 … 5 6 7 8 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Weather V1.0.1.0 Notes scb147 1 11,019 2011-03-31, 04:22 PM
Last Post: rkircher
  Weather Plugin with NPVR Blue Racer 6 7,509 2010-10-01, 06:31 PM
Last Post: Blue Racer
  Weather V1.0.0.2 Notes scb147 0 4,744 2010-09-28, 06:33 PM
Last Post: scb147
  NPVR Weather Plugin Name is "Weather" scb147 21 17,704 2010-08-18, 07:26 PM
Last Post: scb147
  Weather crashes GB PVR on MVP JonRoyle 8 9,365 2010-01-11, 10:04 PM
Last Post: Jaggy
  Showing Weather on Menu Page -Oz- 6 7,708 2010-01-11, 04:10 PM
Last Post: scb147
  Weather 2 just not working right steeb 13 7,684 2009-11-13, 03:39 AM
Last Post: JavaWiz
  Weather 2 nearly steeb 16 7,927 2009-09-26, 03:07 AM
Last Post: steeb

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode