mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 07:25:08 +00:00
docs: give each dl and serve flag and the error envelope one owner page and tighten the cli-reference test
This commit is contained in:
@@ -32,10 +32,10 @@ Where the file lives, how unshackle discovers it, and how to edit it:
|
||||
| [Directories](directories.md) | `directories`, `filenames`, `services_repo_force` |
|
||||
| [Services & authentication](services.md) | `services`, `credentials`, `firefox_cookies`, `remote_services`, `serve` |
|
||||
| [Download & processing](download.md) | `dl`, `continue_downloads`, `merge_segments`, `subtitle`, `audio`, `muxing`, `language_tags`, `dual_multi_mode`, `generate_dv_mode`, `hdr10plus_probe` |
|
||||
| [Output & naming](output.md) | `output_template`, `tag`, `tag_rules`, `codec_names`, `tag_group_name`, `tag_imdb_tmdb`, `chapter_fallback_name`, `unicode_filenames`, `filename_replacements` |
|
||||
| [Output & naming options](output.md) | `output_template`, `tag`, `tag_rules`, `codec_names`, `tag_group_name`, `tag_imdb_tmdb`, `chapter_fallback_name`, `unicode_filenames`, `filename_replacements` |
|
||||
| [DRM & CDM](drm.md) | `cdm`, `remote_cdm`, `decryption`, `decrypt_segments` |
|
||||
| [Network & proxy](network.md) | `network`, `headers`, `proxy_providers` |
|
||||
| [Key vaults](vaults.md) | `key_vaults`, `vault_timeout` |
|
||||
| [Key vault options](vaults.md) | `key_vaults`, `vault_timeout` |
|
||||
| [Post-scripts](post-scripts.md) | `post_scripts` |
|
||||
| [External API keys](misc.md#external-api-keys) | `omdb_api_key`, `tmdb_api_key`, `tvdb_api_key`, `tvdb_pin`, `tvdb_order`, `simkl_client_id`, `metadata_providers`, `anilist_title_language`, `disable_metadata`, `decrypt_labs_api_key`, `ipinfo_api_key` |
|
||||
| [Caching & updates](misc.md#caching-updates) | `title_cache_enabled`, `title_cache_time`, `title_cache_max_retention`, `update_checks`, `update_check_interval` |
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
# Network & Proxy { #network-proxy }
|
||||
|
||||
Keys that control the HTTP client, the headers that it sends and the proxy providers. For how
|
||||
`--proxy` picks a proxy, see the [Proxies & VPN guide](../../guide/proxies-and-vpn.md).
|
||||
|
||||
## `network`
|
||||
|
||||
- **Type:** `dict` · **Default:** `{}`
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Output & Naming { #output-naming }
|
||||
# Output & Naming Options { #output-naming }
|
||||
|
||||
Keys that control the output filename, the per-title subfolder, release-group tagging, and
|
||||
filename character handling. For how unshackle builds a path, and for worked naming examples, see
|
||||
|
||||
@@ -161,8 +161,7 @@ works.
|
||||
|
||||
`timeout` is the time in seconds that the client waits for data from the server. The
|
||||
default is `120`. The server sends a heartbeat every 30 seconds while it gets titles, tracks
|
||||
or licences, so a slow service does not cause a timeout. Increase `timeout` only when the
|
||||
server runs an older version that sends no heartbeat. Give a number of seconds. With a
|
||||
or licences, so a slow service does not cause a timeout. Give a number of seconds. With a
|
||||
value below 30 the client can time out before the first heartbeat. `0` means the default.
|
||||
|
||||
In `--remote` mode unshackle turns the server's service list into synthetic CLI
|
||||
@@ -190,7 +189,7 @@ is the [Server](../../dev/rest-api/index.md) section of the user guide. These ar
|
||||
| `remote_only` | bool | `false` | Expose only the [remote session routes](../../dev/rest-api/remote-sessions.md#routes) and disable the rest of the REST API. |
|
||||
| `dashboard` | dict | *(unset)* | Server dashboard: `key` is the API key for the read-only `/api/dashboard/` endpoints (status, remote sessions, remote session logs, jobs, keys, services, health, logs, SSE events). Unset leaves those routes unregistered, and a reload that removes the key makes them answer `404`. See [dashboard endpoints](../../dev/rest-api/dashboard.md). |
|
||||
| `session_ttl` | int (s) | `300` | Seconds a remote session can stay idle before it expires. An open session channel, or a request that works on the remote session, keeps it from expiring, so it does not expire during a long download. A remote session that still logs in can stay idle for the larger of this value and 600 seconds. A client that closes or loses its channel and does not come back loses its remote session sooner: see [Client presence](../../dev/rest-api/remote-sessions.md#client-presence). |
|
||||
| `max_sessions` | int or null | `100` | Maximum concurrent remote sessions; at the cap the server evicts the least recently used remote session of the API key that holds the most, and a remote session that a request works on goes last. Set it to `null` or `0` for no limit, which is also what `/api/dashboard/status` then reports, so a dashboard can tell "no cap" from a cap that happens to sit at the default. |
|
||||
| `max_sessions` | int or null | `100` | Maximum concurrent remote sessions. At the cap, a new remote session ends one: the server picks first among the remote sessions that no request works on, then among those of the API key that holds the most, and takes the least recently used. Set it to `null` or `0` for no limit, which is also what `/api/dashboard/status` then reports, so a dashboard can tell "no cap" from a cap that happens to sit at the default. |
|
||||
| `history_limit` | int | `100` | How many finished jobs to retain in history. |
|
||||
| `compression_level` | int | `1` | gzip level for responses. |
|
||||
| `services_refresh_interval` | int (s) | `0` | How often the server pulls the git-backed service repositories in `directories.services` and hot-reloads the services that changed. `0` turns it off. A service with a running or queued job, or a live remote session, is staged and swaps to the new code as soon as its last job and session finish. |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Key Vaults { #key-vaults }
|
||||
# Key Vault Options { #key-vaults }
|
||||
|
||||
Two config keys configure the key vaults. What a vault does during a download, the decode
|
||||
check and the `kv` commands are in the [Vaults](../../guide/vaults.md) guide.
|
||||
|
||||
Reference in New Issue
Block a user