Changeset - 87dc77fc214c
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 15 years ago 2010-06-19 18:59:14
drewp@bigasterisk.com
set music server
Ignore-this: e297956bc6f5d11d60723740f908e302
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/networking.py
Show inline comments
 
@@ -3,25 +3,26 @@ from ConfigParser import SafeConfigParse
 
# 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://plus:%s" % dmxServerPort()
 

	
 
def dmxServerPort():
 
    return 8030
 
    
 
def musicUrl():
 
    return "http://dash:%s/" % musicPort()
 
    # must have trailing slash!
 
    return "http://django:%s/" % musicPort()
 

	
 
def musicPort():
 
    return 8040
 

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

	
 
def kcPort():
 
    return 8050
 

	
 
def kcServer():
0 comments (0 inline, 0 general)