From 7f9d6e6cbad2625e6b910a8005a3d40d0e36db74 Mon Sep 17 00:00:00 2001 From: Roger Far Date: Tue, 12 Jan 2021 21:24:46 -0700 Subject: [PATCH] Rename folder to path everywhere. Added a remote path setting for path mapping for Sonarr/Radarr. --- .../navbar/settings/settings.component.html | 42 +++++-- .../app/navbar/settings/settings.component.ts | 34 ++++-- client/src/app/settings.service.ts | 4 +- client/src/app/torrent-status.pipe.ts | 104 +++++++++--------- server/RdtClient.Data/Data/DataContext.cs | 18 ++- .../RdtClient.Service/Services/QBittorrent.cs | 2 +- server/RdtClient.Service/Services/Settings.cs | 16 +-- .../RdtClient.Service/Services/TaskRunner.cs | 10 +- .../Services/TorrentRunner.cs | 9 ++ server/RdtClient.Service/Services/Torrents.cs | 12 +- .../Controllers/SettingsController.cs | 10 +- 11 files changed, 160 insertions(+), 101 deletions(-) diff --git a/client/src/app/navbar/settings/settings.component.html b/client/src/app/navbar/settings/settings.component.html index dcc1e5c..7694977 100644 --- a/client/src/app/navbar/settings/settings.component.html +++ b/client/src/app/navbar/settings/settings.component.html @@ -18,11 +18,21 @@

- +
- +
-

Path on the host where RealDebrid Client is hosted.

+

Path in the docker container to download files to (i.e. /data/downloads).

+
+
+ +
+ +
+

+ Path where files are downloaded to on your host (i.e. D:\Downloads). This path is used for Radarr and Sonarr + to find your downloads. +

@@ -38,16 +48,30 @@

Maximum amount of downloads that get unpacked on your host at the same time.

+ +
+ +
+
+
+ +
+
+ MB +
+
+
When selecting files in the torrent, skip files smaller than this setting.
+
+
+
Error saving settings: {{ error }}
-
- Could not test your download folder
- {{ testFolderError }} +
+ Could not test your download path
+ {{ testPathError }}
-
- Successfully tested your download folder -
+
Successfully tested your download path