feat(dl): replace Transmission with qBittorrent
qBittorrent's add call answers `Ok.` and nothing else — no hash, no name, no duplicate signal — so arr derives the v1 infohash from the magnet or the `.torrent` bytes before the call and looks the torrent up by it. That also drops Transmission's numeric torrent id: the hash is the only identity now. The reaper needs "stopped because a share limit was reached", and qBittorrent's state field cannot tell that apart from a hand-paused torrent. So the ratio and idle counters are checked against the limits arr set, and a torrent stopped by a global limit reads as still seeding rather than being deleted. The WebUI needs a login, so `ARR_QBITTORRENT_USERNAME` and `ARR_QBITTORRENT_PASSWORD` join the env-only secrets; leaving both unset is valid for an instance that whitelists arr's subnet. Verified against qBittorrent 5 (WebAPI 2.15.1) in a container: it rejects `setShareLimits` without `shareLimitAction`, which 4.x ignores, so it is always sent. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
afe167ca7b
commit
ab4f95b166
+5
-5
@@ -9,7 +9,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<!--
|
||||
THESIS: arr is a signal chain — TMDB and Prowlarr feed in, Transmission is
|
||||
THESIS: arr is a signal chain — TMDB and Prowlarr feed in, qBittorrent is
|
||||
driven out — and health is lamps on that chain, read in one glance. Refuses
|
||||
the admin-dashboard rut: no sidebar, no stat cards, no hero metric.
|
||||
OWN-WORLD: broadcast master-control panel. Near-black charcoal ground,
|
||||
@@ -20,7 +20,7 @@
|
||||
second whether arr can do its job — and which upstream is down, by name.
|
||||
FIRST VIEWPORT: a top rail (wordmark + master lamp + version),
|
||||
then the chain: TMDB and PROWLARR modules on the left feeding the central
|
||||
arr module, TRANSMISSION driven on the right, joined by bus hairlines with
|
||||
arr module, QBITTORRENT driven on the right, joined by bus hairlines with
|
||||
direction arrows. On a phone the chain stacks vertically.
|
||||
FORM: broadcast master-control panel, #2 of 7 on the ordered list; external
|
||||
roll (shell RANDOM → 2, witness 57910; concept-seed.mjs degraded to empty
|
||||
@@ -453,14 +453,14 @@
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<article class="module area-transmission" data-check="transmission">
|
||||
<article class="module area-qbittorrent" data-check="qbit">
|
||||
<header class="module-head">
|
||||
<span class="lamp" data-state="probing" aria-hidden="true"></span>
|
||||
<h2 class="module-name">transmission</h2>
|
||||
<h2 class="module-name">qbittorrent</h2>
|
||||
<span class="module-status readout" data-role="status">probing</span>
|
||||
</header>
|
||||
<p class="module-role">torrents out</p>
|
||||
<p class="module-detail readout" data-role="detail">rpc · grab and seed</p>
|
||||
<p class="module-detail readout" data-role="detail">webui · grab and seed</p>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user