Fixed: Handle qBittorrent "moving" & "forcedDL" state

This commit is contained in:
Qstick 2020-01-02 19:04:58 -05:00
parent 4f747f386f
commit a602611a5f
1 changed files with 7 additions and 0 deletions

View File

@ -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;
}