start app controllers that aims to replace liquidsoap on long term, and be more generic and reusable

This commit is contained in:
bkfox
2016-07-12 11:11:21 +02:00
parent 37b807b403
commit 0d75f65ed4
12 changed files with 988 additions and 87 deletions

13
controllers/settings.py Executable file
View File

@ -0,0 +1,13 @@
import os
import stat
from django.conf import settings
def ensure (key, default):
globals()[key] = getattr(settings, key, default)
# Working directory for the controllers
ensure('AIRCOX_CONTROLLERS_MEDIA', '/tmp/aircox')