diff --git a/light9/networking.py b/light9/networking.py --- a/light9/networking.py +++ b/light9/networking.py @@ -1,6 +1,8 @@ +import os 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 @@ -17,7 +19,7 @@ def musicPort(): def mpdServer(): """servername, port""" - return 'dash',6600 + return os.getenv('LIGHT9_MPD_SERVER', 'dash'),6600 def kcPort(): return 8050