diff bin/dmxserver @ 352:9d1f323fb3d3

new bin/lightsim tied to dmxserver
author Drew Perttula <drewp@bigasterisk.com>
date Sun, 10 Jun 2007 17:25:23 +0000
parents 44189a37a876
children 941cfe1e1691
line wrap: on
line diff
--- a/bin/dmxserver	Sun Jun 10 08:09:08 2007 +0000
+++ b/bin/dmxserver	Sun Jun 10 17:25:23 2007 +0000
@@ -175,6 +175,11 @@
         self.clientfreq[cid].update()
         return "ok"
 
+    def xmlrpc_currentlevels(self):
+        """get a list of levels we're currently sending out. All
+        channels beyond the list you get back, they're at zero."""
+        return self.combinedlevels
+
 parser=OptionParser()
 parser.add_option("-f","--fast-updates",action='store_true',
                   help=('display all dmx output to stdout instead '