Browse Source

Fix path not being populated for QBittorrent

pull/600/head
Nathaniel Brandes 3 years ago
parent
commit
e055d6a736
  1. 1
      app/src/main/java/org/transdroid/daemon/adapters/qBittorrent/QBittorrentAdapter.java

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

@ -674,6 +674,7 @@ public class QBittorrentAdapter implements IDaemonAdapter {
if (version >= 30200) { if (version >= 30200) {
torrentBuilder torrentBuilder
.setLocationDir(tor.getString("save_path"))
.setLeechersConnected(tor.getInt("num_leechs")) .setLeechersConnected(tor.getInt("num_leechs"))
.setLeechersKnown(tor.getInt("num_complete") + tor.getInt("num_incomplete")) .setLeechersKnown(tor.getInt("num_complete") + tor.getInt("num_incomplete"))
.setSeedersConnected(tor.getInt("num_seeds")) .setSeedersConnected(tor.getInt("num_seeds"))

Loading…
Cancel
Save