Hi,

sorry for the late answer. This answer mail is an answer to all
configure ideas send in this thread.

First of all: it would be cool to have an easier way to configure
Freevo. But since my todo list is very long, I won't have time to do
that. There are two starts for this somewere, but both didn't get
finished.

Mick wrote:
> On Sun, 2004-09-05 at 07:52, Michael Osten wrote:
>> >
>> > I agree with this. We, my family, love our Freevo Box, but I am the 
>> > only one who can do stuff. I do the IMDB lookups, configure all the 
>> > directory locations / options. While this is not onerous to me, it 
>> > means that I can't easily set up a freevo unit for freinds/ relatives.
>> >
>> > My Freevo box is mainly used to play movies by the way. It has a tv 
>> > card in it, we just watch tv on the tv and have very limited 
>> > requirements for recording shows.
>> >
>> > In short, a builtin gui for the freevo.conf
>> >
>> > Cheers (You did ask :)
>> >
> I don;t quite think thats what he was asking..  This 'feature' does no
> exist right now.  I'd be happy to help get it started.  But it is very
> complex.

Yes, it is. There are different ways for setting stuff:

o local_conf.py: it should still be possible to use that file, it is
  easier for testing.

o inside freevo: you have limited control with a remote (no complex
  texts)

o use of the webserver

> Firstly: how to get the options?  There needs to be a way for freevo to
> tell the user (or the plugin) exactly what options are available?
>
> Maybe a meta search on config()?  Obviously, the documentation is no the
> best ;-)  So, this method would allow for the "config plugin" to include
> config for activated plugins..  Actually, I'm quite chuffed with this
> idea...

There should be a new file for all config variables for this. It
should contain the name, default value, doc and value type (list,
string, int, list of list of string). About the plugins: we need a new
way to detect: what plugins are there? What options do they have?

> Lets look at how to assign the dir to store tv recording: how?
> i) text box?  
> ii) file system select.

I guess from inside freevo you can't do very complex stuff. Maybe
settings this is part of the webserver.

> But: the real issue is this:
> How to get the config loaded?  Right now freevo needs a restart on any
> config change.  Is this ever going to change?  If not, in shutdown we
> need a few more options:
> i) soft restart (init.d/freevo restart)
> ii) hard restart (reboot)

Some variables can be changed without restart, others can't. I guess
we should add an option 'restart freevo'.


Dischi

-- 
Well, I want to die quietly, peacefully, in my sleep like Grandpa did.
Not screaming and crying like his passengers. 

Attachment: pgpkY1H906T5V.pgp
Description: PGP signature

Reply via email to