# Configuration file for Uniloader Transcribe
#
# Watches a directory for audio files and transcribes them via
# QueueMetrics.

# Base URL of the QueueMetrics instance
QM_URL=https://CHANGEME.queuemetrics-live.com/CHANGEME

# QueueMetrics login
QM_LOGIN=transcriber

# QueueMetrics password
QM_PASSWORD=CHANGEME

# Directory to watch for audio files
WATCH_DIR=/var/spool/asterisk/monitor

# Comma-separated list of audio file extensions to process
EXTENSIONS=.wav,.mp3

# Number of parallel transcription workers
WORKERS=2

# Number of files per QM existence-check batch
BATCH_SIZE=500

# Pause between reservation retries, in seconds
RETRY_DELAY=10

# How often to poll a driver for transcription status, in seconds
POLL_INTERVAL=5

# Seconds a file's mtime must be stable before it is processed (0 disables)
QUIET_PERIOD=20

# Comma-separated list of task tags (e.g. "td" for transcribe/diarize, "tr" transcribe only)
TASK_TAGS=td

# Percentage (0-99) of reserved files to skip without transcribing (sampling)
SKIP_PRC=0

# If set, write a trace of every outgoing HTTP request and response to this file
HTTP_LOG=

# If L or R, treat audio as stereo: split channels via ffmpeg, transcribe
# each without diarization, merge (requires TASK_TAGS to include "tr")
STEREO_AGENT=
