feat:增加删除下载任务事件,历史记录中删除源文件时主程序会同步删除种子,同时会发出该事件(以便处理辅种等)

This commit is contained in:
jxxghp
2024-06-01 07:47:00 +08:00
parent acff7e0610
commit 45945bd025
5 changed files with 17 additions and 1 deletions

View File

@@ -185,6 +185,7 @@ class TransmissionModule(_ModuleBase):
title=torrent.name,
path=Path(torrent.download_dir) / torrent.name,
hash=torrent.hashString,
size=torrent.total_size,
tags=",".join(torrent.labels or [])
))
elif status == TorrentStatus.TRANSFER: