+ When a torrent is finished downloading on the provider, perform this action. Use this setting if you only want
+ to add files to Real-Debrid but not download them to the host.
+
+
diff --git a/client/src/app/torrent/torrent.component.ts b/client/src/app/torrent/torrent.component.ts
index a7fcb83..b3109d7 100644
--- a/client/src/app/torrent/torrent.component.ts
+++ b/client/src/app/torrent/torrent.component.ts
@@ -36,6 +36,7 @@ export class TorrentComponent implements OnInit {
public isUpdateSettingsModalActive: boolean;
+ public updateSettingsHostDownloadAction: number;
public updateSettingsCategory: string;
public updateSettingsPriority: number;
public updateSettingsDownloadRetryAttempts: number;
@@ -176,6 +177,7 @@ export class TorrentComponent implements OnInit {
}
public showUpdateSettingsModal(): void {
+ this.updateSettingsHostDownloadAction = this.torrent.hostDownloadAction;
this.updateSettingsCategory = this.torrent.category;
this.updateSettingsPriority = this.torrent.priority;
this.updateSettingsDownloadRetryAttempts = this.torrent.downloadRetryAttempts;
@@ -193,6 +195,7 @@ export class TorrentComponent implements OnInit {
public updateSettingsOk(): void {
this.updating = true;
+ this.torrent.hostDownloadAction = this.updateSettingsHostDownloadAction;
this.torrent.category = this.updateSettingsCategory;
this.torrent.priority = this.updateSettingsPriority;
this.torrent.downloadRetryAttempts = this.updateSettingsDownloadRetryAttempts;
diff --git a/server/RdtClient.Data/Data/TorrentData.cs b/server/RdtClient.Data/Data/TorrentData.cs
index d1ce50e..0943b00 100644
--- a/server/RdtClient.Data/Data/TorrentData.cs
+++ b/server/RdtClient.Data/Data/TorrentData.cs
@@ -147,6 +147,7 @@ public class TorrentData
return;
}
+ dbTorrent.HostDownloadAction = torrent.HostDownloadAction;
dbTorrent.Category = torrent.Category;
dbTorrent.Priority = torrent.Priority;
dbTorrent.DownloadRetryAttempts = torrent.DownloadRetryAttempts;