Deployed 79cc16d2 with MkDocs version: 1.6.1

This commit is contained in:
2026-11-29 01:25:16 +00:00
parent d56c501138
commit 6c4ecc8e75
8 changed files with 101 additions and 48 deletions
+51 -2
View File
@@ -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>&nbsp;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>&nbsp;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">&para;</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 ">
+2
View File
@@ -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>
+7 -6
View File
@@ -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>