mirror of
https://github.com/Radarr/Radarr
synced 2025-12-15 21:03:27 +01:00
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
This commit is contained in:
parent
ddc2b42923
commit
a5e2e5777c
1 changed files with 2 additions and 1 deletions
|
|
@ -183,13 +183,14 @@ public override IEnumerable<DownloadClientItem> GetItems()
|
|||
}
|
||||
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…
Reference in a new issue