Skip to content

Commit c35faf5

Browse files
DDSRemclaude
andcommitted
feat(downloader): add rTorrent downloader support
Implement rTorrent downloader module via XML-RPC protocol, supporting both HTTP (nginx/ruTorrent proxy) and SCGI connection modes. Add RtorrentModule implementing _ModuleBase and _DownloaderBase interfaces with no extra dependencies. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 63d0850 commit c35faf5

File tree

6 files changed

+938
-5
lines changed

6 files changed

+938
-5
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ venv
2727

2828
# Pylint
2929
pylint-report.json
30-
.pylint.d/
30+
.pylint.d/
31+
32+
# AI
33+
.claude/

app/helper/downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def is_downloader(
2525
) -> bool:
2626
"""
2727
通用的下载器类型判断方法
28-
:param service_type: 下载器的类型名称(如 'qbittorrent', 'transmission')
28+
:param service_type: 下载器的类型名称(如 'qbittorrent', 'transmission', 'rtorrent'
2929
:param service: 要判断的服务信息
3030
:param name: 服务的名称
3131
:return: 如果服务类型或实例为指定类型,返回 True;否则返回 False

0 commit comments

Comments
 (0)