From 22045142391797e5c7dc6634bf5b262a8e7809af Mon Sep 17 00:00:00 2001 From: Justin Bollinger Date: Sat, 25 Apr 2026 19:41:46 -0400 Subject: [PATCH] fix(api): use --port instead of --rpc-port for transmission-daemon transmission-daemon 4.x uses --port for the RPC port, not --rpc-port. Co-Authored-By: Claude Sonnet 4.6 --- hate_crack/api.py | 2 +- tests/test_api_downloads.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hate_crack/api.py b/hate_crack/api.py index c756fea..f40121b 100644 --- a/hate_crack/api.py +++ b/hate_crack/api.py @@ -277,7 +277,7 @@ class TransmissionSession: "-f", "-g", self._cfg_dir, - "--rpc-port", + "--port", str(self._port), "--rpc-bind-address", "127.0.0.1", diff --git a/tests/test_api_downloads.py b/tests/test_api_downloads.py index 9328f9c..ef27a5a 100644 --- a/tests/test_api_downloads.py +++ b/tests/test_api_downloads.py @@ -112,7 +112,7 @@ class TestTransmissionSession: args = popen.call_args[0][0] assert args[0] == "transmission-daemon" assert "-f" in args - assert "--rpc-port" in args + assert "--port" in args assert "12345" in args assert "--no-auth" in args assert "--download-dir" in args