[mythtv-commits] Ticket #4596: Don't add unnecessary data items to Active Screens

MythTV mythtv at cvs.mythtv.org
Tue Feb 5 19:48:14 UTC 2008

#4596: Don't add unnecessary data items to Active Screens
 Reporter:  Joe Ripley <vitaminjoe at gmail.com>  |       Owner:  ldunning
     Type:  defect                             |      Status:  new     
 Priority:  trivial                            |   Milestone:  0.21    
Component:  mythweather                        |     Version:  head    
 Severity:  low                                |     Mlocked:  0       
 The code in weatherSetup.cpp currently adds all of the dataitems from the
 weatherdatalayout DB table to the Active Screen that is selected.   This
 causes problems when you want to change the location for a given Active

 What happens is, the plugin attempts to locate a source that supplies all
 of the dataitems that was provided for the previous location for the new
 location.  Most grabbers don't supply the same dataitems for their
 locations.  The end result is an incomplete list of possible locations to
 change to.

 This patch makes sure that dataitem is only inserted into the
 ScreenListInfo object if the given type is defined for the current

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

More information about the mythtv-commits mailing list