<reponame>dlcs/spacebunny
import os
import distutils.util

MESSAGES_PER_FETCH = 5
POLL_INTERVAL = 20

TRANSCODE_MAPPINGS = {
    'Wellcome Standard MP4': 'System preset: Web',
    'Wellcome Standard WebM': 'Wellcome WebM',
    'Wellcome Standard MP3': 'Wellcome MP3'
}

REGION = os.environ.get('AWS_DEFAULT_REGION')  # e.g. 'eu-west-1'
INPUT_QUEUE = os.environ.get('BUNNY_INPUT_QUEUE')  # e.g. 'bunny-input'
ERROR_QUEUE = os.environ.get('BUNNY_ERROR_QUEUE')  # e.g. 'bunny-error'
NOTIFICATION_QUEUE = os.environ.get('BUNNY_NOTIFICATION_QUEUE')  # e.g. 'bunny-notification'
RESPONSE_QUEUE = os.environ.get('BUNNY_RESPONSE_QUEUE')  # e.g. 'bunny-response'
PIPELINE = os.environ.get('BUNNY_PIPELINE')  # e.g. bunny-pipeline'
OUTPUT_BUCKET = os.environ.get('BUNNY_OUTPUT_BUCKET')  # e.g. 'bunny-output'
JOB_DATA_BUCKET = os.environ.get('BUNNY_JOB_DATA_BUCKET')  # e.g. 'bunny-job-data'
METADATA_BUCKET = os.environ.get('BUNNY_METADATA_BUCKET') # e.g. 'dlcs-storage'
DEBUG = bool(distutils.util.strtobool(os.getenv("DEBUG", "False")))

import os
import distutils.util

MESSAGES_PER_FETCH = 5
POLL_INTERVAL = 20

TRANSCODE_MAPPINGS = {
    'Wellcome Standard MP4': 'System preset: Web',
    'Wellcome Standard WebM': 'Wellcome WebM',
    'Wellcome Standard MP3': 'Wellcome MP3'
}

REGION = os.environ.get('AWS_DEFAULT_REGION')  # e.g. 'eu-west-1'
INPUT_QUEUE = os.environ.get('BUNNY_INPUT_QUEUE')  # e.g. 'bunny-input'
ERROR_QUEUE = os.environ.get('BUNNY_ERROR_QUEUE')  # e.g. 'bunny-error'
NOTIFICATION_QUEUE = os.environ.get('BUNNY_NOTIFICATION_QUEUE')  # e.g. 'bunny-notification'
RESPONSE_QUEUE = os.environ.get('BUNNY_RESPONSE_QUEUE')  # e.g. 'bunny-response'
PIPELINE = os.environ.get('BUNNY_PIPELINE')  # e.g. bunny-pipeline'
OUTPUT_BUCKET = os.environ.get('BUNNY_OUTPUT_BUCKET')  # e.g. 'bunny-output'
JOB_DATA_BUCKET = os.environ.get('BUNNY_JOB_DATA_BUCKET')  # e.g. 'bunny-job-data'
METADATA_BUCKET = os.environ.get('BUNNY_METADATA_BUCKET') # e.g. 'dlcs-storage'
DEBUG = bool(distutils.util.strtobool(os.getenv("DEBUG", "False")))
# e.g. 'eu-west-1' # e.g. 'bunny-input' # e.g. 'bunny-error' # e.g. 'bunny-notification' # e.g. 'bunny-response' # e.g. bunny-pipeline' # e.g. 'bunny-output' # e.g. 'bunny-job-data' # e.g. 'dlcs-storage'