Changeset - b20c8d57aa91
[Not reviewed]
default
0 1 0
Drew Perttula - 19 years ago 2006-06-18 23:13:43
drewp@bigasterisk.com
add LIGHT9_MPD_SERVER env
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/networking.py
Show inline comments
 
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
 
    return "http://spot:%s" % dmxServerPort()
 

	
 
def dmxServerPort():
 
@@ -14,13 +16,13 @@ def musicUrl():
 

	
 
def musicPort():
 
    return 8040
 

	
 
def mpdServer():
 
    """servername, port"""
 
    return 'dash',6600
 
    return os.getenv('LIGHT9_MPD_SERVER', 'dash'),6600
 

	
 
def kcPort():
 
    return 8050
 

	
 
def kcServer():
 
    return 'dash'
0 comments (0 inline, 0 general)