mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-26 10:55:08 +00:00
feat(api): sync /api/download with dl CLI flags and add serve.* defaults
- Wire --no-proxy-download through download_manager + handlers + swagger - Add tag/proxy/tmdb_id/animeapi_id/enrich/worst to DEFAULT_DOWNLOAD_PARAMS - Normalize `slow` (bool/"MIN-MAX" string/list) to tuple before invoking dl.result - Overlay any /api/download flag declared under `serve:` in unshackle.yaml as a default (downloads, workers, best_available, etc.); request body still wins - Quiet successful worker stderr from `warning` to `debug` (kept under job.worker_stderr for ?full=true) - Include HYBRID in range validator - Document new flags + overlay layering + max_concurrent_downloads / download_job_retention_hours
This commit is contained in:
@@ -522,6 +522,14 @@ serve:
|
||||
# playready_devices: # PlayReady device paths (auto-populated from directories.prds)
|
||||
# - '/path/to/device.prd'
|
||||
|
||||
# Optional: any /api/download flag can be set here as a server-side default.
|
||||
# Per-request body values still win. Useful for raising concurrency without
|
||||
# changing every client call. Full list of accepted keys: see docs/API.md.
|
||||
# downloads: 4 # parallel tracks per download job
|
||||
# workers: 16 # threads per track segment fetch
|
||||
# best_available: true
|
||||
# no_proxy_download: false
|
||||
|
||||
# Remote Services Configuration
|
||||
# Connect to a remote unshackle server (unshackle serve) to use its services
|
||||
# without needing the service code locally. Use with: unshackle dl --remote
|
||||
|
||||
Reference in New Issue
Block a user