From edc1e0b8d16e1fbe20fb057b25eb216354cbf8ae Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Fri, 23 Sep 2016 21:42:21 +0200 Subject: [PATCH] Fixed: Filter qbittorrent torrent list on newer versions. fixes #1470 ref #1347 --- .../Download/Clients/qBittorrent/QBittorrentProxy.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Download/Clients/qBittorrent/QBittorrentProxy.cs b/src/NzbDrone.Core/Download/Clients/qBittorrent/QBittorrentProxy.cs index e7533245f..e65785f03 100644 --- a/src/NzbDrone.Core/Download/Clients/qBittorrent/QBittorrentProxy.cs +++ b/src/NzbDrone.Core/Download/Clients/qBittorrent/QBittorrentProxy.cs @@ -58,7 +58,8 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent public List GetTorrents(QBittorrentSettings settings) { var request = BuildRequest(settings).Resource("/query/torrents") - .AddQueryParam("label", settings.TvCategory); + .AddQueryParam("label", settings.TvCategory) + .AddQueryParam("category", settings.TvCategory); var response = ProcessRequest>(request, settings); @@ -99,7 +100,7 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent .AddFormParameter("hashes", hash) .AddFormParameter("category", label); try - { + { ProcessRequest(setCategoryRequest, settings); } catch(DownloadClientException ex)