Compare commits

...
4 Commits
Author SHA1 Message Date
26560f6295 Deployed 96c3840b with MkDocs version: 1.6.1 2026-11-01 04:57:44 +00:00
14cad5c7ff Deployed 86f26c31 with MkDocs version: 1.6.1 2026-11-01 04:05:50 +00:00
98886537a3 Deployed 15e46d8b with MkDocs version: 1.6.1 2026-11-01 03:42:41 +00:00
585180ab3b Deployed f9c1c3d3 with MkDocs version: 1.6.1 2026-10-31 22:35:29 +00:00
10 changed files with 115 additions and 43 deletions
+2
View File
@@ -2330,6 +2330,8 @@ and contents, and <code>unshackle env info</code> to show where unshackle stores
file: a missing header line, a byte-order mark, spaces in place of tabs, and
rows a text editor broke. unshackle refuses a JSON export. Export the cookies
again in Netscape format.</p>
<p>unshackle sends each cookie only to the host and path that its row names, as a
browser does. A domain that starts with a dot also covers its subdomains.</p>
</li>
<li>
<p><strong>Credentials</strong>: store a username and password per service in your config:</p>
+12 -2
View File
@@ -2747,12 +2747,12 @@ For an episode with no on-screen name, <code>{episode_name?}</code> and its adja
</tr>
<tr>
<td><code>quality</code></td>
<td>Resolution with scan suffix</td>
<td>Standard resolution with scan suffix</td>
<td><code>1080p</code>, <code>2160p</code>, <code>576i</code></td>
</tr>
<tr>
<td><code>resolution</code></td>
<td>Resolution number only</td>
<td>Standard resolution number only</td>
<td><code>1080</code></td>
</tr>
<tr>
@@ -2793,6 +2793,16 @@ For an episode with no on-screen name, <code>{episode_name?}</code> and its adja
</tbody>
</table>
<div class="admonition note">
<p class="admonition-title"><code>quality</code> and <code>resolution</code> use the standard height</p>
<p>unshackle names a video by the nearest standard height (4320, 2160, 1440, 1080, 720, 576, 540,
480, 360 or 240) when it is within 10%. It measures the short side and the height that a 16:9
picture of the same width has, and uses the larger one. So a cropped 1920x800, a padded
1920x1088 and a 1080x1920 portrait video are all <code>1080p</code>. A short side within 16 lines of
2160, 1440 or 1080 gives that height, so an ultrawide 2560x1080 is <code>1080p</code>. A size with no
standard height near it, such as 1600x900, keeps its own height. <code>dl -q</code> and the
<code>dl --export</code> file name use the same rule.</p>
</div>
<div class="admonition note">
<p class="admonition-title">How <code>language_tags</code> rules match</p>
<p>unshackle tries the rules in order, and they compare languages with the same <a href="../downloading/#exact-vs-fuzzy-matching">matching rules</a> as <code>-l</code>: a rule condition of <code>en</code> matches <code>en-US</code>, <code>en-GB</code>, and any other <code>en-*</code> form, but <code>es-419</code> matches only <code>es-419</code>. Within a single rule, <strong>all</strong> conditions must match (AND logic) for it to apply. The first rule that fully matches wins. If none match, unshackle removes <code>{lang_tag?}</code> from the filename cleanly.</p>
</div>
+10
View File
@@ -3083,6 +3083,12 @@ relevant font packages.</p>
<td>a list of languages</td>
<td>Languages to sort to the top. The rest keep the default order. Nothing is removed.</td>
</tr>
<tr>
<td><code>dedupe_codecs</code></td>
<td><em>(unset)</em></td>
<td>a list of codecs, e.g. <code>[VTT, STPP, WVTT]</code></td>
<td>Keep one copy of a subtitle that the service sends in several codecs: the earliest listed codec wins.</td>
</tr>
</tbody>
</table>
<h3 id="which-settings-to-change">Which settings to change<a class="headerlink" href="#which-settings-to-change" title="Permanent link">&para;</a></h3>
@@ -3117,6 +3123,10 @@ only when you want something the defaults do not do:</p>
<td><code>strip_sdh: false</code></td>
</tr>
<tr>
<td>One copy of each subtitle when the service sends the same one in several codecs</td>
<td><code>dedupe_codecs: [VTT, STPP, WVTT]</code></td>
</tr>
<tr>
<td>One backend for every conversion, whatever you install</td>
<td><code>conversion_method: &lt;backend&gt;</code></td>
</tr>
BIN
View File
Binary file not shown.
+43
View File
@@ -2947,6 +2947,17 @@
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#unshackle.core.tracks.Tracks.dedupe_subtitle_codecs" class="md-nav__link">
<span class="md-ellipsis">
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code>&nbsp;dedupe_subtitle_codecs
</span>
</a>
</li>
<li class="md-nav__item">
@@ -4431,6 +4442,17 @@
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#unshackle.core.tracks.Tracks.dedupe_subtitle_codecs" class="md-nav__link">
<span class="md-ellipsis">
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code>&nbsp;dedupe_subtitle_codecs
</span>
</a>
</li>
<li class="md-nav__item">
@@ -8416,6 +8438,27 @@ set, this method skips such a track and logs how many it skipped.</p>
<div class="doc doc-object doc-function">
<h3 id="unshackle.core.tracks.Tracks.dedupe_subtitle_codecs" class="doc doc-heading">
<code class="doc-symbol doc-symbol-heading doc-symbol-method"></code> <span class="doc doc-object-name doc-function-name">dedupe_subtitle_codecs</span>
<a href="#unshackle.core.tracks.Tracks.dedupe_subtitle_codecs" 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">dedupe_subtitle_codecs</span><span class="p">(</span><span class="n">priority</span><span class="p">)</span>
</span></code></pre></div>
<div class="doc doc-contents ">
<p>Drop a subtitle when the same language, flag set and name exists in a codec earlier in priority.
A subtitle in an unlisted codec is always kept.</p>
</div>
</div>
<div class="doc doc-object doc-function">
<h3 id="unshackle.core.tracks.Tracks.sort_videos" class="doc doc-heading">
<code class="doc-symbol doc-symbol-heading doc-symbol-method"></code> <span class="doc doc-object-name doc-function-name">sort_videos</span>
@@ -2595,6 +2595,12 @@ in or writes them as sidecar files. See <a href="../../../guide/subtitles/">Subt
<td><em>(unset)</em></td>
<td>Languages to sort to the top, in the order you give. The rest keep the default order: original language first, then alphabetical. Nothing is removed.</td>
</tr>
<tr>
<td><code>dedupe_codecs</code></td>
<td>list</td>
<td><em>(unset)</em></td>
<td>Subtitle codecs in order of preference, by value or name, for example <code>[VTT, STPP, WVTT]</code>. When tracks of the same language, forced/SDH/CC type and name come in several listed codecs, unshackle drops the ones in a later codec. It always keeps codecs you leave out. Unset keeps every track.</td>
</tr>
</tbody>
</table>
<div class="language-yaml highlight"><pre><span></span><code><span id="__span-5-1"><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a><span class="nt">subtitle</span><span class="p">:</span>
+3 -2
View File
@@ -2265,8 +2265,9 @@ order and the first match wins. If no rule matches, the global <code>tag</code>
<p>Matching is exact, and <code>hdr</code> is a composite label for Dolby Vision titles: a DV title with
an HDR10 base layer gives <code>DV.HDR</code>, and with an HDR10+ base layer <code>DV.HDR10P</code>. Plain <code>DV</code>
does <strong>not</strong> match those. Name every variant you want, as the example above does. Note
also that HDR10 gives <code>HDR</code>, not <code>HDR10</code>. The full set of values is <code>HDR</code>, <code>HDR10P</code>, <code>DV</code>,
<code>DV.HDR</code>, <code>DV.HDR10P</code>, and <code>HLG</code>, as listed in the
also that HDR10 gives <code>HDR</code>, not <code>HDR10</code>, and so does a PQ video track with no HDR10
metadata. The full set of values is <code>HDR</code>, <code>HDR10P</code>, <code>DV</code>, <code>DV.HDR</code>, <code>DV.HDR10P</code>, and
<code>HLG</code>, as listed in the
<a href="../../../guide/output-and-naming/#template-variables">variable table</a>.</p>
</div>
<h3 id="operators">Operators<a class="headerlink" href="#operators" title="Permanent link">&para;</a></h3>
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-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/creating-a-service/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/service-architecture/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/authentication/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/dashboard/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/endpoints/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/errors/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/job-lifecycle/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/quickstart/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/remote-sessions/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/configuration-file/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/installation/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/quickstart/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/cli-reference/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/downloading/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/drm-and-cdm/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/output-and-naming/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/proxies-and-vpn/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/subtitles/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/troubleshooting/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/vaults/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/config/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/drm/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/service/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/titles/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/tracks/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/directories/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/download/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/drm/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/example/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/misc/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/network/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/output/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/post-scripts/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/services/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/vaults/</loc>
<lastmod>2026-10-31</lastmod>
<lastmod>2026-11-01</lastmod>
</url>
</urlset>
BIN
View File
Binary file not shown.