From a602611a5f6f3017f2092dc121b223f59eb0c875 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 2 Jan 2020 19:04:58 -0500 Subject: [PATCH] Fixed: Handle qBittorrent "moving" & "forcedDL" state --- .../Download/Clients/QBittorrent/QBittorrent.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs index 6caa31c0c..93408c841 100644 --- a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs +++ b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs @@ -194,8 +194,15 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent } break; + case "forcedDL": //torrent is being downloaded, and was forced started + case "moving": // torrent is being moved from a folder case "downloading": // torrent is being downloaded and data is being transfered + item.Status = DownloadItemStatus.Downloading; + break; + default: // new status in API? default to downloading + item.Message = "Unknown download state: " + torrent.State; + _logger.Info(item.Message); item.Status = DownloadItemStatus.Downloading; break; }