mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 07:25:08 +00:00
Deployed f10b8dcf with MkDocs version: 1.6.1
This commit is contained in:
@@ -3457,42 +3457,48 @@ configuration file.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Include-only</th>
|
||||
<th>Skip</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>-V</code>, <code>--video-only</code></td>
|
||||
<td><code>-nv</code>, <code>--no-video</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-A</code>, <code>--audio-only</code></td>
|
||||
<td><code>-na</code>, <code>--no-audio</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-S</code>, <code>--subs-only</code></td>
|
||||
<td><code>-ns</code>, <code>--no-subs</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-C</code>, <code>--chapters-only</code></td>
|
||||
<td><code>-nc</code>, <code>--no-chapters</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>-nt</code>, <code>--no-attachments</code> (cover art, subtitle fonts, and files the service attaches)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Flag</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>-V</code>, <code>--video-only</code></td>
|
||||
<td>Keep only the video tracks.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-A</code>, <code>--audio-only</code></td>
|
||||
<td>Keep only the audio tracks.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-S</code>, <code>--subs-only</code></td>
|
||||
<td>Keep only the subtitle tracks.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-C</code>, <code>--chapters-only</code></td>
|
||||
<td>Keep only the chapters.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-nv</code>, <code>--no-video</code></td>
|
||||
<td>Skip the video tracks.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-na</code>, <code>--no-audio</code></td>
|
||||
<td>Skip the audio tracks.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-ns</code>, <code>--no-subs</code></td>
|
||||
<td>Skip the subtitle tracks.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-nc</code>, <code>--no-chapters</code></td>
|
||||
<td>Skip the chapters.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-nt</code>, <code>--no-attachments</code></td>
|
||||
<td>Skip the attachments: cover art, subtitle fonts, and files the service attaches.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-ad</code>, <code>--audio-description</code></td>
|
||||
<td>Include descriptive (audio-description) tracks. Without it, unshackle drops them.</td>
|
||||
</tr>
|
||||
@@ -4209,7 +4215,7 @@ through the tunnel. It stops at the first step that fails.</p>
|
||||
<tr>
|
||||
<td><code>-h</code>, <code>--host</code></td>
|
||||
<td><code>127.0.0.1</code></td>
|
||||
<td>Host to serve from.</td>
|
||||
<td>Host to serve from. <code>0.0.0.0</code> accepts connections from other machines.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-p</code>, <code>--port</code></td>
|
||||
@@ -4219,7 +4225,7 @@ through the tunnel. It stops at the first step that fails.</p>
|
||||
<tr>
|
||||
<td><code>--caddy</code></td>
|
||||
<td>off</td>
|
||||
<td>Also serve through Caddy (requires the <code>caddy</code> binary and a <code>Caddyfile</code>).</td>
|
||||
<td>Also serve through Caddy as a reverse proxy, with the <code>Caddyfile</code> in your user config directory. Needs the <code>caddy</code> binary.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--api-only</code></td>
|
||||
@@ -4227,6 +4233,11 @@ through the tunnel. It stops at the first step that fails.</p>
|
||||
<td>Serve only the REST API, not the CDM endpoints. Incompatible with <code>--no-widevine</code>/<code>--no-playready</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--cdm-only</code></td>
|
||||
<td>off</td>
|
||||
<td>Serve only the Widevine/PlayReady CDM endpoints, plus <code>/api/health</code> and the dashboard: no REST API, no remote sessions and no Swagger UI. Incompatible with <code>--api-only</code> and <code>--remote-only</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--no-widevine</code></td>
|
||||
<td>off</td>
|
||||
<td>Disable the Widevine CDM endpoints.</td>
|
||||
@@ -4254,7 +4265,12 @@ through the tunnel. It stops at the first step that fails.</p>
|
||||
<tr>
|
||||
<td><code>--remote-only</code></td>
|
||||
<td>off</td>
|
||||
<td>Expose only the remote session routes: <code>/api/health</code>, <code>/api/services</code>, <code>/api/search</code>, <code>/api/session/*</code>, <code>/api/tunnel</code> and <code>/api/tunnel/check</code>, and the dashboard routes when <code>serve.dashboard.key</code> is set. Implies <code>--api-only</code>.</td>
|
||||
<td>Expose only the <a href="../../dev/rest-api/remote-sessions/#routes">remote session routes</a> and the dashboard routes when <code>serve.dashboard.key</code> is set. Implies <code>--api-only</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-q</code>, <code>--quiet</code></td>
|
||||
<td>off</td>
|
||||
<td>Headless mode: no banner and no Rich output, plain log lines on stderr. With <code>--debug</code>, also writes the log to a file in <code>directories.logs</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -2627,29 +2627,8 @@
|
||||
</span></code></pre></div>
|
||||
The folder name comes from the <code>series</code> folder template and the file from the <code>series</code> output template.</p>
|
||||
</div>
|
||||
<p>Two command-line flags change this layout for a single run:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Flag</th>
|
||||
<th>Effect</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>-o</code>, <code>--output</code></td>
|
||||
<td>Use this directory instead of <code>directories.downloads</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--no-folder</code></td>
|
||||
<td>Skip the per-title subfolder; write the file directly into the output directory.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--no-source</code></td>
|
||||
<td>Omit the service source tag from both the filename and folder (the <code>{source}</code> variable resolves to empty).</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>The <a href="../cli-reference/#output-muxing-files"><code>-o</code>/<code>--output</code>, <code>--no-folder</code> and <code>--no-source</code> flags</a>
|
||||
change this layout for a single run.</p>
|
||||
<h2 id="output-templates">Output templates<a class="headerlink" href="#output-templates" title="Permanent link">¶</a></h2>
|
||||
<p>Filename templates live under the <code>output_template</code> config key, keyed by title kind. Each value is a format string built from <code>{variable}</code> placeholders.</p>
|
||||
<div class="language-yaml highlight"><span class="filename">unshackle.yaml</span><pre><span></span><code><span id="__span-2-1"><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a><span class="nt">output_template</span><span class="p">:</span>
|
||||
|
||||
@@ -2824,37 +2824,11 @@ config key in your <code>unshackle.yaml</code>. Each proxy provider has its own
|
||||
proxy provider, with their types and defaults.</p>
|
||||
</div>
|
||||
<h2 id="the-proxy-flag">The <code>--proxy</code> flag<a class="headerlink" href="#the-proxy-flag" title="Permanent link">¶</a></h2>
|
||||
<p>Five options on the <code>dl</code> command control proxying at download time:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Option</th>
|
||||
<th>Effect</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>--proxy</code></td>
|
||||
<td>The proxy to use. Either an explicit URI, or a query that unshackle resolves against your configured providers.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--local-proxy</code></td>
|
||||
<td>With <code>--remote</code>, send the server's service requests through your machine's own connection, or through a <code>--proxy</code> that your machine connects to. See <a href="#send-the-servers-requests-through-your-machine">Send the server's requests through your machine</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--no-proxy</code></td>
|
||||
<td>Force <strong>all</strong> proxy use off. No providers are initialised and no proxy query is resolved.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--no-proxy-download</code></td>
|
||||
<td>Use the proxy for the manifest, licence, and authentication, but bypass it for the <strong>downloads</strong> themselves.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--proxy-download</code></td>
|
||||
<td>Use <code>--proxy</code> for the manifest, licence, and authentication, and a different proxy for the <strong>downloads</strong>. Takes the same forms as <code>--proxy</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Five options on the <code>dl</code> command control proxying at download time: <code>--proxy</code>, <code>--local-proxy</code>,
|
||||
<code>--no-proxy</code>, <code>--no-proxy-download</code> and <code>--proxy-download</code>. The
|
||||
<a href="../cli-reference/#network-proxy">network and proxy flags</a> give what each one does.
|
||||
<a href="#send-the-servers-requests-through-your-machine">Send the server's requests through your machine</a>
|
||||
explains <code>--local-proxy</code>.</p>
|
||||
<div class="language-shell highlight"><span class="filename">Explicit proxy URI</span><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a>unshackle<span class="w"> </span>dl<span class="w"> </span>--proxy<span class="w"> </span>http://user:pass@1.2.3.4:8080<span class="w"> </span>EXAMPLE<span class="w"> </span><span class="m">81234567</span>
|
||||
</span></code></pre></div>
|
||||
<div class="language-shell highlight"><span class="filename">Resolve a US server from your configured providers</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>--proxy<span class="w"> </span>us<span class="w"> </span>EXAMPLE<span class="w"> </span><span class="m">81234567</span>
|
||||
@@ -3333,11 +3307,8 @@ server only that endpoint's resolver ID, as <code>controld://<resolver>@dn
|
||||
The server runs its own forwarder with it, from its own address, and needs no Control D
|
||||
configuration. The resolver ID lets anyone who has it use that endpoint's proxy, so treat
|
||||
it as a secret: unshackle masks it in logs and in stored job parameters.</p>
|
||||
<p>The server must run a version of unshackle that knows <code>controld://</code>. An older server
|
||||
rejects it with <code>INVALID_PROXY</code>: <code>Proxy provider 'controld' not found</code> when your API key
|
||||
has <code>server_proxy</code>, else a message that asks for a full proxy URI. A bare region, such
|
||||
as <code>--proxy ca</code>, skips Control D with <code>--remote</code>, because the proxy it gives is on your
|
||||
machine. A service whose accounts the server manages does not accept a proxy from the
|
||||
<p>A bare region, such as <code>--proxy ca</code>, skips Control D with <code>--remote</code>, because the proxy it
|
||||
gives is on your machine. A service whose accounts the server manages does not accept a proxy from the
|
||||
client, and that includes a Control D resolver.</p>
|
||||
</div>
|
||||
<h3 id="troubleshooting-control-d">Troubleshooting Control D<a class="headerlink" href="#troubleshooting-control-d" title="Permanent link">¶</a></h3>
|
||||
|
||||
@@ -2682,61 +2682,10 @@ format-appropriate clean-up to make a single, valid file:</p>
|
||||
</ul>
|
||||
<p>You normally do not need to think about any of this. It gives a clean file.</p>
|
||||
<h2 id="selecting-and-filtering-subtitles">Selecting and filtering subtitles<a class="headerlink" href="#selecting-and-filtering-subtitles" title="Permanent link">¶</a></h2>
|
||||
<p>Subtitle selection happens through <code>dl</code> flags. The most important is language selection.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Flag</th>
|
||||
<th>Purpose</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>-sl</code>, <code>--s-lang</code></td>
|
||||
<td>Language(s) wanted for subtitles. Defaults to <code>all</code>. A <code>-</code> prefix excludes, e.g. <code>all,-es</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--require-subs</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>
|
||||
<td>Include forced subtitle tracks (excluded by default).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-fso</code>, <code>--forced-subs-only</code></td>
|
||||
<td>Keep only forced subtitle tracks and drop the other subtitles; implies <code>-fs</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-fsl</code>, <code>--forced-s-lang</code></td>
|
||||
<td>Language(s) wanted for forced subtitles; implies <code>-fs</code>. A <code>-</code> prefix excludes.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--exact-lang</code></td>
|
||||
<td>A tag without a region never falls back to another variant: <code>es</code> does not match <code>es-419</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-S</code>, <code>--subs-only</code></td>
|
||||
<td>Download only subtitle tracks.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-ns</code>, <code>--no-subs</code></td>
|
||||
<td>Do not download subtitle tracks at all.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--sub-format</code></td>
|
||||
<td>Output subtitle format / conversion target (see <a href="#converting-subtitle-formats">conversion</a>).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--sub-font</code></td>
|
||||
<td>Font for subtitles converted to ASS; implies <code>--sub-format ass</code> (see <a href="#custom-font-and-style">custom font and style</a>).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--skip-subtitle-errors</code></td>
|
||||
<td>Skip a subtitle that fails to download instead of aborting the whole title.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Subtitle selection happens through <code>dl</code> flags. The most important is language selection.
|
||||
The <a href="../cli-reference/#language-subtitles">language and subtitle flags</a> give the meaning and
|
||||
default of each one. <code>--subs-only</code>, <code>--no-subs</code> and <code>--skip-subtitle-errors</code> are with the
|
||||
<a href="../cli-reference/#track-type-inclusion-exclusion">track-type flags</a>.</p>
|
||||
<h3 id="choosing-languages">Choosing languages<a class="headerlink" href="#choosing-languages" title="Permanent link">¶</a></h3>
|
||||
<p>By default (<code>--s-lang all</code>) unshackle keeps every subtitle language the service offers.
|
||||
To narrow it down, pass a comma-separated list of language tags:</p>
|
||||
|
||||
Reference in New Issue
Block a user