Replace shell-based downloader execution with validated arguments, enforce request hardening and safer defaults, and refactor handlers/router/state so job control is safer and easier to maintain.
27 lines
389 B
TOML
27 lines
389 B
TOML
[General]
|
|
BaseDir = "/mnt/media"
|
|
Format = "mkv"
|
|
TempBaseDir = "/tmp/nre"
|
|
EnableConsole = true
|
|
MaxUploadMB = 32
|
|
|
|
[WatchFolder]
|
|
Path = "/mnt/watched"
|
|
PollingInterval = 10
|
|
UsePolling = false
|
|
UseInotify = false
|
|
|
|
[N_m3u8DLRE]
|
|
Path = "nre"
|
|
|
|
[Server]
|
|
Host = "127.0.0.1"
|
|
Port = 8080
|
|
ReadTimeoutSec = 30
|
|
WriteTimeoutSec = 30
|
|
IdleTimeoutSec = 60
|
|
ReadHeaderTimeoutS = 10
|
|
|
|
[Security]
|
|
AuthToken = ""
|