Deployed d23324e2 with MkDocs version: 1.6.1

This commit is contained in:
2026-12-03 01:43:10 +00:00
parent 7c9644b203
commit 4ee575bc0f
5 changed files with 116 additions and 57 deletions
+13 -3
View File
@@ -2110,15 +2110,23 @@
<li><strong><code>title_map</code></strong>: an exact-match rename map applied to fetched titles (source name →
desired name), so a service that names a title differently from your library still matches.</li>
<li><strong><code>dl</code></strong>: per-service download defaults, using the same keys as the global
<a href="../download/#dl"><code>dl</code></a> block. Set <code>remote: true</code> to send the <code>dl</code> and <code>search</code> runs of that
<a href="../download/#dl"><code>dl</code></a> block. A service's own options go in the global <code>dl</code> block, see
<a href="../download/#service-option-defaults">service option defaults</a>. Set <code>remote: true</code> to send the <code>dl</code> and <code>search</code> runs of that
service to a <a href="#remote_services">remote server</a> without <code>--remote</code>. Add <code>server</code> to select one of
several servers. On the command line, <code>--local</code> and <code>--server</code> override these keys. A REST API job ignores both keys.
A REST API job takes the other keys that it accepts as download parameters as its defaults,
above the <code>serve</code> defaults and below the values that the request sends.
See <a href="../../../dev/rest-api/remote-sessions/#making-a-service-remote-by-default">making a service remote by default</a>.</li>
</ul>
<p>Individual services may read any additional keys they define. unshackle hands the merged result
(the service's own <code>config.yaml</code> with this block layered on top) to the service as <code>self.config</code>.</p>
<p>A service can also read settings of its own, such as a preferred metadata language. The service's own
<code>config.yaml</code> and its README, when it has one, name them. To change one, copy its config key into this
block with the same nesting. unshackle merges this block over the service's <code>config.yaml</code> and gives
the result to the service as <code>self.config</code>. A nested config key replaces only that value, so the
other values in the same section stay.</p>
<p>Over <code>--remote</code>, the server builds the service from its own config. The client sends only the
config keys that the service lists for a client identity, see
<a href="../../../dev/rest-api/remote-sessions/#your-own-device-identity">your own device identity</a>.
For every other setting, the value in the server's config applies.</p>
<p>User- or device-specific values (API keys, account IDs, device attributes) belong in this block
rather than in the service's own <code>config.yaml</code>, which holds shared defaults. See
<a href="../../../dev/creating-a-service/">creating a service</a>.</p>
@@ -2129,6 +2137,8 @@ rather than in the service's own <code>config.yaml</code>, which holds shared de
</span><span id="__span-0-5"><a id="__codelineno-0-5" name="__codelineno-0-5" href="#__codelineno-0-5"></a><span class="w"> </span><span class="s">"nordvpn:ca"</span><span class="p p-Indicator">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">ca-toronto</span>
</span><span id="__span-0-6"><a id="__codelineno-0-6" name="__codelineno-0-6" href="#__codelineno-0-6"></a><span class="w"> </span><span class="nt">title_map</span><span class="p">:</span>
</span><span id="__span-0-7"><a id="__codelineno-0-7" name="__codelineno-0-7" href="#__codelineno-0-7"></a><span class="w"> </span><span class="s">"My</span><span class="nv"> </span><span class="s">Show:</span><span class="nv"> </span><span class="s">The</span><span class="nv"> </span><span class="s">Movie"</span><span class="p p-Indicator">:</span><span class="w"> </span><span class="s">"My</span><span class="nv"> </span><span class="s">Show</span><span class="nv"> </span><span class="s">Presents</span><span class="nv"> </span><span class="s">The</span><span class="nv"> </span><span class="s">Movie"</span>
</span><span id="__span-0-8"><a id="__codelineno-0-8" name="__codelineno-0-8" href="#__codelineno-0-8"></a><span class="w"> </span><span class="nt">preferences</span><span class="p">:</span>
</span><span id="__span-0-9"><a id="__codelineno-0-9" name="__codelineno-0-9" href="#__codelineno-0-9"></a><span class="w"> </span><span class="nt">language</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">ko</span>
</span></code></pre></div>
<h2 id="credentials"><code>credentials</code><a class="headerlink" href="#credentials" title="Permanent link">&para;</a></h2>
<ul>