From 5f60b7a44ec61be1a59a78440bf9ed0381d6aa98 Mon Sep 17 00:00:00 2001 From: Lucas Vivo Date: Mon, 23 Nov 2026 13:18:05 +0100 Subject: [PATCH] docs(torrent_api): readme --- torrent_api/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/torrent_api/README.md b/torrent_api/README.md index bb5d975..6298801 100644 --- a/torrent_api/README.md +++ b/torrent_api/README.md @@ -26,6 +26,9 @@ returns the matching torrent records after a successful deletion. (default: 1.0). Pass `copy_to` with a destination directory to also copy files that are 100% complete there, preserving their torrent-relative paths. Names must match exactly; use the hash if multiple torrents have the same name. +For container paths, pass `path_mappings={"/downloads": "/host/downloads"}` +to `Qbittorrent` to translate save paths when copying. Unmapped paths are used +as-is. Copies require the qBittorrent host to be local to the process. ## CLI and debugging @@ -48,6 +51,10 @@ for completed files). Add `--dry-run` to log planned copies without writing files. The VS Code launch configuration uses the workspace `main.py` and loads `.env` automatically. Keep this file private; it is ignored by Git. +The CLI uses the qBittorrent host mount paths from the repository's Docker +Compose configuration; update those mappings if the mounts change. +At INFO level, startup logs include the working directory and the directory +containing the entry point. ## Tests