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

+4
View File
@@ -41,6 +41,7 @@ All non-credential settings. Safe to commit.
| `output_dir` | `string` | `"./audiobooks"` | Base directory for downloaded files. Relative paths resolve from CWD. |
| `download_extras` | `boolean` | `true` | Download PDF extras (e.g., maps) when available. |
| `download_covers` | `boolean` | `true` | Download cover art (JPEG/PNG) when available. |
| `workers` | `integer` | `3` | Number of parallel download threads. Set to 1 for sequential mode. Must be ≥ 1. |
### Full example
@@ -50,6 +51,7 @@ librofm:
output_dir: ./audiobooks
download_extras: true
download_covers: true
workers: 3
```
### Minimal example
@@ -59,6 +61,7 @@ Only `format` is meaningful here — everything else has a default:
```yaml
librofm:
format: mp3_only
workers: 5 # high-bandwidth connection
```
## How merging works
@@ -83,6 +86,7 @@ Move them to secrets.yaml (which is gitignored).
| `Config error: Credentials (...) found in config.yaml` | Username or password in config file | Move to `secrets.yaml` |
| `Missing required fields in secrets.yaml: username` | Missing credential field | Add it to `secrets.yaml` |
| `Invalid format 'foo'` | Unknown format value | Use one of: `m4b_mp3_fallback`, `mp3_only`, `m4b_only` |
| `Invalid workers value: 0` | Workers < 1 | Set `workers` to an integer ≥ 1 |
## Download history