commit 7813c520aa61b46f68f037526248441c8c11107b
parent 9143a54ab31be446c5ee8daec260a11109c1d2a8
Author: archiveanon <>
Date: Sun, 23 Nov 2025 12:29:33 +0000
Add compat for Debian 13
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
@@ -10,8 +10,8 @@ dependencies = [
"microdot ~= 2.0.7",
"msgspec ~= 0.19.0",
- # for some reason the latest version does not play nice with Debian's qBittorrent builds...
- "qbittorrent-api == 2022.7.33",
+ # for some reason the latest version does not play nice with Debian 12's qBittorrent builds...
+ "qbittorrent-api >= 2022.7.33",
"stamina ~= 24.3.0",
"torf ~= 4.2.7",
diff --git a/src/autotako/job_render.py b/src/autotako/job_render.py
@@ -362,7 +362,11 @@ async def _process_job(jobid):
torrent_files=torrent_file,
save_path=save_path,
content_layout="NoSubfolder",
+ # annoyingly, the API doesn't translate these kwargs
+ # - is_paused for 4.5.2 (Debian 12, qbittorrent-api==2022.7.33)
+ # - is_stopped for 5.1.0 (Debian 13, qbittorrent-api==2025.11.1)
is_paused=config.qbittorrent.start_paused,
+ is_stopped=config.qbittorrent.start_paused,
)
)
background_tasks.add(task)