Fixed: Added qBittorent state 'moving' (#3847)

* Added qBittorent state 'moving'

The state 'moving' wasn't being recording in Radarr, so it would show up
as a warning.

* Updated unknown state to be info
pull/3859/head
Jef LeCompte 5 years ago committed by Devin Buhl
parent ddc2b42923
commit a5e2e5777c

@ -183,13 +183,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.Warn(item.Message);
_logger.Info(item.Message);
item.Status = DownloadItemStatus.Downloading;
break;
}

Loading…
Cancel
Save