On Mon, 10 Mar 2008, Stephen Rowles wrote:
> However I do really think that the reliance of a python file for config
> should be removed altogether. I've had problems in the past with variables
> changing names etc. and forgetting to run the migration script. If these
> are sanitised out into a config file then the internal variables can be
> renamed without having to update the users config file. This will provide
> a more stable design and remove the visibility of internal variable names
> to end users.
Duncan Webb wrote:
> from audio_conf import *
> from audio_plugins import *
> from video_conf import *
> from video_plugins import *
So an improved config would be still a python file just like it is, but it
would get its variable names from somewhere else
So there would be list to fill in
maybe an interactive shell script and later a GUI
Some of the shell script could query what modules were loaded (to identify TV
card)
or whether a program was installed to write some variables.
To write a TV tuning list the script could ask for a standard channel list
country name (wouldn't help those guys in India) and then ask for the channel
number of your channels and the name of the channel.
I'd be writing these into an intermediate file from which local_conf.py would
get the values.
I'm not the sort of person who can do this writing, only dream of a simpler
setup system.
--
First off - Quake is simply incredible. It lets you repeatedly kill your
boss in the office without being arrested. :)
-- Signal 11, in a slashdot comment
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users