[mythtv-commits] Ticket #1288: a cmdline switch for running mythfrontend in window without changing the setting in DB

MythTV mythtv at cvs.mythtv.org
Sun Feb 26 20:57:35 UTC 2006


#1288: a cmdline switch for running mythfrontend in window without changing the
setting in DB
---------------------+------------------------------------------------------
 Reporter:  visit0r  |        Owner:  cpinkham
     Type:  patch    |       Status:  closed  
 Priority:  minor    |    Milestone:  0.20    
Component:  mythtv   |      Version:  head    
 Severity:  low      |   Resolution:  fixed   
---------------------+------------------------------------------------------
Changes (by cpinkham):

  * resolution:  => fixed
  * status:  assigned => closed

Comment:

 (In [9158]) Settings Cache related changes.

 Move the settings cache variables from MythContext to MythContextPrivate
 where I should have put them to begin with.

 Merge in a patch by visit0r to provide a framework for overriding settings
 and initially allow overriding of the RunFrontendInWindow setting via
 -w/--windowed or -nw/--no-windowed command line options to mythfrontend.
 This closes #1288.

 I extended visit0r's patch by allowing a generic -O/--override-setting
 option
 on the command line of both mythfrontend and mythbackend.  This allows
 overriding any setting on the command line.  Multiple setting overrides
 are
 supported by using the option multiple times or by specifying multiple
 key=value pairs with a single -O option.  Here are a few examples:

 mythfrontend -O Theme=blue
 mythfrontned -O Theme=Minimalist-wide -O GUIWidth=800,GUIHeight=450

 The overridden settings are for that instance of the program and have no
 effect on the settings screens (ie, the settings screen will still show
 and
 allow changing the actual setting in the database.

 NOTE: This changes MythContext and the myth binary version, so a
 "make distclean" will be required.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1288>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list