[mythtv] [PATCH] Add support for specifying directory to use for configuration

Jeremiah Morris jm at whpress.com
Sun Feb 13 02:14:49 UTC 2005


On Feb 12, 2005, at 7:55 PM, Kyle Rose wrote:
> Isaac Richards <ijr at case.edu> writes:
>
>>> I use myth on my primary desktop system and usually like watching 
>>> programs
>>> in a 800x600 window, however, occasionally I like to watch stuff full
>>> screen. Mythfrontend as it stands now doesn't provide any 
>>> non-tedious way
>>> to accomplish that.
>>
>> Why don't you just run it as a different user?
>
> Kinda dumb to have to add users just to get a different resolution.
> That, and the irritation of getting X auth to cross users... all in
> all, this sounds like a reasonable solution to the problem.

A prefs switch is easily accomplished via the mysql.txt frontend 
identifier; it would be nice to have something akin to Mozilla's 
Profile Manager to switch between different identifiers. What about 
this: if one specifies multiple identifiers somehow in mysql.txt, then 
at startup, mythfrontend asks which one it should use for that session. 
(It doesn't ask if there's only one, and daemons like mythbackend would 
always use the first identifier, unless there's a command-line switch 
or something.)

> FWIW, this is something I accomplish by cd'ing into a directory with a
> custom mysql.txt, but I also needed to change the code not to whack
> the theme cache.

In the above scheme, Myth could maintain one themecache per 
identifier/profile, so the cache only grows relative to the number of 
profiles you use. In the current default case, there would be one 
profile and one cached theme configuration.

- Jer



More information about the mythtv-dev mailing list