autotako

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

commit 5807bae7caeb3dc6cc4cebf3b907444028a256e8
parent a8dbcd3bcac2c7f550e4daeccd81c7497d68b3a2
Author: archiveanon <>
Date:   Tue, 30 Jun 2026 08:55:27 +0000

Add option to insert torrent comment

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

diff --git a/src/autotako/config.py b/src/autotako/config.py @@ -14,6 +14,7 @@ class ChannelConfig(msgspec.Struct): class TorrentConfig(msgspec.Struct): trackers: list[list[str]] + comment: str | None = None class QBittorrentConfig(msgspec.Struct): diff --git a/src/autotako/job_render.py b/src/autotako/job_render.py @@ -362,6 +362,8 @@ async def _process_job(jobid): # note that the name also sets the subdirectory for the files # as such, using other names for the same files *will* change the infohash t.name = torrent_name + if config.torrent.comment: + t.comment = config.torrent.comment success = await asyncio.to_thread(t.generate) if not success: raise RuntimeError("Failed to generate torrent")