diff --git a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrentProxy.cs b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrentProxy.cs index 0470cce08..8b1593220 100644 --- a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrentProxy.cs +++ b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrentProxy.cs @@ -97,6 +97,11 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent var result = ProcessRequest(request, settings); + if (settings.TvCategory.IsNotNullOrWhiteSpace()) + { + request.AddFormParameter("category", settings.TvCategory); + } + // Note: Current qbit versions return nothing, so we can't do != "Ok." here. if (result == "Fails.") { @@ -110,11 +115,6 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent .Post() .AddFormParameter("hashes", hash); - if (settings.TvCategory.IsNotNullOrWhiteSpace()) - { - request.AddFormParameter("category", settings.TvCategory); - } - ProcessRequest(request, settings); }