autotako

Service to monitor moombox for completed livestream downloads to upload for distribution
git clone https://code.alwayswait.ing/autotako.git
Log | Files | Refs

commit e1ee312749718a9e81efcd3c0c14f89167d5ed18
parent 0be9710c9bf8b8c5e80ba8c23733c3ecc393d794
Author: archiveanon <>
Date:   Fri, 17 Jan 2025 23:24:59 +0000

Allow configuring torrent client paused state

This allows us to not automatically start downloads when testing
(since the files may not be present on the remote).

Diffstat:
Msrc/autotako/config.py | 1+
Msrc/autotako/job_render.py | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/autotako/config.py b/src/autotako/config.py @@ -19,6 +19,7 @@ class QBittorrentConfig(msgspec.Struct): host: str username: str password: str + start_paused: bool = True # defaults to the directory containing the files # override if acting on a remote diff --git a/src/autotako/job_render.py b/src/autotako/job_render.py @@ -204,7 +204,7 @@ async def show_job(request, jobid): torrent_files=torrent_file, save_path=save_path, content_layout="NoSubfolder", - is_paused=True, + is_paused=config.qbittorrent.start_paused, ) ) background_tasks.add(task)