Deployed e36236d5 with MkDocs version: 1.6.1

This commit is contained in:
2026-12-02 03:58:38 +00:00
parent 5d4ac1c97a
commit 07277ae822
4 changed files with 103 additions and 13 deletions
@@ -1116,6 +1116,23 @@
</span>
</a>
<nav class="md-nav" aria-label="dl">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#completion-archive" class="md-nav__link">
<span class="md-ellipsis">
Completion archive
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
@@ -2083,6 +2100,23 @@
</span>
</a>
<nav class="md-nav" aria-label="dl">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#completion-archive" class="md-nav__link">
<span class="md-ellipsis">
Completion archive
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
@@ -2472,6 +2506,33 @@ config keys it does not know there, <code>speed_limit</code> for example. <code>
request body, <code>workers: 0</code> for example, makes each job that uses it fail at submit with
<code>400 INVALID_PARAMETERS</code>.</p>
</div>
<h3 id="completion-archive">Completion archive<a class="headerlink" href="#completion-archive" title="Permanent link">&para;</a></h3>
<p><code>dl.skip_existing: true</code> opts CLI downloads into an append-only completion archive under
<code>directories.cache/download-archive/cli.jsonl</code>. <code>--skip-existing</code> enables it for one run;
<code>--force</code> bypasses its check and still records successful full outputs when the archive is enabled.</p>
<p>A receipt holds the canonical service tag, title ID (string or integer), and the resolved video
quality, range and codec. Selection runs normally before checking the archive: a best-available
720p result can match 720p again, but a later 1080p selection downloads. A different quality,
range or codec does not match. All selected variants must have receipts to skip the title.
A higher resolution does not satisfy an explicitly lower request.</p>
<p>Receipts are written only after a full movie/episode has been muxed and its output files have
been published. Samples, <code>--skip-dl</code>, <code>--no-mux</code>, track-only and omitted-track modes do not check
or update the archive. Unknown video metadata, non-string/non-integer IDs, music, stereoscopic
and generated/hybrid video outputs also fall back to normal downloading. So does
<code>--skip-subtitle-errors</code>, which can publish incomplete output. <code>--include-sample</code> still records
the complete output, not the sample.</p>
<p>This is a completion log, not a media inventory: deleting or moving an output does not remove
its receipt. It does not compare audio or subtitle choices or inspect existing files. Use
<code>--force</code> when an archived variant needs to be downloaded again. It does not import job history,
and history trimming or deletion does not affect it. Clearing the cache removes these receipts.
Concurrent writers lock only local archive I/O; simultaneous downloads may both proceed.</p>
<p>API jobs use separate files named <code>api-&lt;SHA-256 of caller key&gt;.jsonl</code> in the same directory.
They never consult the CLI archive or another caller's archive. Enable this with the request's
<code>skip_existing: true</code>, a <code>serve.skip_existing</code> default, or a <code>services.&lt;TAG&gt;.dl.skip_existing</code>
default. API callers cannot choose a scope or archive path. An ownerless internal job does not
use the archive. Remote service selection uses the local job's completion archive, not a remote
server's library. Skipped receipts are reported as <code>already_present</code> and complete successfully;
this does not change the separate missing-track <code>skipped_titles</code> behaviour.</p>
<h2 id="continue_downloads"><code>continue_downloads</code><a class="headerlink" href="#continue_downloads" title="Permanent link">&para;</a></h2>
<ul>
<li><strong>Type:</strong> <code>bool</code> &nbsp;·&nbsp; <strong>Default:</strong> <code>false</code></li>