[mythtv] Ticket #3327: mythweather no longer works due to changes at msnbc

Robin Gilks g8ecj at gilks.org
Wed Apr 25 03:27:05 UTC 2007

>> Yes, I'm working on it.  I plan to use the patch I made for mythweb
>> weather as the starting point, as mythweather-revamp uses scripts in
>> perl
>> rather than C code to grab the weather.  Should be able to port over the
>> php code from mythweb.
>>   Maverik044
> After a false start, where I had to delete WeatherDBSchemaVer from the
> settings table after a failed attempt to use weather-revamp some months
> ago, I have got your scripts from ticket 3337 to 'sort of' work.
> The current conditions I can set up OK but the 3 day forecast can't find
> the location of Christchurch, New Zealand - even though the current found
> it OK. Similar problems with the other screens :-(
> Can I help on the debugging?

Found one problem - but it doesn't fix anything!!

in weather_com.php, line 48 should have an 'exit;' after outputting the
capabilities from the -t switch.

The problem I still have is that the main plugin refuses to accept my
location for any script other than for current conditions - even though
the new weather_com.php script reports the correct capabilities. As though
the -l switch isn't getting passed across to the script that says it can
handle it!

php I can follow - the C++ in the plugin itself beats me... oh for a
simple printf()...

Robin Gilks

More information about the mythtv-dev mailing list