mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-22 08:55:07 +00:00
Deployed 4b6d15cc with MkDocs version: 1.6.1
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
|
||||
<link rel="icon" href="../../assets/favicon.svg">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.8.0">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.8.1">
|
||||
|
||||
|
||||
|
||||
@@ -2584,7 +2584,7 @@ format-appropriate clean-up to make a single, valid file:</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--require-subs</code></td>
|
||||
<td>Require these languages to exist; if present, download <strong>all</strong> subtitles. Cannot be combined with <code>--s-lang</code>.</td>
|
||||
<td>Require these languages to exist. The title fails if one is missing. <code>--s-lang</code> still decides what to keep.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-fs</code>, <code>--forced-subs</code></td>
|
||||
@@ -2630,21 +2630,16 @@ regional form only when the title has no such variant. A tag with a region match
|
||||
that variant:</p>
|
||||
<div class="language-shell highlight"><span class="filename">Only Latin-American Spanish, no other Spanish variants</span><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a>unshackle<span class="w"> </span>dl<span class="w"> </span>--s-lang<span class="w"> </span>es-419<span class="w"> </span>EXAMPLE<span class="w"> </span><span class="s1">'https://www.example.com/...'</span>
|
||||
</span></code></pre></div>
|
||||
<p>If a requested language is missing, unshackle stops with an error. With <code>--best-available</code>,
|
||||
it continues with the languages it found and tells you which ones it dropped. See
|
||||
<p>If a requested language is missing, unshackle continues with the languages it found and
|
||||
tells you which ones it dropped. To stop the title instead, use <code>--require-subs</code>. See
|
||||
<a href="../downloading/#exact-vs-fuzzy-matching">exact vs fuzzy matching</a> for the full rules.</p>
|
||||
<h3 id="requiring-languages-before-downloading">Requiring languages before downloading<a class="headerlink" href="#requiring-languages-before-downloading" title="Permanent link">¶</a></h3>
|
||||
<p><code>--require-subs</code> is a gate rather than a filter. It downloads <strong>all</strong> available
|
||||
subtitles, but only if every language you name is present. If any is missing, the title
|
||||
errors out. This is useful for batch jobs where you want a title without your must-have
|
||||
language to fail loudly, and not to silently give a partial result.</p>
|
||||
<p><code>--require-subs</code> is a gate rather than a filter. If any language you name is missing, the
|
||||
title fails, even under <code>--best-available</code>. It does not select tracks: <code>--s-lang</code> still
|
||||
decides what to keep. This is useful for batch jobs where you want a title without your
|
||||
must-have language to fail loudly, and not to silently give a partial result.</p>
|
||||
<div class="language-shell highlight"><span class="filename">Fail unless both English and French subs exist, then grab everything</span><pre><span></span><code><span id="__span-2-1"><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a>unshackle<span class="w"> </span>dl<span class="w"> </span>--require-subs<span class="w"> </span>en,fr<span class="w"> </span>EXAMPLE<span class="w"> </span>B0ABCDEFGH
|
||||
</span></code></pre></div>
|
||||
<div class="admonition warning">
|
||||
<p class="admonition-title"><code>--require-subs</code> and <code>--s-lang</code> are mutually exclusive</p>
|
||||
<p>Because <code>--require-subs</code> forces downloading of all subtitle languages, it cannot be
|
||||
combined with <code>--s-lang</code>. Choose one or the other.</p>
|
||||
</div>
|
||||
<h3 id="forced-subtitles">Forced subtitles<a class="headerlink" href="#forced-subtitles" title="Permanent link">¶</a></h3>
|
||||
<p>Forced tracks carry only the important on-screen signs and foreign-dialogue lines meant
|
||||
to display even when you watch in your own language. They are <strong>excluded by
|
||||
@@ -3282,7 +3277,7 @@ knowing when working with subtitle tracks in code:</p>
|
||||
<script id="__config" type="application/json">{"annotate": null, "base": "../..", "features": ["content.code.annotate", "content.code.copy", "content.tabs.link", "content.tooltips", "navigation.footer", "navigation.indexes", "navigation.sections", "navigation.tabs", "navigation.top", "navigation.tracking", "search.highlight", "search.share", "search.suggest", "toc.follow"], "search": "../../assets/javascripts/workers/search.a7633da7.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script>
|
||||
|
||||
|
||||
<script src="../../assets/javascripts/bundle.c21346df.min.js"></script>
|
||||
<script src="../../assets/javascripts/bundle.a5f9d56c.min.js"></script>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user