Bugs item #1567942, was opened at 2006-09-29 20:40
Message generated for change (Comment added) made by duncanwebb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1567942&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: config
>Group: 1.5.x svn
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard van Paasen (rvpaasen)
Assigned to: Nobody/Anonymous (nobody)
Summary: split local_conf

Initial Comment:
I always find it difficult to update local_conf.py when
a new version of Freevo or a plugin is released. One of
the reasons is that local_conf.py is not very
structured. It looks like kind of a mess, imho (over a
1000 lines of config items!).

Maybe it would be a good idea to split the
local_conf.py into seperate sections and store the
sections in different files in a subdirectory. One
could have e.g. a directory "freevo/conf/" with files like:

00-main.py
01-audio.py
02-video.py
03-mplayer.py
04-xine.py
05-ivtv.py
06-shutdown.py
07-epg.py
08-recordserver.py
09-tv.py
....

This structure of course has to be worked out by someone.
At startup, Freevo could scan the conf/ directory,
concat all files in alphabetical order to the
local_conf.py file and parse that one.

This approach is similar to how some tools handle their
config files in /etc/.

Maybe this conflicts with how Freevo 2.0 does it, but
if Freevo 1.x is here to stay for a while, it would be
good to think the config issue through.

- Richard.


----------------------------------------------------------------------

>Comment By: Duncan Webb (duncanwebb)
Date: 2006-09-29 22:58

Message:
Logged In: YES 
user_id=104395

I think that this would be a very good thing to do, both
with freevo_config and local_config. 

Any takers?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1567942&group_id=46652

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to