IMHO it's good. Please try to develop a non coupled solution, break it in an Engine and the interface itself, so we can reuse it when creating an interface to freevo itself (non-web)
Gustavo --- Eirik Meland <[EMAIL PROTECTED]> escreveu: > I have started to make a web configuration interface and want to > build > the different menus and forms from xml. > > This is the xml-structure so far. Please comment. > > <structure> > <category name="General Settings"> > <description> > Explanation of this menu > </description> > <settings> > <path name="AUDIO_DEVICE" default="/dev/dsp"> > <description> > test > </description> > <example> > /dev/dsp0, /dev/audio, /dev/alsa/ > </example> > </path> > <path name="AUDIO_INPUT_DEVICE" default="dev/dsp1"> > <example> > /dev/dsp0, /dev/audio, /dev/alsa/ > </example> > </path> > <enum name="MAJOR_AUDIO_CTRL" default="PCM"> > <description> > Freevo takes control over one audio ctrl 'VOL', 'PCM' > 'OGAIN' etc. > </description> > <value>VOL</value> > <value>PCM</value> > <value>OGAIN</value> > </enum> > <boolean name="CONTROL_ALL_AUDIO" default="True"> > <description> > Should Freevo take complete control of audio > </description> > </boolean> > <integer name="MAX_VOLUME" default="90"> > <description> > Set what you want maximum volume level to be. > </description> > <range from="0" to="100" step="5"/> > </integer> > <integer name="DEFAULT_VOLUME" default="40"> > <description> > Set default volume level. > </description> > <range from="0" to="100" step="5"/> > </integer> > <integer name="TV_IN_VOLUME" default="60"> > <description> > Set this to your preferred level 0-100. > </description> > <range from="0" to="100" step="5"/> > </integer> > <integer name="VCR_IN_VOLUME" default="90"> > <description> > If you use different input from TV > </description> > <range from="0" to="100" step="5"/> > </integer> > <path name="DEV_MIXER" default="/dev/mixer"> > <description> > mixer device > </description> > </path> > <boolean name="START_FULLSCREEN_X" default="False"> > <description> > Start in fullscreen mode if using x11 or xv. > </description> > </boolean> > <boolean name="USE_NETWORK" default="True"/> > </settings> > <category name="OSD"/> > <category name="Remote control"/> > </category> > <category name="Plugins"> > <category name="Appletrailers"/> > </category> > <category name="Directory Settings"/> > <category name="Video Settings"> > <category name="MPlayer"/> > <category name="Xine"/> > <category name="TV"/> > <category name="Recording"/> > </category> > <category name="Audio Settings"> > <category name="cdbackup"/> > <category name="MPlayer"/> > </category> > <category name="Image ViewSettings"/> > <category name="Game Settings"/> > <category name="Webserver"/> > </structure> > > I know I should have explained this, but I'm too sleepy... > > -- > Eirik Meland > > A: Top posters. > Q: What is the most annoying thing on Usenet? > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win > $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Freevo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-devel Yahoo! Mail - o melhor webmail do Brasil http://mail.yahoo.com.br ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
