Skip to content

Commit

Permalink
Fixed: Handle checkingResumeData state form qBittorrent
Browse files Browse the repository at this point in the history
(cherry picked from commit 8d8a16225ff7772ccb57784f272ca31e28bb8455)
  • Loading branch information
bakerboy448 authored and mynameisbogdan committed Jun 14, 2023
1 parent 22f9774 commit 921ddfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ public void completed_item_should_have_required_properties(string state)
[TestCase("checkingDL")]
[TestCase("checkingUP")]
[TestCase("metaDL")]
[TestCase("checkingResumeData")]
public void queued_item_should_have_required_properties(string state)
{
var torrent = new QBittorrentTorrent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ public override IEnumerable<DownloadClientItem> GetItems()
case "queuedDL": // queuing is enabled and torrent is queued for download
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 "checkingResumeData": // torrent is checking resume data on load
item.Status = DownloadItemStatus.Queued;
break;

Expand Down

0 comments on commit 921ddfc

Please sign in to comment.