Compare commits

...
2 Commits
Author SHA1 Message Date
5409e347f0 Deployed b3d586a5 with MkDocs version: 1.6.1 2026-11-04 01:28:18 +00:00
50f1c531b7 Deployed 893c81f4 with MkDocs version: 1.6.1 2026-11-04 00:09:30 +00:00
6 changed files with 64 additions and 48 deletions
+12 -2
View File
@@ -2298,7 +2298,7 @@ dashboard UI that wants history must keep its own copy.</p>
</tr>
<tr>
<td><code>/api/dashboard/services</code></td>
<td>Every service configured on this server and its load state, including the ones that failed to import. See <a href="#services">Services</a> for what configured means.</td>
<td>Every service configured on this server, its load state and its catalogue entry, including the services that failed to import. See <a href="#services">Services</a> for what configured means.</td>
</tr>
<tr>
<td><code>/api/dashboard/health</code></td>
@@ -2547,7 +2547,10 @@ limit never applies to the dashboard key, and never to <code>/api/health</code>.
</span><span id="__span-7-2"><a id="__codelineno-7-2" name="__codelineno-7-2" href="#__codelineno-7-2"></a>[{"tag": "EXAMPLE", "state": "staged", "error": null,
</span><span id="__span-7-3"><a id="__codelineno-7-3" name="__codelineno-7-3" href="#__codelineno-7-3"></a> "commit": "9cc230c98f13b83f6c6fe831595b9702d3ba2786", "staged_commit": "5f0aa17...",
</span><span id="__span-7-4"><a id="__codelineno-7-4" name="__codelineno-7-4" href="#__codelineno-7-4"></a> "staged_since": 1756908900.0, "sessions": 1, "jobs": 1,
</span><span id="__span-7-5"><a id="__codelineno-7-5" name="__codelineno-7-5" href="#__codelineno-7-5"></a> "aliases": ["EXMPL"], "geofence": ["US"], "geoblock": []}]
</span><span id="__span-7-5"><a id="__codelineno-7-5" name="__codelineno-7-5" href="#__codelineno-7-5"></a> "aliases": ["EXMPL"], "geofence": ["US"], "geoblock": [],
</span><span id="__span-7-6"><a id="__codelineno-7-6" name="__codelineno-7-6" href="#__codelineno-7-6"></a> "help": "...", "url": "https://www.service.example", "title_regex": "...", "cli_params": [...],
</span><span id="__span-7-7"><a id="__codelineno-7-7" name="__codelineno-7-7" href="#__codelineno-7-7"></a> "needs_auth": true, "auth_methods": ["cookies"], "has_search": true, "anonymous_search": false,
</span><span id="__span-7-8"><a id="__codelineno-7-8" name="__codelineno-7-8" href="#__codelineno-7-8"></a> "has_drm": true, "server_accounts": {"regions": ["gb", "us"], "global": false}}]
</span></code></pre></div>
<p>The list holds only the services configured on this server:</p>
<ol>
@@ -2573,6 +2576,13 @@ here instead of disappearing, and <code>/status</code> still counts it in the se
pull already happened, so <code>commit</code> (what runs now) and <code>staged_commit</code> (what waits) differ. It swaps in when the last job and the last remote session for that tag finish. Both commits are <code>null</code>
for a service from a plain local directory rather than a git repo.</p>
<p>Watch the <code>service</code> event rather than polling for the swap.</p>
<p>Each row also carries the service's catalogue entry: the fields that
<a href="../endpoints/#get-apiservices"><code>GET /api/services</code></a> sends, with the same meaning. A service with no loaded
module, or whose catalogue entry fails, gets only <code>help</code>, <code>url</code> and <code>title_regex</code>, all <code>null</code>.
A service whose re-import failed keeps the entry of the module that still runs.</p>
<p><code>server_accounts</code> shows when <code>serve.server_accounts</code> names the service. No API key grant
applies to it here: <code>/api/services</code> sends it only to an API key with the <code>server_accounts</code>
grant, but the dashboard key sees it for every service.</p>
<h2 id="health">Health<a class="headerlink" href="#health" title="Permanent link">&para;</a></h2>
<div class="language-text highlight"><pre><span></span><code><span id="__span-8-1"><a id="__codelineno-8-1" name="__codelineno-8-1" href="#__codelineno-8-1"></a>GET /api/dashboard/health
</span><span id="__span-8-2"><a id="__codelineno-8-2" name="__codelineno-8-2" href="#__codelineno-8-2"></a>{"generated_at": 1756909350.4, "status": "ok",
+6 -6
View File
@@ -4303,12 +4303,12 @@ Raises:
<a href="#unshackle.core.drm.ClearKeyCENC.mp4decrypt_key_args" class="headerlink" title="Permanent link">&para;</a></h3>
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">mp4decrypt_key_args</span><span class="p">()</span>
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">mp4decrypt_key_args</span><span class="p">(</span><span class="n">track_kids</span><span class="o">=</span><span class="kc">None</span><span class="p">)</span>
</span></code></pre></div>
<div class="doc doc-contents ">
<p>Build the mp4decrypt --key arguments for every content key.</p>
<p>Build the mp4decrypt --key arguments for every content key, and by track ID for each <code>track_kids</code> KID.</p>
</div>
@@ -5531,12 +5531,12 @@ track exactly. A PSSH can name the KIDs of other renditions too.</p>
<a href="#unshackle.core.drm.PlayReady.mp4decrypt_key_args" class="headerlink" title="Permanent link">&para;</a></h3>
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">mp4decrypt_key_args</span><span class="p">()</span>
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">mp4decrypt_key_args</span><span class="p">(</span><span class="n">track_kids</span><span class="o">=</span><span class="kc">None</span><span class="p">)</span>
</span></code></pre></div>
<div class="doc doc-contents ">
<p>Build the mp4decrypt --key arguments for every content key and the zero-KID fallback.</p>
<p>Build the mp4decrypt --key arguments for every content key, the zero-KID and the track ID fallbacks.</p>
</div>
@@ -6093,12 +6093,12 @@ track exactly. A PSSH can name the KIDs of other renditions too.</p>
<a href="#unshackle.core.drm.Widevine.mp4decrypt_key_args" class="headerlink" title="Permanent link">&para;</a></h3>
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">mp4decrypt_key_args</span><span class="p">()</span>
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">mp4decrypt_key_args</span><span class="p">(</span><span class="n">track_kids</span><span class="o">=</span><span class="kc">None</span><span class="p">)</span>
</span></code></pre></div>
<div class="doc doc-contents ">
<p>Build the mp4decrypt --key arguments for every content key and the zero-KID fallback.</p>
<p>Build the mp4decrypt --key arguments for every content key, the zero-KID and the track ID fallbacks.</p>
</div>
+7 -1
View File
@@ -2386,6 +2386,11 @@ case-insensitively. <code>"mp4decrypt"</code> selects Bento4's mp4decrypt, and <
(including <code>"shaka"</code>) selects shaka-packager. When the value is a dict, unshackle compares the
service tag case-insensitively and uses the <code>default</code> entry as the fallback.</p>
<p>unshackle decrypts HLS AES-128 ClearKey in-process and ignores this setting.</p>
<p>mp4decrypt finds a content key by the KID in the first <code>sinf</code> box of the track. When that box
has no CENC <code>tenc</code> (for example, a PIFF <code>sinf</code> before the CENC one), unshackle also gives
mp4decrypt the content key of that KID by track ID. When mp4decrypt copies a track through
still encrypted, unshackle decrypts it again with shaka-packager and logs a warning. This
retry needs shaka-packager installed.</p>
<div class="tabbed-set tabbed-alternate" data-tabs="1:2"><input checked="checked" id="__tabbed_1_1" name="__tabbed_1" type="radio" /><input id="__tabbed_1_2" name="__tabbed_1" type="radio" /><div class="tabbed-labels"><label for="__tabbed_1_1">Global</label><label for="__tabbed_1_2">Per-service</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
@@ -2411,7 +2416,8 @@ segment goes away. The output file is the same either way.</p>
service (or as the default); with <code>shaka</code> the option has no effect, because shaka-packager
cannot decrypt a segment without its init segment. It applies to DASH tracks and to HLS
tracks that use one init segment, one <code>EXT-X-KEY</code> and no <code>EXT-X-DISCONTINUITY</code>. Every other
track keeps the whole-file decryption.</p>
track keeps the whole-file decryption, and so does a track whose init segment mp4decrypt
cannot key by KID when no content key has that KID.</p>
<div class="admonition note">
<p class="admonition-title">No resume</p>
<p>A track that decrypts segment by segment always downloads from the start.
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-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/creating-a-service/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/service-architecture/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/authentication/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/dashboard/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/endpoints/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/errors/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/job-lifecycle/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/quickstart/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/remote-sessions/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/configuration-file/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/installation/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/quickstart/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/cli-reference/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/downloading/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/drm-and-cdm/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/output-and-naming/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/proxies-and-vpn/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/subtitles/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/troubleshooting/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/vaults/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/config/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/drm/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/service/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/titles/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/tracks/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/directories/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/download/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/drm/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/example/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/misc/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/network/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/output/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/post-scripts/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/services/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/vaults/</loc>
<lastmod>2026-11-03</lastmod>
<lastmod>2026-11-04</lastmod>
</url>
</urlset>
BIN
View File
Binary file not shown.