Author: dmeyer
Date: Wed Nov 29 21:46:09 2006
New Revision: 2126

Added:
   trunk/beacon/src/server/config.cxml
Removed:
   trunk/beacon/src/server/config.py

Log:
switch to xml config

Added: trunk/beacon/src/server/config.cxml
==============================================================================
--- (empty file)
+++ trunk/beacon/src/server/config.cxml Wed Nov 29 21:46:09 2006
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<config>
+  <desc lang="en">Beacon configuration</desc>
+  <schema>
+
+    <list name="monitors" default="True">
+      <desc lang="en">
+        List of directories to monitor, e.g.
+        monitors[0] = /media/mp3
+        monitors[1] = $(HOME)/mp3
+      </desc>
+      <schema>
+        <var type="str">
+          <desc>Path of directory</desc>
+        </var>
+      </schema>
+    </list>
+
+    <group name="crawler">
+      <desc>Settings for filesystem crawler</desc>
+      <schema>
+        <var name="scantime" type="float" default="0.04">
+          <desc>
+            Internal timer for scanning. Decreasing it will speed up the 
scanner
+            but slow down the system. Increasing it will save CPU time and slow
+            machines.
+          </desc>
+        </var>
+        <var name="growscan" default="10">
+          <desc>
+            Internal in seconds how often still growing files should be
+            scanned
+          </desc>
+        </var>
+      </schema>
+    </group>
+
+    <dict name="plugins">
+      <desc>Dict of plugins to enable (True/False)</desc>
+      <schema>
+        <var default="False">
+          <desc>Enable plugin</desc>
+        </var>
+      </schema>
+    </dict>
+
+  </schema>
+</config>

-------------------------------------------------------------------------
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-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to