techrec/server/default_config.py

23 lines
689 B
Python
Raw Normal View History

import logging
HOST = 'localhost'
PORT = '8000'
# pastelog is just "paste", but customized to accept logging options
WSGI_SERVER = 'pastelog'
# these are pastelog-specific options for logging engine
TRANSLOGGER_OPTS = {
'logger_name': 'accesslog',
'set_logger_level': logging.WARNING,
'setup_console_handler': False }
2014-03-26 13:31:57 +01:00
WSGI_SERVER_OPTIONS = {}
DEBUG = True
DB_URI = 'sqlite:///techrec.db'
AUDIO_OUTPUT = 'output/'
AUDIO_INPUT = 'rec/'
AUDIO_INPUT_FORMAT = '%Y-%m/%d/rec-%Y-%m-%d-%H-%M-%S.mp3'
2014-02-24 15:20:45 +01:00
AUDIO_OUTPUT_FORMAT = 'techrec-%(time)s-%(name)s.mp3'
FORGE_TIMEOUT = 20
FORGE_MAX_DURATION = 3600*5
2014-03-02 01:17:35 +01:00
FFMPEG_OPTIONS = ['-loglevel', 'warning', '-n']
FFMPEG_PATH = 'ffmpeg'