mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 12:32:31 +01:00
Fixed: Handle checkingResumeData state form qBittorrent
(cherry picked from commit 8d8a16225ff7772ccb57784f272ca31e28bb8455)
This commit is contained in:
parent
5d65b4cae4
commit
2fe28cb1dc
@ -225,6 +225,7 @@ public void completed_item_should_have_required_properties(string state)
|
|||||||
[TestCase("checkingDL")]
|
[TestCase("checkingDL")]
|
||||||
[TestCase("checkingUP")]
|
[TestCase("checkingUP")]
|
||||||
[TestCase("metaDL")]
|
[TestCase("metaDL")]
|
||||||
|
[TestCase("checkingResumeData")]
|
||||||
public void queued_item_should_have_required_properties(string state)
|
public void queued_item_should_have_required_properties(string state)
|
||||||
{
|
{
|
||||||
var torrent = new QBittorrentTorrent
|
var torrent = new QBittorrentTorrent
|
||||||
|
@ -251,6 +251,7 @@ public override IEnumerable<DownloadClientItem> GetItems()
|
|||||||
case "queuedDL": // queuing is enabled and torrent is queued for download
|
case "queuedDL": // queuing is enabled and torrent is queued for download
|
||||||
case "checkingDL": // same as checkingUP, but torrent has NOT finished downloading
|
case "checkingDL": // same as checkingUP, but torrent has NOT finished downloading
|
||||||
case "checkingUP": // torrent has finished downloading and is being checked. Set when `recheck torrent on completion` is enabled. In the event the check fails we shouldn't treat it as completed.
|
case "checkingUP": // torrent has finished downloading and is being checked. Set when `recheck torrent on completion` is enabled. In the event the check fails we shouldn't treat it as completed.
|
||||||
|
case "checkingResumeData": // torrent is checking resume data on load
|
||||||
item.Status = DownloadItemStatus.Queued;
|
item.Status = DownloadItemStatus.Queued;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user