From f0f2c88c4a413993c727d9a10dd4cc4c1cab49dc Mon Sep 17 00:00:00 2001 From: Qstick Date: Wed, 15 Sep 2021 22:03:36 -0500 Subject: [PATCH] Fixed: (qBittorrent) Don't fail if remove torrents is enabled We don't care about this in Prowlarr Fixes #499 --- .../Download/Clients/QBittorrent/QBittorrent.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs index 3330f01a9..70d17228b 100644 --- a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs +++ b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs @@ -214,16 +214,6 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent DetailedDescription = "Prowlarr will not attempt to import completed downloads without a category." }; } - - // Complain if qBittorrent is configured to remove torrents on max ratio - var config = Proxy.GetConfig(Settings); - if ((config.MaxRatioEnabled || config.MaxSeedingTimeEnabled) && (config.MaxRatioAction == QBittorrentMaxRatioAction.Remove || config.MaxRatioAction == QBittorrentMaxRatioAction.DeleteFiles)) - { - return new NzbDroneValidationFailure(string.Empty, "qBittorrent is configured to remove torrents when they reach their Share Ratio Limit") - { - DetailedDescription = "Prowlarr will be unable to perform Completed Download Handling as configured. You can fix this in qBittorrent ('Tools -> Options...' in the menu) by changing 'Options -> BitTorrent -> Share Ratio Limiting' from 'Remove them' to 'Pause them'." - }; - } } catch (DownloadClientAuthenticationException ex) {