[mythtv-commits] mythtv commit: r9158 - in trunk/mythtv by cpinkham

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


      Author: cpinkham
        Date: 2006-02-26 20:57:25 +0000 (Sun, 26 Feb 2006)
New Revision: 9158
   Changeset: http://cvs.mythtv.org/trac/changeset/9158

Modified:

   trunk/mythtv/libs/libmyth/mythcontext.cpp
   trunk/mythtv/libs/libmyth/mythcontext.h
   trunk/mythtv/programs/mythbackend/main.cpp
   trunk/mythtv/programs/mythfrontend/main.cpp

Log:

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.






More information about the mythtv-commits mailing list