forked from kenzuya/unshackle
Deployed 79cc16d2 with MkDocs version: 1.6.1
This commit is contained in:
@@ -2752,7 +2752,8 @@
|
||||
<div class="admonition example">
|
||||
<p class="admonition-title">The temp directory is nearly full</p>
|
||||
<p><strong>Symptom:</strong> the failure line ends with the free space of the temp volume, for example <code>CalledProcessError: Command '[...]' returned non-zero exit status 2, 38.0 MB free on C:\unshackle\temp</code>. A tool such as shaka-packager often reports a full disk only as a write failure. A full disk during the mux gives a line like <code>mkvmerge failed (exit 2): An exception occurred when writing the destination file. The drive may be full. ..., 38.0 MB free on C:\unshackle\temp</code>.</p>
|
||||
<p>Before the track downloads start, a warning can also show the problem, for example <code>Temp volume C:\unshackle\temp has 3.1 GB free, the selected tracks need about 9.4 GB</code>. unshackle gives this warning when the free space is less than two times the estimated size of the video and audio tracks of the title. The factor is two because each encrypted track and its decrypted copy are on the temp volume together. The estimate is the manifest bitrate multiplied by the playing time, so only DASH and ISM tracks get it: an HLS or URL track gives no warning. The warning does not stop the download, and <code>--skip-dl</code> and <code>--sample</code> runs do not check.</p>
|
||||
<p>Before or during the track downloads, a warning can also show the problem, for example <code>Temp volume C:\unshackle\temp has 3.1 GB free, the selected tracks need about 9.4 GB</code>. unshackle gives this warning when the free space is less than two times the estimated size of the video and audio tracks of the title. The factor is two because each encrypted track and its decrypted copy are on the temp volume together.</p>
|
||||
<p>For a DASH or ISM track, the estimate is the manifest bitrate multiplied by the playing time, and unshackle checks before the downloads start. An HLS track has no playing time until unshackle reads its media playlist, so unshackle adds its estimate when the playlist is read, before the segments of that track download. The HLS estimate is the sum of the byte ranges when each segment has one, else the bitrate multiplied by the segment durations. An HLS video bitrate includes the audio, so the warning can come early when the free space is near the estimate. A URL track gives no estimate. You get one warning for each title at most. The warning does not stop the download, and <code>--skip-dl</code> and <code>--sample</code> runs do not check.</p>
|
||||
<p><strong>Inspect:</strong> unshackle adds this part when the volume of <code>directories.temp</code> has less than 1 GiB free. Make space on that volume, or set <code>directories.temp</code> to a larger volume (see <a href="../../reference/configuration/directories/">Directories</a>), and run the download again. Over the REST API the job error carries the same line, and a full disk in the downloader gives <code>DOWNLOAD_ERROR</code>.</p>
|
||||
</div>
|
||||
<div class="admonition example">
|
||||
|
||||
BIN
Binary file not shown.
@@ -2734,6 +2734,17 @@
|
||||
<nav class="md-nav" aria-label=" DownloadContext">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.DownloadContext.on_segments" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
<code class="doc-symbol doc-symbol-toc doc-symbol-attribute"></code> on_segments
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.DownloadContext.ensure_session" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
@@ -4422,6 +4433,17 @@
|
||||
<nav class="md-nav" aria-label=" DownloadContext">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.DownloadContext.on_segments" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
<code class="doc-symbol doc-symbol-toc doc-symbol-attribute"></code> on_segments
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.DownloadContext.ensure_session" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
@@ -8074,7 +8096,8 @@ Use this to fix the positioning of sentence-ending characters.</p>
|
||||
</span><span id="__span-0-9"><a id="__codelineno-0-9" name="__codelineno-0-9" href="#__codelineno-0-9"></a> <span class="n">download_processes</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span>
|
||||
</span><span id="__span-0-10"><a id="__codelineno-0-10" name="__codelineno-0-10" href="#__codelineno-0-10"></a> <span class="n">license_widevine</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
|
||||
</span><span id="__span-0-11"><a id="__codelineno-0-11" name="__codelineno-0-11" href="#__codelineno-0-11"></a> <span class="n">cdm</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
|
||||
</span><span id="__span-0-12"><a id="__codelineno-0-12" name="__codelineno-0-12" href="#__codelineno-0-12"></a><span class="p">)</span>
|
||||
</span><span id="__span-0-12"><a id="__codelineno-0-12" name="__codelineno-0-12" href="#__codelineno-0-12"></a> <span class="n">on_segments</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
|
||||
</span><span id="__span-0-13"><a id="__codelineno-0-13" name="__codelineno-0-13" href="#__codelineno-0-13"></a><span class="p">)</span>
|
||||
</span></code></pre></div>
|
||||
|
||||
<div class="doc doc-contents ">
|
||||
@@ -8101,6 +8124,31 @@ Use this to fix the positioning of sentence-ending characters.</p>
|
||||
|
||||
|
||||
|
||||
<div class="doc doc-object doc-attribute">
|
||||
|
||||
|
||||
|
||||
<h3 id="unshackle.core.tracks.DownloadContext.on_segments" class="doc doc-heading">
|
||||
<code class="doc-symbol doc-symbol-heading doc-symbol-attribute"></code> <span class="doc doc-object-name doc-attribute-name">on_segments</span>
|
||||
|
||||
|
||||
<span class="doc doc-labels">
|
||||
<small class="doc doc-label doc-label-class-attribute"><code>class-attribute</code></small>
|
||||
<small class="doc doc-label doc-label-instance-attribute"><code>instance-attribute</code></small>
|
||||
</span>
|
||||
|
||||
<a href="#unshackle.core.tracks.DownloadContext.on_segments" class="headerlink" title="Permanent link">¶</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="n">on_segments</span> <span class="o">=</span> <span class="kc">None</span>
|
||||
</span></code></pre></div>
|
||||
|
||||
<div class="doc doc-contents ">
|
||||
|
||||
<p>Called by the HLS step with a track and its wanted media segments, before they download.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -8493,7 +8541,8 @@ remote client asks for its URL.</p>
|
||||
</span><span id="__span-0-9"><a id="__codelineno-0-9" name="__codelineno-0-9" href="#__codelineno-0-9"></a> <span class="n">proxy_download</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
|
||||
</span><span id="__span-0-10"><a id="__codelineno-0-10" name="__codelineno-0-10" href="#__codelineno-0-10"></a> <span class="n">adaptive_workers</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span>
|
||||
</span><span id="__span-0-11"><a id="__codelineno-0-11" name="__codelineno-0-11" href="#__codelineno-0-11"></a> <span class="n">download_processes</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span>
|
||||
</span><span id="__span-0-12"><a id="__codelineno-0-12" name="__codelineno-0-12" href="#__codelineno-0-12"></a><span class="p">)</span>
|
||||
</span><span id="__span-0-12"><a id="__codelineno-0-12" name="__codelineno-0-12" href="#__codelineno-0-12"></a> <span class="n">on_segments</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
|
||||
</span><span id="__span-0-13"><a id="__codelineno-0-13" name="__codelineno-0-13" href="#__codelineno-0-13"></a><span class="p">)</span>
|
||||
</span></code></pre></div>
|
||||
|
||||
<div class="doc doc-contents ">
|
||||
|
||||
@@ -2263,6 +2263,8 @@ and the native one. This option says which of them unshackle uses:</p>
|
||||
<p>A work does not always have all three. When the one you asked for is unset on AniList's
|
||||
side, unshackle falls back in the order english → romaji → native. It takes the first one
|
||||
that is set, so you always get a title.</p>
|
||||
<p>A title search compares your query with all three titles. A romaji query thus finds a work
|
||||
when the title that this option picks is the English one.</p>
|
||||
</div>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">What <code>disable_metadata</code> turns off</p>
|
||||
|
||||
@@ -2367,12 +2367,13 @@ list.</p>
|
||||
the whole file again, globs the device directories again, and swaps in the new <code>users</code>,
|
||||
<code>tiers</code>, <code>services</code> and device lists in one step. Open CDM sessions and remote sessions
|
||||
continue; an API key you removed gets <code>401</code> on its next request. A file that does not parse
|
||||
or validate keeps the running settings and logs the reason. A change to <code>remote_only</code>,
|
||||
<code>services_refresh_interval</code>, the first PlayReady device, a <code>dashboard.key</code> on a server that
|
||||
started without one, or any command-line flag needs a restart, and the log says so. A reload
|
||||
that removes <code>dashboard.key</code> closes the dashboard: its routes answer <code>404</code> and an open
|
||||
<code>/api/dashboard/events</code> connection ends. A new <code>global_speed_limit</code> applies to jobs that start after the
|
||||
reload; running jobs keep their share. Windows has no <code>SIGHUP</code>: restart the server there.</p>
|
||||
or validate keeps the running settings and logs the reason. Each download job starts in a
|
||||
new process that reads the file on disk, so a job fails until you correct a rejected file.</p>
|
||||
<p>A change to <code>remote_only</code>, <code>services_refresh_interval</code>, the first PlayReady device, a
|
||||
<code>dashboard.key</code> on a server that started without one, or any command-line flag needs a
|
||||
restart, and the log says so. A reload that removes <code>dashboard.key</code> closes the dashboard: its
|
||||
routes answer <code>404</code> and an open <code>/api/dashboard/events</code> connection ends. A new
|
||||
<code>global_speed_limit</code> applies to jobs that start after the reload; running jobs keep their share. Windows has no <code>SIGHUP</code>: restart the server there.</p>
|
||||
</div>
|
||||
<p><code>server_cdm</code> decides whether the server runs the CDM licensing for that API key. Set it to
|
||||
<code>true</code> to enable every service, or to a list of service tags to enable only those. It is <code>false</code>
|
||||
|
||||
File diff suppressed because one or more lines are too long
+38
-38
@@ -2,154 +2,154 @@
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/creating-a-service/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/service-architecture/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/authentication/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/dashboard/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/endpoints/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/errors/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/job-lifecycle/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/quickstart/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/remote-sessions/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/getting-started/configuration-file/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/getting-started/installation/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/getting-started/quickstart/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/cli-reference/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/downloading/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/drm-and-cdm/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/output-and-naming/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/proxies-and-vpn/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/subtitles/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/troubleshooting/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/vaults/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/api/config/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/api/drm/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/api/service/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/api/titles/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/api/tracks/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/directories/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/download/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/drm/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/example/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/misc/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/network/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/output/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/post-scripts/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/services/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/vaults/</loc>
|
||||
<lastmod>2026-11-28</lastmod>
|
||||
<lastmod>2026-11-29</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
Binary file not shown.
Reference in New Issue
Block a user