forked from kenzuya/unshackle
Deployed 74856d2d with MkDocs version: 1.6.1
This commit is contained in:
@@ -2750,6 +2750,12 @@
|
||||
<p><strong>Inspect:</strong> the connection to the CDN host dropped on every attempt. This is almost always the network, the VPN, or the proxy, not the service. Run the download again: unshackle keeps the segments it already has. Over HTTP/2, all segments share one connection, so one drop fails every segment in flight. Set <code>network.http1_only: true</code> (see <a href="../../reference/configuration/network/">Network & proxy</a>) to spread them over separate connections. Operate unshackle with <code>-d</code> to see each retry as a <code>segment_retry</code> entry in the JSON debug log.</p>
|
||||
</div>
|
||||
<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><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">
|
||||
<p class="admonition-title">The wrong titles/metadata keep coming back</p>
|
||||
<p><strong>Symptom:</strong> a service returns outdated titles even after the source changed.</p>
|
||||
<p><strong>Inspect:</strong> the title cache is likely serving stale data. Clear it with <code>unshackle env clear cache <SERVICE></code>, or bypass it for one run using the <code>dl</code> no-cache / reset-cache options (see <a href="../downloading/">Downloading</a> and the <a href="../cli-reference/#dl">CLI Reference</a>).</p>
|
||||
@@ -2796,7 +2802,7 @@
|
||||
</div>
|
||||
<div class="admonition tip">
|
||||
<p class="admonition-title">Let tool runs log themselves</p>
|
||||
<p>For external-tool calls (FFmpeg, mkvmerge, <code>dovi_tool</code>, and friends), route through <code>run_step</code> / <code>ffprobe</code>, which auto-emit a <code>tool_run</code> entry capturing the binary's version, return code, and duration consistently. Only fall back to calling <code>log_tool_run</code> manually for a direct <code>subprocess.run</code> you genuinely cannot route through <code>run_step</code>. Auto-logging is the preferred path precisely because it captures those fields the same way every time.</p>
|
||||
<p>For external-tool calls (FFmpeg, mkvmerge, <code>dovi_tool</code>, and friends), route through <code>run_step</code> / <code>run_tool</code> / <code>ffprobe</code>, which auto-emit a <code>tool_run</code> entry capturing the binary's version, return code, and duration consistently. <code>run_tool</code> also raises <code>ToolFailed</code>, whose message names the tool, the exit code and the last lines the tool wrote. Only fall back to calling <code>log_tool_run</code> manually for a direct <code>subprocess.run</code> you genuinely cannot route through those helpers. Auto-logging is the preferred path precisely because it captures those fields the same way every time.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user