Compare commits

...

2 Commits

Author SHA1 Message Date
Eric Kok 84c9f53a8e
Merge pull request #675 from jjlin/qbt5 2 weeks ago
Jeremy Lin 6a778e623e
qBittorrent: map `stoppedDL` and `stoppedUP` states to paused status 1 month ago
  1. 13
      app/src/main/java/org/transdroid/daemon/adapters/qBittorrent/QBittorrentAdapter.java

13
app/src/main/java/org/transdroid/daemon/adapters/qBittorrent/QBittorrentAdapter.java

@ -890,23 +890,20 @@ public class QBittorrentAdapter implements IDaemonAdapter { @@ -890,23 +890,20 @@ public class QBittorrentAdapter implements IDaemonAdapter {
return TorrentStatus.Error;
case "downloading":
case "metaDL":
case "stalledDL":
return TorrentStatus.Downloading;
case "uploading":
case "stalledUP":
return TorrentStatus.Seeding;
case "pausedDL":
return TorrentStatus.Paused;
case "pausedUP":
case "stoppedDL":
case "stoppedUP":
return TorrentStatus.Paused;
case "stalledUP":
return TorrentStatus.Seeding;
case "stalledDL":
return TorrentStatus.Downloading;
case "checkingUP":
return TorrentStatus.Checking;
case "checkingDL":
case "checkingUP":
return TorrentStatus.Checking;
case "queuedDL":
return TorrentStatus.Queued;
case "queuedUP":
return TorrentStatus.Queued;
}

Loading…
Cancel
Save