Opened 13 years ago
Closed 13 years ago
#9799 closed Patch - Bug Fix (fixed)
MythWeather NWS Alerts script fails to retrieve alerts
Reported by: | Owned by: | beirdo | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | Plugin - MythWeather | Version: | 0.24-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
The nws-alerts.pl script included with MythWeather? needs to be updated to match the new URL and information format provided by the National Weather Service. I've made appropriate changes and submitted a pull request:
https://github.com/MythTV/mythtv/pull/4
URL has changed from: http://www.weather.gov/alerts/$state.cap to: http://www.weather.gov/alerts/$state.php?x=0 (actually redirects to http://alerts.weather.gov/cap/$state.php?x=0 )
Attachments (4)
Change History (5)
Changed 13 years ago by
Attachment: | nws-alert.pl.patch added |
---|
Changed 13 years ago by
Attachment: | results.orig.log added |
---|
Results of running original script with parameters "-u ENG -d /tmp 22071"
Changed 13 years ago by
Attachment: | results.new.log added |
---|
Results of running new script with parameters "-u ENG -d /tmp 22071"
comment:1 Changed 13 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Merge pull request #4 from bwarden/patch-1
Updated to parse new format of CAP messages from alerts.weather.gov
Closes #9799
Branch: master Changeset: fb6d707d74ffd21aa1f0dc2c7bccbf94c9acb3c8
Patch to nws-alert.pl