[mythtv-commits] Ticket #3910: Mythshutdown cleanup

MythTV mythtv at cvs.mythtv.org
Fri Nov 28 15:29:42 UTC 2008


#3910: Mythshutdown cleanup
-----------------------------------------------+----------------------------
 Reporter:  Matthew Wire <devel at mrwire.co.uk>  |        Owner:  danielk 
     Type:  patch                              |       Status:  assigned
 Priority:  minor                              |    Milestone:  unknown 
Component:  mythtv                             |      Version:  head    
 Severity:  medium                             |   Resolution:          
  Mlocked:  0                                  |  
-----------------------------------------------+----------------------------

Comment(by Matthew Wire <devel at mrwire.co.uk>):

 Updated all patches for trunk and refactored where necessary.[[BR]]
 [[BR]]
 07-3910-mythdb-dbsettings-cleanup.patch cleans up mythdb settings access
 code, reducing two almost identical functions down to a single function
 that does all the database access (GetSettingOnHost).  In it's default
 mode (tryGlobal is true) it will behave as before and look for a host
 setting before falling back to the global settings table (Paul, this fixes
 your issue that you raised).  GetGlobalSetting and SaveGlobalSetting are
 added as wrapper functions for use by mythshutdown.[[BR]]
 [[BR]]
 06-3910-mythshutdown-dbsettings requires the above patch.  This patches
 mythshutdown to remove it's own copies of the Get/Save settings code and
 use the ones in mythdb instead.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3910#comment:7>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list