[mythtv] Database logging/MythContextPrivate

Isaac Richards ijr at po.cwru.edu
Fri Mar 5 13:08:18 EST 2004

On Friday 05 March 2004 12:57 pm, Matt White wrote:
> Isaac - I've been looking at changing my patch so that it uses a
> variable in the MythContextPrivate class instead of going out to
> the database each time the LogEntry routine is called, but there's
> one problem.
> When mythbackend starts, it initializes the variables in
> MythContextPrivate properly from the database.  However, when
> you change the database settings in the frontend (enable/disable
> the database, etc), I haven't figured out a way to tell the
> backend to re-read the settings from the database without
> requiring a restart of mythbackend...
> The only thing I can think of is adding another command to
> mainserver.cpp that will reload the appropriate variables
> from the database, and then send a message to the backend
> from the frontend when the configuration changes....
> Does that sound reasonable, or am I missing something
> obvious?

Ah yeah, sorry for not responding to your earlier query..  Yeah, another 
message to the backend would be reasonable, but I'd also be fine with just 
requiring a backend restart -- a bunch of other settings changes require one, 
so it's not that big of a deal for one or two more..


More information about the mythtv-dev mailing list