{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "MEDIA_ENABLED": { "type": "boolean", "default": true, "x-aliases": ["SAVE_MEDIA", "USE_MEDIA", "USE_YTDLP", "FETCH_MEDIA"], "description": "Enable media downloading with yt-dlp" }, "MEDIA_BINARY": { "type": "string", "default": "yt-dlp", "x-aliases": ["YOUTUBEDL_BINARY", "YTDLP_BINARY", "YOUTUBE_DL_BINARY"], "description": "Path to yt-dlp binary" }, "MEDIA_TIMEOUT": { "type": "integer", "default": 3600, "minimum": 30, "x-fallback": "TIMEOUT", "description": "Timeout for media downloads in seconds" }, "MEDIA_MAX_SIZE": { "type": "string", "default": "750m", "pattern": "^\\d+[kmgKMG]?$", "description": "Maximum file size for media downloads" }, "MEDIA_CHECK_SSL_VALIDITY": { "type": "boolean", "default": true, "x-fallback": "CHECK_SSL_VALIDITY", "x-aliases": ["YTDLP_CHECK_SSL_VALIDITY"], "description": "Whether to verify SSL certificates" }, "MEDIA_ARGS": { "type": "array", "items": {"type": "string"}, "default": [ "--write-info-json", "--write-thumbnail", "--write-sub", "--embed-subs", "--write-auto-sub" ], "x-aliases": ["YTDLP_ARGS"], "description": "Default yt-dlp arguments" }, "MEDIA_EXTRA_ARGS": { "type": "string", "default": "", "x-aliases": ["YTDLP_EXTRA_ARGS"], "description": "Extra arguments for yt-dlp (space-separated)" } } }