docs: sync all docs for parallel downloads (#18)

Update README, MkDocs site (cli-usage, configuration,
quickstart, troubleshooting), and built HTML to cover the
--workers flag, parallel download capability, workers config
field, and API semaphore behavior. Fix stale sequential-only
language across all user-facing documentation.

Closes #18
This commit is contained in:
AlexKucera committed 2026-06-03 18:25:19 +02:00
1 parent f1ee0dbc8e
commit 4c913abed0
23 files changed
+192 -95

No files matched your search

+17 -4
View File
@@ -23,7 +23,7 @@
<link rel="icon" href="assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.7.6">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.7.0">
@@ -31,7 +31,7 @@
<link rel="stylesheet" href="assets/stylesheets/main.484c7ddc.min.css">
<link rel="stylesheet" href="assets/stylesheets/main.618322db.min.css">
<link rel="stylesheet" href="assets/stylesheets/palette.ab4e12ef.min.css">
@@ -1048,6 +1048,12 @@ If either field is missing, the tool exits with code <strong>1</strong> and an e
<td><code>true</code></td>
<td>Download cover art (JPEG/PNG) when available.</td>
</tr>
<tr>
<td><code>workers</code></td>
<td><code>integer</code></td>
<td><code>3</code></td>
<td>Number of parallel download threads. Set to 1 for sequential mode. Must be ≥ 1.</td>
</tr>
</tbody>
</table>
<h3 id="full-example">Full example</h3>
@@ -1056,11 +1062,13 @@ If either field is missing, the tool exits with code <strong>1</strong> and an e
</span><span id="__span_0__-2-3"><a id="__codelineno-2-3" name="__codelineno-2-3" href="#__codelineno-2-3"></a><span class="w"> </span><span class="nt">output_dir</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">./audiobooks</span>
</span><span id="__span_0__-2-4"><a id="__codelineno-2-4" name="__codelineno-2-4" href="#__codelineno-2-4"></a><span class="w"> </span><span class="nt">download_extras</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
</span><span id="__span_0__-2-5"><a id="__codelineno-2-5" name="__codelineno-2-5" href="#__codelineno-2-5"></a><span class="w"> </span><span class="nt">download_covers</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
</span><span id="__span_0__-2-6"><a id="__codelineno-2-6" name="__codelineno-2-6" href="#__codelineno-2-6"></a><span class="w"> </span><span class="nt">workers</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">3</span>
</span></code></pre></div>
<h3 id="minimal-example">Minimal example</h3>
<p>Only <code>format</code> is meaningful here — everything else has a default:</p>
<div class="language-yaml highlight"><pre><span></span><code><span id="__span_0__-3-1"><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a><span class="nt">librofm</span><span class="p">:</span>
</span><span id="__span_0__-3-2"><a id="__codelineno-3-2" name="__codelineno-3-2" href="#__codelineno-3-2"></a><span class="w"> </span><span class="nt">format</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">mp3_only</span>
</span><span id="__span_0__-3-3"><a id="__codelineno-3-3" name="__codelineno-3-3" href="#__codelineno-3-3"></a><span class="w"> </span><span class="nt">workers</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">5</span><span class="w"> </span><span class="c1"># high-bandwidth connection</span>
</span></code></pre></div>
<h2 id="how-merging-works">How merging works</h2>
<p><code>config.yaml</code> and <code>secrets.yaml</code> are <strong>deep-merged</strong> at startup:</p>
@@ -1098,6 +1106,11 @@ If either field is missing, the tool exits with code <strong>1</strong> and an e
<td>Unknown format value</td>
<td>Use one of: <code>m4b_mp3_fallback</code>, <code>mp3_only</code>, <code>m4b_only</code></td>
</tr>
<tr>
<td><code>Invalid workers value: 0</code></td>
<td>Workers &lt; 1</td>
<td>Set <code>workers</code> to an integer ≥ 1</td>
</tr>
</tbody>
</table>
<h2 id="download-history">Download history</h2>
@@ -1167,10 +1180,10 @@ If either field is missing, the tool exits with code <strong>1</strong> and an e
<script id="__config" type="application/json">{"annotate": null, "base": ".", "features": ["navigation.tabs", "navigation.sections", "content.code.copy", "toc.follow"], "search": "assets/javascripts/workers/search.2c215733.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script>
<script id="__config" type="application/json">{"annotate": null, "base": ".", "features": ["navigation.tabs", "navigation.sections", "content.code.copy", "toc.follow"], "search": "assets/javascripts/workers/search.7a47a382.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script>
<script src="assets/javascripts/bundle.79ae519e.min.js"></script>
<script src="assets/javascripts/bundle.e71a0d61.min.js"></script>
</body>