Compare commits

...
2 Commits
Author SHA1 Message Date
e4914487fc Deployed 012bf45 with MkDocs version: 1.6.1 2026-10-21 02:09:43 +00:00
0086e55429 Deployed 5b9120a with MkDocs version: 1.6.1 2026-10-21 01:48:38 +00:00
7 changed files with 51 additions and 43 deletions
+2 -1
View File
@@ -2831,7 +2831,8 @@ mid-prompt.</p>
cannot read each other's cached tokens. The server deletes the directory when the
remote session ends. A remote session that uses a server account (<code>serve.server_accounts</code>)
gets a persistent per-account cache instead, so the account's tokens outlive the
remote session.</li>
remote session. The server and the client both refuse a forwarded cache file that is not
JSON or that names a type other than a date or time, and the service then authenticates again.</li>
<li><strong>The server redacts secrets in logs.</strong> It redacts remote session IDs, service tags,
and other user values before it writes them to the log.</li>
</ul>
+1 -1
View File
@@ -4118,7 +4118,7 @@ configured proxy providers), or a <code>provider:region</code> form. See
</tr>
<tr>
<td><code>--download-processes N</code></td>
<td>Opt-in: split a large segment batch across <code>N</code> download processes, each with its own worker pool. A single process tops out around 1.3 Gb/s (Python interpreter limit); <code>2</code> reaches 2.5GbE line rate on fast CDNs. Only engages for batches of 24+ segments. Ignored while <code>--speed-limit</code> (or serve's <code>global_speed_limit</code>) is set: the cap is one shared budget, which extra processes cannot share, so the download stays in a single process. Also ignored when the service HTTP session carries state a child process cannot rebuild, such as a custom TLS adapter. The download stays in a single process instead of running with the wrong settings. Default <code>1</code>.</td>
<td>Opt-in: split a large segment batch across <code>N</code> download processes, each with its own worker pool. A single process tops out around 1.3 Gb/s (Python interpreter limit); <code>2</code> reaches 2.5GbE line rate on fast CDNs. Only engages for batches of 24+ segments. Ignored while <code>--speed-limit</code> (or serve's <code>global_speed_limit</code>) is set: the cap is a per-job budget, which extra processes cannot share, so the download stays in a single process. Also ignored when the service HTTP session carries state a child process cannot rebuild, such as a custom TLS adapter. The download stays in a single process instead of running with the wrong settings. Default <code>1</code>.</td>
</tr>
<tr>
<td><code>--continue-downloads</code></td>
@@ -2464,6 +2464,10 @@ config keys it does not know there, <code>speed_limit</code> for example. <code>
</ul>
<p>Keep a failed download's completed segment files so the next download resumes from where it
stopped instead of restarting from byte zero.</p>
<p>unshackle keeps the segments of a failed track in a <code>resume</code> directory inside the temp
directory, and the next download of the same track takes them back from there. It removes a
kept entry after 7 days, and <code>unshackle env clear temp</code> removes them all. A process that is
killed, or a job cancelled over the REST API, keeps nothing.</p>
<p>unshackle reuses only whole, fully downloaded segments. It always discards partially written
segments, and no partial-byte (<code>Range</code>) resume across runs takes place. Reuse is possible only
with proof that the segmentation did not change. The manifest URL, segment count, and byte
+5 -2
View File
@@ -2111,6 +2111,8 @@
<a href="../download/#dl"><code>dl</code></a> block. Set <code>remote: true</code> to send the <code>dl</code> and <code>search</code> runs of that
service to a <a href="#remote_services">remote server</a> without <code>--remote</code>. Add <code>server</code> to select one of
several servers. On the command line, <code>--local</code> and <code>--server</code> override these keys. A REST API job ignores both keys.
A REST API job takes the other keys that it accepts as download parameters as its defaults,
above the <code>serve</code> defaults and below the values that the request sends.
See <a href="../../../dev/rest-api/remote-sessions/#making-a-service-remote-by-default">making a service remote by default</a>.</li>
</ul>
<p>Individual services may read any additional keys they define. unshackle hands the merged result
@@ -2300,7 +2302,7 @@ is the <a href="../../../dev/rest-api/">REST API</a> section. These are the conf
<td><code>global_speed_limit</code></td>
<td>str</td>
<td><em>(unlimited)</em></td>
<td>Server-wide download speed cap, e.g. <code>10M</code>, <code>1.5G</code> or plain bytes/sec (same format as <code>speed_limit</code>). One shared budget across all concurrent jobs; the server ignores per-job speed limits while it is set.</td>
<td>Server-wide download speed cap, e.g. <code>10M</code>, <code>1.5G</code> or plain bytes/sec (same format as <code>speed_limit</code>). Each download job gets an equal share: the cap divided by the number of download job slots (2 by default, see <a href="../../../dev/rest-api/job-lifecycle/">job lifecycle</a>). A job that runs alone still gets only its share. The server ignores per-job speed limits while it is set.</td>
</tr>
<tr>
<td><code>cdm_overrides</code></td>
@@ -2348,7 +2350,8 @@ the whole file again, globs the device directories again, and swaps in the new <
continue; an API key you removed gets <code>401</code> on its next request. A file that does not parse
or validate keeps the running settings and logs the reason. A change to <code>remote_only</code>,
<code>services_refresh_interval</code>, the first PlayReady device, or any command-line flag needs
a restart, and the log says so. Windows has no <code>SIGHUP</code>: restart the server there.</p>
a restart, and the log says so. A new <code>global_speed_limit</code> applies to jobs that start after the
reload; running jobs keep their share. Windows has no <code>SIGHUP</code>: restart the server there.</p>
</div>
<p><code>server_cdm</code> decides whether the server runs the CDM licensing for that API key. Set it to
<code>true</code> to enable every service, or to a list of service tags to enable only those. It is <code>false</code>
File diff suppressed because one or more lines are too long
+38 -38
View File
@@ -2,154 +2,154 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://docs.unshackle.dev/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/creating-a-service/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/service-architecture/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/authentication/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/dashboard/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/endpoints/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/errors/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/job-lifecycle/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/quickstart/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/remote-sessions/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/configuration-file/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/installation/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/quickstart/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/cli-reference/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/downloading/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/drm-and-cdm/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/output-and-naming/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/proxies-and-vpn/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/subtitles/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/troubleshooting/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/vaults/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/config/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/drm/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/service/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/titles/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/tracks/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/directories/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/download/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/drm/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/example/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/misc/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/network/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/output/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/post-scripts/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/services/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/vaults/</loc>
<lastmod>2026-10-19</lastmod>
<lastmod>2026-10-21</lastmod>
</url>
</urlset>
BIN
View File
Binary file not shown.