Update 'trashtalker.py'
This commit is contained in:
parent
357ecf994c
commit
5c2903c2c0
|
@ -27,11 +27,9 @@ from random import shuffle
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
LOG_LEVEL=0
|
LOG_LEVEL=0
|
||||||
# You can have multiple copies of this script serving different playlists by simply duplicating it
|
#TT_MEDIA_SOURCE and TT_LISTEN_PORT can be configured via env. variables
|
||||||
# ensuring you change the sourcepath and sipport accordingly.
|
|
||||||
#TODO: make this configurable via a standard config file.
|
|
||||||
sourcepath=getenv('TT_MEDIA_SOURCE', '/opt/media/')
|
sourcepath=getenv('TT_MEDIA_SOURCE', '/opt/media/')
|
||||||
sipport=getenv('TT_LISTEN_PORT', 5062)
|
sipport=int(getenv('TT_LISTEN_PORT', 5062))
|
||||||
# End configuration
|
# End configuration
|
||||||
|
|
||||||
# Application scaffolding
|
# Application scaffolding
|
||||||
|
|
Loading…
Reference in New Issue