Just setup the settings so that the
/usr/local/share/mythtv files are not editable and are
never changed from the frontend. Then only files in a
users .mythtv/ directory are changed. That way when
you are playing around with changing settings in the
frontend you only have to worry about writing changes
to that users home directory, and not the defaults.
I would also leave the database settings stuff alone.
I agree that it seems like an extra step in the
process, since you could just load from the file into
mem, but who cares, its not hurting anything. And
storage of text files shouldn't really be an issue
when you are recording gigs worth of video.
I would setup some methods to read/write to a users
.mythtv/ directory when they make changes from the
frontend. Or maybe the best thing to do is have a
"save" button in Mythsettings. That way you can play
with the settings in the frontend, those settings go
to the db while the frontend is running, then if the
user wants to they can save the settings to disk. And
when you restart the frontend it automatically loads
from the settings file in the .mythtv/ dir if it
exists.
-- Allen
--- Christian Morant <linux@sixtine.com> wrote:
> On Wednesday 20 November 2002 07:49, Erik Arendse
> wrote:
> > At 19-11-02 18:17, you wrote:
> > >I'm working on a MythSettings module that will
> allow you to change the
> > >settings via the front end..
>
> Why not place all the settings in the DB (to keep
> all the data in the same
> place), have Mythsetting edit it and maybe storing
> all the default values
> and creating aall the tables during the first run
> (that way installation and
> newbie questions will decrease).
> This is really a neat feature.
>
> >I'm also working on a MythVideo module that'll
> handle watching
> >DIVX/MPEG/Etc
> This is an even neater feature.
>
> Thinking about DVD playing / ripping to DIVX ?
>
> This project is really alive thank you all.
>
> And thank you Isaac
>
> Christian
>
>
>
>
>
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com