[mythtv-commits] Ticket #5937: Animated weather maps broken in trunk.

MythTV mythtv at cvs.mythtv.org
Mon Nov 24 02:01:46 UTC 2008

#5937: Animated weather maps broken in trunk.
 Reporter:  Marc Alban <marcalban at gmail.com>  |       Owner:  ijr    
     Type:  patch                             |      Status:  new    
 Priority:  minor                             |   Milestone:  unknown
Component:  mythweather                       |     Version:  head   
 Severity:  medium                            |     Mlocked:  0      
 The animated weather map screen appears to be broken in trunk.

 There appear to be several issues:

 1) weather-screens.xml defines Animated Map as requiring a data types
 "amdesc", "updatetime", and "datum".  But the scripts that provide
 animated images all provide data types "amdesc", "updatetime", and
 "animatedimage".  This prevents Animated Map from appearing as a possible
 screen to add.

 2) weather-ui.xml defines an image element named "animatedimagetype" for
 Animated Map, but the code expects an element called "animatedimage".

 3) The current code has an off by one error and tries to load one more
 image than exists.

 4) The delay time for the image is never set so no animation occurs.

 The attached patch gets the Animated Map screen working for me on trunk.

Ticket URL: <http://svn.mythtv.org/trac/ticket/5937>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list