From 7639b0787eb2a4938265021e82ade60b075e8d1c Mon Sep 17 00:00:00 2001 From: Flaminel Date: Tue, 25 Mar 2025 16:13:46 +0200 Subject: [PATCH] added set torrent label for Deluge --- .../Verticals/DownloadClient/Deluge/DelugeClient.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/Infrastructure/Verticals/DownloadClient/Deluge/DelugeClient.cs b/code/Infrastructure/Verticals/DownloadClient/Deluge/DelugeClient.cs index 4b34619..c206751 100644 --- a/code/Infrastructure/Verticals/DownloadClient/Deluge/DelugeClient.cs +++ b/code/Infrastructure/Verticals/DownloadClient/Deluge/DelugeClient.cs @@ -1,4 +1,4 @@ -using System.Net.Http.Headers; +using System.Net.Http.Headers; using System.Text.Json.Serialization; using Common.Configuration; using Common.Configuration.DownloadClient; @@ -206,7 +206,6 @@ public sealed class DelugeClient public async Task SetTorrentLabel(string hash, string newLabel) { - // TODO - throw new NotImplementedException(); + await SendRequest>("label.set_torrent", hash, newLabel); } } \ No newline at end of file