[mythtv-commits] Ticket #10231: yrnoxml.pl won't show list of cities during adding new location
MythTV
noreply at mythtv.org
Sun Jan 1 13:03:34 UTC 2012
#10231: yrnoxml.pl won't show list of cities during adding new location
--------------------------------------+---------------------
Reporter: j.novak@… | Owner: beirdo
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeather | Version: 0.24.1
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+---------------------
yrnoxml.pl won't show list of cities during adding new location. The
reason is that yr.no changed format of page which script parsed.
You can check it with ./yrnoxml.pl -l liberec - It won't return any
location.
I found that there is no way how to update script to parse homepage
correctly, so I updated script to use JSON API at yr.no to find cities as
yr.no home page does.
It adds dependency on JSON perl module.
Note:
During work on code I found that code uses -D parameter for debugging, but
command line parser don't accept it. I updated it too.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10231>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list