Add Deluge download client support#697
Conversation
|
This is my attempt at adding deluge as a download client. It is currently working in my homelab on my fork. Open to feedback/suggestions. Note: my agent pushed this pr when I meant to keep it as a draft. Switched it to draft after creation. |
|
@Algorant I know this is still in draft but there was a large backend refactor that was just merged. This will need to be rebased. |
|
Sure no problem! I've been following canary. I'll get it sorted. |
8bb6111 to
4572870
Compare
|
Heads up: PR #599 changes the download-client architecture and should be treated as the new base for additional clients. Deluge should be rebased on #599 and refactored to match the new boundaries: thin adapter facade, client-specific infrastructure workflows, GetQueueAsync(client) as the full queue snapshot path, GetQueueAsync(client, ids) as targeted monitor polling, gateway-owned remote path mapping, and client-specific import item resolution before the processor decides a source is unavailable. |
|
Makes sense thank you! |
Summary
Adds Deluge Web JSON-RPC as a supported download client.
Fixes #240.
Changes
Added
DelugeAdapterimplementing Listenarr download-client operations via Deluge Web JSON-RPC:HttpClientregistration with cookie support for Deluge Web sessions.IDownloadClientAdapterFactory.8112Changed
deluge.Fixed
Testing
dotnet test tests/Listenarr.Tests.csproj --filter FullyQualifiedName~DelugeAdapterTestscd fe && npm run type-check && npm run lint:checkNotes
canary.Checklist
canary