Deployed 87b58190 with MkDocs version: 1.6.1

This commit is contained in:
2026-12-05 03:00:15 +00:00
parent 56cac92f20
commit 6ed040a6dd
44 changed files with 17665 additions and 13063 deletions
+351 -141
View File
@@ -347,28 +347,6 @@
<li class="md-tabs__item">
<a href="../../api/service/" class="md-tabs__link">
API Reference
</a>
</li>
</ul>
</div>
</nav>
@@ -614,6 +592,8 @@
@@ -886,6 +866,171 @@
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_9" >
<div class="md-nav__link md-nav__container">
<a href="../../../dev/rest-api/" class="md-nav__link ">
<span class="md-ellipsis">
Server
</span>
</a>
<label class="md-nav__link " for="__nav_3_9" id="__nav_3_9_label" tabindex="0">
<span class="md-nav__icon md-icon"></span>
</label>
</div>
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_3_9_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_3_9">
<span class="md-nav__icon md-icon"></span>
Server
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../../../dev/rest-api/authentication/" class="md-nav__link">
<span class="md-ellipsis">
Authentication
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../../dev/rest-api/dashboard/" class="md-nav__link">
<span class="md-ellipsis">
Dashboard
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../../guide/remote-sessions/" class="md-nav__link">
<span class="md-ellipsis">
Remote Sessions
</span>
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
@@ -1177,6 +1322,34 @@
</span>
</a>
<nav class="md-nav" aria-label="subtitle">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#sdh-engines" class="md-nav__link">
<span class="md-ellipsis">
SDH engines
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#conversion-backends" class="md-nav__link">
<span class="md-ellipsis">
Conversion backends
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
@@ -1268,7 +1441,7 @@
<span class="md-ellipsis">
Output & Naming
Output & Naming Options
@@ -1352,7 +1525,7 @@
<span class="md-ellipsis">
Key Vaults
Key Vault Options
@@ -1472,6 +1645,8 @@
@@ -1583,14 +1758,6 @@
@@ -1616,9 +1783,8 @@
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5_3" >
<div class="md-nav__link md-nav__container">
<a href="../../../dev/rest-api/" class="md-nav__link ">
<label class="md-nav__link" for="__nav_5_3" id="__nav_5_3_label" tabindex="0">
<span class="md-ellipsis">
@@ -1632,14 +1798,8 @@
</a>
<label class="md-nav__link " for="__nav_5_3" id="__nav_5_3_label" tabindex="0">
<span class="md-nav__icon md-icon"></span>
</label>
</div>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_3_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_5_3">
@@ -1653,8 +1813,6 @@
<ul class="md-nav__list" data-md-scrollfix>
@@ -1668,35 +1826,7 @@
<span class="md-ellipsis">
Quick Start
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../../dev/rest-api/authentication/" class="md-nav__link">
<span class="md-ellipsis">
Authentication
REST API Quick Start
@@ -1773,14 +1903,14 @@
<li class="md-nav__item">
<a href="../../../dev/rest-api/dashboard/" class="md-nav__link">
<a href="../../../dev/rest-api/errors/" class="md-nav__link">
<span class="md-ellipsis">
Dashboard
Error Responses
@@ -1808,7 +1938,7 @@
<span class="md-ellipsis">
Remote Sessions
Remote Session Protocol
@@ -1822,55 +1952,20 @@
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="../../../dev/rest-api/errors/" class="md-nav__link">
<span class="md-ellipsis">
Error Responses
</span>
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</li>
@@ -1897,17 +1992,17 @@
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_6" >
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5_4" >
<label class="md-nav__link" for="__nav_6" id="__nav_6_label" tabindex="0">
<label class="md-nav__link" for="__nav_5_4" id="__nav_5_4_label" tabindex="0">
<span class="md-ellipsis">
API Reference
Python API
@@ -1918,12 +2013,12 @@
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_6_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_6">
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_4_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_5_4">
<span class="md-nav__icon md-icon"></span>
API Reference
Python API
</label>
@@ -2075,6 +2170,14 @@
</li>
</ul>
</nav>
</li>
</ul>
</nav>
@@ -2172,6 +2275,34 @@
</span>
</a>
<nav class="md-nav" aria-label="subtitle">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#sdh-engines" class="md-nav__link">
<span class="md-ellipsis">
SDH engines
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#conversion-backends" class="md-nav__link">
<span class="md-ellipsis">
Conversion backends
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
@@ -2260,14 +2391,14 @@
<h1 id="download-processing">Download &amp; processing<a class="headerlink" href="#download-processing" title="Permanent link">&para;</a></h1>
<h1 id="download-processing">Download &amp; Processing<a class="headerlink" href="#download-processing" title="Permanent link">&para;</a></h1>
<h2 id="dl"><code>dl</code><a class="headerlink" href="#dl" title="Permanent link">&para;</a></h2>
<ul>
<li><strong>Type:</strong> <code>dict</code> &nbsp;·&nbsp; <strong>Default:</strong> <code>{}</code></li>
</ul>
<p>Persistent defaults for the <code>dl</code> command. unshackle uses the block as Click's <code>default_map</code>,
so you can give any <code>dl</code> flag a default here. See <a href="../../../guide/downloading/">Downloading</a> and the
<a href="../../../guide/cli-reference/">CLI Reference</a> for what each flag does.</p>
so you can give any <code>dl</code> flag a default here. See the
<a href="../../../guide/cli-reference/#dl">CLI Reference</a> for what each flag does.</p>
<p><strong>Config key naming.</strong> A config key is the flag's long name with dashes replaced by
underscores (<code>--best-available</code> → <code>best_available</code>, <code>--sub-format</code> → <code>sub_format</code>). A few
config keys use the flag's internal destination and not its visible name. Set these exact
@@ -2293,6 +2424,10 @@ config keys:</p>
<td><code>tmdb_id</code></td>
</tr>
<tr>
<td><code>--tvdb</code></td>
<td><code>tvdb_id</code></td>
</tr>
<tr>
<td><code>--imdb</code></td>
<td><code>imdb_id</code></td>
</tr>
@@ -2310,7 +2445,11 @@ config keys:</p>
</tr>
<tr>
<td><code>--cdm-only</code> / <code>--vaults-only</code></td>
<td><code>cdm_only</code></td>
<td><code>cdm_only</code> (<code>true</code> for <code>--cdm-only</code>, <code>false</code> for <code>--vaults-only</code>)</td>
</tr>
<tr>
<td><code>--cdm</code></td>
<td><code>cdm_name</code></td>
</tr>
</tbody>
</table>
@@ -2686,7 +2825,7 @@ in or writes them as sidecar files. See <a href="../../../guide/subtitles/">Subt
<td><code>sdh_method</code></td>
<td>str</td>
<td><code>"auto"</code></td>
<td>SDH-stripping backend to use.</td>
<td>The engine that strips SDH cues: <code>auto</code>, <code>subby</code>, <code>subtitleedit</code> or <code>filter-subs</code>. See <a href="#sdh-engines">SDH engines</a>.</td>
</tr>
<tr>
<td><code>preserve_formatting</code></td>
@@ -2698,13 +2837,13 @@ in or writes them as sidecar files. See <a href="../../../guide/subtitles/">Subt
<td><code>convert_before_strip</code></td>
<td>bool</td>
<td><code>true</code></td>
<td>Convert to the working format before stripping SDH.</td>
<td>Convert a subtitle that is not SRT to SRT before <code>filter-subs</code> strips SDH cues, also when <code>filter-subs</code> runs as the fallback of another engine. With <code>false</code>, <code>filter-subs</code> leaves a subtitle that is not SRT as it is.</td>
</tr>
<tr>
<td><code>conversion_method</code></td>
<td>str</td>
<td><code>"auto"</code></td>
<td>Subtitle conversion backend.</td>
<td>The first conversion backend to try: <code>auto</code>, <code>subtitleedit</code>, <code>subby</code>, <code>pysubs2</code> or <code>pycaption</code>. <code>auto</code> ranks the backends for each conversion. A named backend goes first, and unshackle uses the others only when it cannot convert the pair. See <a href="#conversion-backends">Conversion backends</a>.</td>
</tr>
<tr>
<td><code>output_mode</code></td>
@@ -2722,7 +2861,7 @@ in or writes them as sidecar files. See <a href="../../../guide/subtitles/">Subt
<td><code>type_priority</code></td>
<td>list</td>
<td><em>(unset)</em></td>
<td>Ordered ranking of subtitle types (<code>forced</code>, <code>normal</code>, <code>sdh</code>; CC counts as SDH). Types you leave out fall to the end.</td>
<td>Ordered ranking of subtitle types (<code>forced</code>, <code>normal</code>, <code>sdh</code>; CC counts as SDH). Types you leave out fall to the end. Unset keeps the order forced, normal, SDH.</td>
</tr>
<tr>
<td><code>group_by</code></td>
@@ -2755,6 +2894,76 @@ in or writes them as sidecar files. See <a href="../../../guide/subtitles/">Subt
</span><span id="__span-6-3"><a id="__codelineno-6-3" name="__codelineno-6-3" href="#__codelineno-6-3"></a><span class="w"> </span><span class="nt">output_mode</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">sidecar</span>
</span><span id="__span-6-4"><a id="__codelineno-6-4" name="__codelineno-6-4" href="#__codelineno-6-4"></a><span class="w"> </span><span class="nt">sidecar_format</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">srt</span>
</span></code></pre></div>
<h3 id="sdh-engines">SDH engines<a class="headerlink" href="#sdh-engines" title="Permanent link">&para;</a></h3>
<p>Every engine removes bracketed sound effects (<code>[MUSIC PLAYING]</code>, <code>(door creaks)</code>), speaker
labels (<code>MAN:</code>) and font tags, and keeps plain dialogue and inline <code>&lt;i&gt;</code> styling. They differ
on music and lyric lines. unshackle compares the value case-sensitively, and an unknown value
gives <code>filter-subs</code>.</p>
<table>
<thead>
<tr>
<th><code>sdh_method</code></th>
<th>Engine that runs</th>
<th>Lyric lines (<code>♪ ... ♪</code>)</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>auto</code></td>
<td><code>subby</code> for an SRT track. For any other format, SubtitleEdit when you install it and <code>conversion_method</code> is <code>auto</code> or <code>subtitleedit</code>, otherwise <code>filter-subs</code>.</td>
<td>Kept, unless the fallback reaches <code>filter-subs</code>.</td>
</tr>
<tr>
<td><code>subby</code></td>
<td><code>subby</code>, but only for a track that is already SRT. Any other format falls through to <code>filter-subs</code>.</td>
<td>Kept for SRT, removed otherwise.</td>
</tr>
<tr>
<td><code>subtitleedit</code></td>
<td>SubtitleEdit when you install it, otherwise <code>filter-subs</code>.</td>
<td>Kept with SubtitleEdit, removed without it.</td>
</tr>
<tr>
<td><code>filter-subs</code></td>
<td><code>filter-subs</code> always.</td>
<td>Removed.</td>
</tr>
</tbody>
</table>
<h3 id="conversion-backends">Conversion backends<a class="headerlink" href="#conversion-backends" title="Permanent link">&para;</a></h3>
<table>
<thead>
<tr>
<th><code>conversion_method</code></th>
<th>Best at</th>
<th>Requires</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>subtitleedit</code></td>
<td>Highest fidelity; keeps positioning and italics</td>
<td>SubtitleEdit installed</td>
</tr>
<tr>
<td><code>subby</code></td>
<td>SRT output with clean-up</td>
<td>-</td>
</tr>
<tr>
<td><code>pysubs2</code></td>
<td>Best fidelity for styled SSA/ASS</td>
<td>- (pure Python, always available)</td>
</tr>
<tr>
<td><code>pycaption</code></td>
<td>Last-resort fallback; flattens styling</td>
<td>-</td>
</tr>
</tbody>
</table>
<p>What each backend keeps of the styling is in
<a href="../../../guide/subtitles/#what-each-backend-preserves">What each backend preserves</a>.</p>
<div class="admonition note">
<p class="admonition-title"><code>group_by</code> track order</p>
<table>
@@ -2878,7 +3087,7 @@ bitrate alone, with those same Atmos/descriptive rules still applied.</p>
<td><code>default_language</code></td>
<td>dict</td>
<td><code>{}</code></td>
<td>Force which language is flagged <em>default</em> per track type, e.g. <code>{audio: en, subtitle: en}</code>. A tag with a region, such as <code>en-US</code>, matches only that variant.</td>
<td>Force which language is flagged <em>default</em> per track type (<code>video</code>, <code>audio</code>, <code>subtitle</code>), e.g. <code>{audio: en, subtitle: en}</code>. A tag with a region, such as <code>en-US</code>, matches only that variant.</td>
</tr>
<tr>
<td><code>default_subtitle_type</code></td>
@@ -2932,7 +3141,8 @@ bitrate alone, with those same Atmos/descriptive rules still applied.</p>
</ul>
<p>Language-tag remapping and the rule engine behind the <code>{lang_tag}</code> filename variable. When a
<code>rules</code> list is present, unshackle evaluates each rule in order and uses the first match's
<code>tag</code>. A rule can examine:</p>
<code>tag</code>. Every condition of a rule must match. When no rule matches, <code>{lang_tag}</code> is empty. A
rule can examine:</p>
<table>
<thead>
<tr>
@@ -2973,7 +3183,7 @@ boolean condition. It logs a warning in each of these cases and tries the next r
<p><code>dual</code>, <code>multi</code> and <code>dubbed</code> carry the same meaning as the
<a href="#dual_multi_mode">filename variables of those names</a>. Pair one with a language to name a
release yourself, in place of the fixed <code>DUAL</code>, <code>MULTi</code> and <code>DUBBED</code> text. A rule that names
<code>dubbed: true</code> and a language tags a localized dub without tagging a native release the same way.</p>
<code>dubbed: true</code> and a language tags a localised dub without tagging a native release the same way.</p>
<div class="language-yaml highlight"><pre><span></span><code><span id="__span-11-1"><a id="__codelineno-11-1" name="__codelineno-11-1" href="#__codelineno-11-1"></a><span class="nt">language_tags</span><span class="p">:</span>
</span><span id="__span-11-2"><a id="__codelineno-11-2" name="__codelineno-11-2" href="#__codelineno-11-2"></a><span class="w"> </span><span class="nt">rules</span><span class="p">:</span>
</span><span id="__span-11-3"><a id="__codelineno-11-3" name="__codelineno-11-3" href="#__codelineno-11-3"></a><span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">audio</span><span class="p">:</span><span class="w"> </span><span class="p p-Indicator">[</span><span class="nv">ja</span><span class="p p-Indicator">]</span>
@@ -3128,7 +3338,7 @@ parallel, with no more at a time than <code>--workers</code> (or <code>dl.worker
<div class="language-yaml highlight"><pre><span></span><code><span id="__span-14-1"><a id="__codelineno-14-1" name="__codelineno-14-1" href="#__codelineno-14-1"></a><span class="nt">hdr10plus_probe</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
</span></code></pre></div>
<p>A remote server probes its tracks before it sends them, so the setting on the server applies to
remote downloads and to the REST API.</p>
remote sessions and to the REST API.</p>
<h2 id="generate_dv_mode"><code>generate_dv_mode</code><a class="headerlink" href="#generate_dv_mode" title="Permanent link">&para;</a></h2>
<ul>
<li><strong>Type:</strong> <code>str</code> &nbsp;·&nbsp; <strong>Default:</strong> <code>v29</code></li>
@@ -3162,7 +3372,7 @@ same peak and letterbox area. They differ in the scene average, which the TV use
</span></code></pre></div>
<p>Dolby Vision that unshackle measures from the decoded video uses its measured average in all modes.
<code>v40</code> raises the lowest average to about 10 nits, and <code>legacy</code> is the same as <code>v29</code>.</p>
<p>The setting applies on the machine that runs the hybrid step: the client for a remote download, the
<p>The setting applies on the machine that runs the hybrid step: the client for a remote session, the
server for a REST API job.</p>
@@ -3218,13 +3428,13 @@ server for a REST API job.</p>
<a href="../output/" class="md-footer__link md-footer__link--next" aria-label="Next: Output &amp; Naming">
<a href="../output/" class="md-footer__link md-footer__link--next" aria-label="Next: Output &amp; Naming Options">
<div class="md-footer__title">
<span class="md-footer__direction">
Next
</span>
<div class="md-ellipsis">
Output & Naming
Output & Naming Options
</div>
</div>
<div class="md-footer__button md-icon">