diff --git a/light9/networking.py b/light9/networking.py new file mode 100644 --- /dev/null +++ b/light9/networking.py @@ -0,0 +1,11 @@ +from ConfigParser import SafeConfigParser +# my intent was to pull these from a file in the LIGHT9_SHOW/ directory + +def dmxServerUrl(): + #host = os.getenv('DMXHOST', 'localhost') + #url = "http://%s:8030" % host + return "http://localhost:%s" % dmxServerPort() + +def dmxServerPort(): + return 8030 +