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 {
return TorrentStatus.Error; return TorrentStatus.Error;
case "downloading": case "downloading":
case "metaDL": case "metaDL":
case "stalledDL":
return TorrentStatus.Downloading; return TorrentStatus.Downloading;
case "uploading": case "uploading":
case "stalledUP":
return TorrentStatus.Seeding; return TorrentStatus.Seeding;
case "pausedDL": case "pausedDL":
return TorrentStatus.Paused;
case "pausedUP": case "pausedUP":
case "stoppedDL":
case "stoppedUP":
return TorrentStatus.Paused; return TorrentStatus.Paused;
case "stalledUP":
return TorrentStatus.Seeding;
case "stalledDL":
return TorrentStatus.Downloading;
case "checkingUP":
return TorrentStatus.Checking;
case "checkingDL": case "checkingDL":
case "checkingUP":
return TorrentStatus.Checking; return TorrentStatus.Checking;
case "queuedDL": case "queuedDL":
return TorrentStatus.Queued;
case "queuedUP": case "queuedUP":
return TorrentStatus.Queued; return TorrentStatus.Queued;
} }

Loading…
Cancel
Save