Hi Paul!
Hi All!
Just a side note from me (as I didn't investigate to much in the config
sofar). There is quite much XML files in regards to freevo (e.g. TV-Listings
and Webradio) why not organize the config files in an XML format?
Cheers
Frederik
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul
Cowper
Sent: Wednesday, September 24, 2003 9:56 PM
To: [EMAIL PROTECTED]
Subject: RE: [Freevo-users] Re: Developers, can I help? Please read
Well Using a web based interface would be a great idea. But I am then
sure it would not have to be python. It could just as easily be perl.
Plus the graphical element can be done using html.
I could propose that we could use the comment sign as a form of tag for
a script to look for then replace the whole string rather than just one
perticular word. Ie.
#DIR_MOVIES_BEG
DIR_MOVIES = [ ('foo', '/mnt/foo'),
('bar', /mnt/bar' )
#DIR_MOVIES_Finish
]
#DIR_MOVIES_END
It would then replace the text betweek the _BEG & _Finish tags
With what ever text is needed. The only problem would be the comma.
Ovbously this would be easy if there were just one line.
But once you have to use two or more then you would need to get the
programme to remember what text was there before, then add a line ie
",('Mtr', '/mnt/Mtr')" which would help with the comma problem providing
it is not the first in the sentence.
Do you think this is any good or could it be more complicated than it is
worth?
Also I have taken a look at some pyton code, and it seems prety simple,
it also looks very similar to good old basic.
But I think I will play around with editing text within the .py when I
get home from work. And see what I can do.
But I totally agree using the web interface would be simpler. You just
have to get a script to pick out the information and create a form. Then
once the options have changed make those changes (and create a backup).
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users