Fixed: Handle qBittorrent "moving" state

This commit is contained in:
Jef LeCompte 2019-12-04 12:02:39 -05:00 committed by Mark McDowall
parent ab9ed73e55
commit 2daf7dd01a
1 changed files with 6 additions and 0 deletions

View File

@ -194,8 +194,14 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
}
break;
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;
}