- Add 'remux' preset (-c copy) for lossless stream-copy output - DVD remux uses FLAC audio (pcm_dvd can't stream-copy into MKV) - PRESET_<name>=<ffmpeg args> config keys add user-defined presets - Settings panel: dynamic custom preset rows with add/remove; presets persist to settings overlay and appear in encode dropdown on save - GET /api/settings returns existing PRESET_* keys; POST allowlist accepts PRESET_[A-Z0-9_]+ pattern alongside existing SETTINGS_KEYS
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
# Discarr — API keys config
|
|
# Copy to ~/.config/media-postprocessor/api-keys.conf and fill in your values.
|
|
#
|
|
# All values can also be set as environment variables (e.g. SONARR_URL=...)
|
|
# Environment variables override this file.
|
|
|
|
# --- Sonarr ---
|
|
SONARR_URL=http://your-sonarr-host:8989/sonarr
|
|
SONARR_API_KEY=your-sonarr-api-key-here
|
|
|
|
# --- Radarr ---
|
|
RADARR_URL=http://your-radarr-host:7878/radarr
|
|
RADARR_API_KEY=your-radarr-api-key-here
|
|
|
|
# --- TMDB (for title matching) ---
|
|
TMDB_API_KEY=your-tmdb-api-key-here
|
|
|
|
# --- Tdarr (optional — notify on encode completion) ---
|
|
TDARR_URL=http://your-tdarr-host:8265
|
|
TDARR_LIBRARY_ID=your-library-id
|
|
|
|
# --- SSH encoding host (optional — remote ffmpeg/HandBrake) ---
|
|
# If set, Discarr dispatches encodes to this host via SSH instead of running locally.
|
|
ENCODE_SSH_HOST=user@your-encode-host
|
|
|
|
# --- Paths (optional overrides) ---
|
|
# FFMPEG_BIN=/usr/bin/ffmpeg
|
|
# FFPROBE_BIN=/usr/bin/ffprobe
|
|
# OUTPUT_BASE=/path/to/output
|
|
|
|
# --- Custom encode presets (optional) ---
|
|
# PRESET_<name> adds a user-defined preset to the encode dropdown.
|
|
# Value is a space-separated list of ffmpeg codec arguments.
|
|
# Examples:
|
|
# PRESET_av1_svt=-c:v libsvtav1 -crf 30 -preset 6 -c:a copy
|
|
# PRESET_h264_hq=-c:v libx264 -crf 18 -preset slow -c:a copy
|