github Listenarrs/Listenarr v1.10.9-canary
Canary 1.10.9

latest release: v1.10.10-canary
pre-release47 minutes ago

Summary

Adds a "URL Base" field to the qBittorrent download client (closes #690), so Listenarr can reach qBittorrent instances served behind a path-prefixed reverse proxy (e.g. example.com/qbittorrent) — matching the field Transmission's client already has.

I deliberately didn't just copy Transmission's mechanism. Transmission's urlBase replaces its whole RPC path, because that mirrors Transmission's own daemon setting (--rpc-url-base) — Listenarr just matches whatever arbitrary path the user configured server-side. qBittorrent has no equivalent: I checked upstream, and a native WebUI base-path setting has been proposed twice (qbittorrent/qBittorrent#21471, closed unmerged; #23467, still open/unmerged) — neither has shipped. So every real qBittorrent-behind-a-proxy deployment today works by the reverse proxy stripping a path prefix before it reaches qBittorrent, which always serves at its own root regardless. That means the correct semantics here are a prefix prepended before the fixed /api/v2/... routes, not a full-path override.

Changes

Added

  • QBittorrentHelpers.BuildBaseUrl() — composes authority + normalized urlBase prefix from client settings; no-op when unset, so existing configs are unaffected
  • "URL Base" field now renders for qBittorrent in the download client form, with qBittorrent-specific placeholder/help text (distinct from Transmission's field, since the semantics differ)
  • Backend test asserting the actual HTTP request hits /qbittorrent/api/v2/app/version when configured
  • Frontend test asserting the field renders for qBittorrent and flows into the save/test payload

Changed

  • The 8 qBittorrent workflow files that each independently called DownloadClientUriBuilder.BuildAuthority(client) now go through the new helper instead (mechanical, one line each — no other behavior change)

Testing

  • dotnet build / dotnet format --verify-no-changes clean
  • Targeted ...

Automated Canary build

Don't miss a new Listenarr release

NewReleases is sending notifications on new releases.