NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 19 20 21 22 23 … 56 Next »
Weather Plug-in For PVRX2 Posted

 
  • 0 Vote(s) - 0 Average
Weather Plug-in For PVRX2 Posted
toomanyhandles
Offline

Member

Posts: 234
Threads: 71
Joined: Feb 2006
#51
2007-09-09, 04:37 PM
Jeff Wrote:I just tried that area code and it worked fine for me. I have a newer version of the plug-in so maybe something has changed. I just posted the latest version I have to http://gbpvr.com/pmwiki/pmwiki.php/Plugin/Weather

Jeff

Great timing, thanks-- I'll try it.

I did get the first pvrx2-compatible version to work once but then updates failed after a day.

Where does the config data (zip code, minutes between updates) live? If I'm having trouble I'd like to wipe it.

Do you know if MSNBC would block my access if updates were too frequent? I usually set it to 30min if there is a front coming through, I like the radar.

Did you remove the need to have VA installed for the updates to work (a while back that was an issue, but I think you changed that).

Thanks-
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#52
2007-09-09, 05:03 PM
The config data sits in the main confg.xml file. You should be able to delete the zip codes through the config program and not need to manually edit the file. I have the VA plug-in installed on my machine. I think I have removed the dependencies, but I did not reconfirm that for this build. I don't know if MSNBC blocks access. Every 30 minutes doesn't seem too often.

Jeff
toomanyhandles
Offline

Member

Posts: 234
Threads: 71
Joined: Feb 2006
#53
2007-09-09, 05:28 PM (This post was last modified: 2007-09-09, 06:15 PM by toomanyhandles.)
Well, playing around a bit, it seems to be just my zip code, also the longer code for it that msnbc shows if I go to their site directly. Sorry to not check this before, but I thought I was seeing the problem you mentioned earlier.

If I put in the zip code for Ann Arbor (go Ducks! Smile it comes right up in seconds; also for a couple others. If I put the zip code 48198 in, it just sits there, never finishes. I tried loading 48105 before 48198 but that didn't help, 48105 loads, switching to the weather screen for 48198 the screen is stopped with the "downloading" message.

The city name that goes along with that zip code is an unusual spelling, but unless it matches some sort of stop codon for your plugin I can't think that would make a difference!

Anyway I'll leave it set up with the both name of a neighboring city and mine, and I'll check to see if mine ever works; but it is strangely repeatable for me.

Do you scrape the info from their regular web page or do they have a feed set up? Could the city name mess up the scrape?

Thanks for a neat plugin.
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#54
2007-09-09, 06:56 PM
I added your zip code (48198) to my list and it working fine for me assuming that it is supposed to be for Ypsilanti MI, which is what I get back). If you post your gbpvr log file I can take a look.

Jeff
glensh
Offline

Junior Member

Posts: 41
Threads: 9
Joined: Sep 2005
#55
2007-09-10, 04:39 PM
What are the latest changes to the weather plugin? Just fixes or is there new features?

Thanks.
Athlon 3000, 1 GB, WinXP, PVR-150, 2 x MVP
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#56
2007-09-10, 06:05 PM
No major fixes that I recall. The strings are now translatable, which was a request made on the Developer's forum thread.

Jeff
toomanyhandles
Offline

Member

Posts: 234
Threads: 71
Joined: Feb 2006
#57
2007-09-16, 10:32 AM (This post was last modified: 2007-09-16, 02:35 PM by toomanyhandles.)
OK, here is the log. Other zip codes work fine, the one breaks. I tried changing the order in which the working/nonworking zip codes load with no change.

The pertinent part is likely:


--------------------
2007-09-10 07:29:33.343 VERBOSE [13] Weather plugin downloading weather for 48198
2007-09-10 07:29:33.343 VERBOSE [13] Weather plugin starting download for 48198 using URL http://weather.msn.com/local.aspx?wealoc...&setunit=f
2007-09-10 07:29:33.796 ERROR [13] Weather plugin: error downloading weather for 48198. URL was http://weather.msn.com/local.aspx?wealoc...&setunit=f
2007-09-10 07:29:33.796 ERROR [13] System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at System.String.Substring(Int32 startIndex, Int32 length)
at WeatherPlugin.WeatherInformation.ParseWeatherForecast()
2007-09-10 07:29:33.796 VERBOSE [13] Weather plugin done with download for 48198

----------------------------------------------

edit: I'm going to replace the error log with a better one, with both zip codes loading. I notice a different URL being composed for the zip code that breaks; I'm not sure why.

---
Weather plugin downloading weather for 48105
2007-09-16 09:20:11.781 VERBOSE [4] Weather plugin downloading weather for 48198
2007-09-16 09:20:11.796 VERBOSE [4] Weather plugin starting download for 48198 using URL http://weather.msn.com/local.aspx?wealoc...&setunit=f
2007-09-16 09:20:11.796 VERBOSE [3] Weather plugin starting download for 48105 using URL http://weather.msn.com/search.aspx?weasearchstr=48105
2007-09-16 09:20:11.796 VERBOSE [1] Weather plugin set auto update timer to 45 minutes.
---

48198 doesn't work, 48105 does.

Thanks!
danielpugh
Offline

Junior Member

Posts: 43
Threads: 3
Joined: Oct 2005
#58
2007-09-16, 12:50 PM
hi there, love the weather plugin - unfortunately something is not quite right for me.

i live in falmouth, uk (http://weather.msn.com/local.aspx?wealocations=wc:10691)
if i put in wc:10691 the url looked for is wc:wc:10691, similarly it fails if i look up falmouth, gbr (it changes the format of the search string again) or if i put in:UKXX0806.

Any ideas what i should put in as if i search using the gui the nearest town it finds is 200 miles away...

thanks in advance
cameluk
Offline

Senior Member

Posts: 255
Threads: 13
Joined: Oct 2004
#59
2007-09-17, 07:03 AM
Shouldn't you just put in 10691 without the wc: bit ?

UK seems strange, some codes are UKxxxxx while others are just numbers :confused:
davreh99
Offline

Junior Member

Posts: 47
Threads: 13
Joined: Oct 2006
#60
2007-09-18, 02:40 AM
Very Nice! Works like a charm! I appreciate your hard work.
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6


Possibly Related Threads…
Thread Author Replies Views Last Post
  Weather plugin for NPVR scb147 9 2,885 2010-10-18, 07:42 PM
Last Post: scb147
  Basic Skin for PVRX2 MixMan 59 18,394 2009-06-23, 09:46 PM
Last Post: MixMan
  BurndvdX2 Version 1.0.1.8 posted to wiki pastro 1 1,415 2009-02-04, 03:50 AM
Last Post: pbb
  Graph and TVPI Recorder Plug-in Release carpeVideo 114 40,055 2009-01-05, 11:59 PM
Last Post: smajor
  New Weather Icons MixMan 1 1,457 2008-11-21, 07:18 PM
Last Post: MixMan
  Sassari V2 for PVRX2 in Development Ted the Penguin 60 20,129 2008-09-25, 05:25 PM
Last Post: Ted the Penguin
  PVRX2 Themes skin MixMan 21 6,676 2007-11-17, 01:38 AM
Last Post: shrek
  WebCams2 version 3.0 - for PVRX2 McBainUK 10 3,428 2007-11-02, 02:02 PM
Last Post: SFX Group
  Blue-Retro-SHV pvrx2 skin Jaggy 22 6,224 2007-10-30, 02:09 AM
Last Post: ACTCMS
  Video Archive Plug-in - New .NET 2.0 Version Jeff 116 36,039 2007-09-26, 06:07 PM
Last Post: Jeff

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

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

Linear Mode
Threaded Mode