[mythtv-commits] Ticket #3834: Patches MythWeb Weather module to use new MythWeather-revamp sources

MythTV mythtv at cvs.mythtv.org
Wed Aug 15 19:55:55 UTC 2007


#3834: Patches MythWeb Weather module to use new MythWeather-revamp sources
-----------------------------------------------+----------------------------
 Reporter:  Joe Ripley <vitaminjoe at gmail.com>  |       Owner:  xris   
     Type:  enhancement                        |      Status:  new    
 Priority:  minor                              |   Milestone:  unknown
Component:  mythweb                            |     Version:  unknown
 Severity:  low                                |     Mlocked:  0      
-----------------------------------------------+----------------------------
 This patch can be applied to the current SVN trunk of mythweb (release
 14200).  It patches the module to use the new MythWeather plugin as a data
 source.  The patch itself is just a quick hack, and only applies to the
 default template, not the lite.  The functions of the MythWeather plugin
 that I implemented are:

 {{{
 Current Conditions
 3 Day Forecast
 6 Day Forecast
 18 Hour Forecast
 Animated Maps
 }}}

 I don't use the Static Maps or the Severe Weather Alerts, so I haven't
 written them yet.  The Animated Maps appear in MythWeb as animated JPEG
 images.  I accomplished this by using JavaScript to control the pictures.
 It allows you to speed up/slow down the animation.  I based the JavaScript
 code from the code used on the Environment Canada website.  Seems to work
 well.

 The weather module stores its cached weather data in the 'cache_dir'
 directory, so this must exist and be writable by the HTTP daemon for the
 module to work.

 I can post a screen shot of the module in action if anyone wants to see
 it.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3834>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list