From d36b9cf8899d20c239e368deae4c54c419af515d Mon Sep 17 00:00:00 2001 From: Roger Far Date: Tue, 9 Apr 2024 20:02:07 -0600 Subject: [PATCH] Add fix for symlink downloader. --- CHANGELOG.md | 4 ++++ client/src/app/navbar/navbar.component.html | 2 +- package.json | 2 +- .../Services/Downloaders/SymlinkDownloader.cs | 7 +++++-- server/RdtClient.Web/RdtClient.Web.csproj | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e23ba91..846ff0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0.67] - 2024-04-08 +### Changed +- Symlink fixes. + ## [2.0.66] - 2024-04-08 ### Changed - Symlink fixes and improvements. diff --git a/client/src/app/navbar/navbar.component.html b/client/src/app/navbar/navbar.component.html index 88ce849..ad737c5 100644 --- a/client/src/app/navbar/navbar.component.html +++ b/client/src/app/navbar/navbar.component.html @@ -55,7 +55,7 @@ Profile Logout - Version 2.0.66 + Version 2.0.67 diff --git a/package.json b/package.json index e3e163e..1c3c137 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rdt-client", - "version": "2.0.66", + "version": "2.0.67", "description": "This is a web interface to manage your torrents on Real-Debrid.", "main": "index.js", "dependencies": { diff --git a/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs b/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs index 28bd4e9..ba2f058 100644 --- a/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs +++ b/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs @@ -47,7 +47,10 @@ public async Task Download() Speed = 0 }); - var potentialFilePaths = new List(); + var potentialFilePaths = new List + { + Path.Combine(rcloneMountPath, fileName) + }; var directoryInfo = new DirectoryInfo(searchPath); while (directoryInfo.Parent != null) @@ -73,7 +76,7 @@ public async Task Download() Speed = 1 }); - _logger.Debug($"Searching {Settings.Get.DownloadClient.RcloneMountPath} for {fileName} (attempt #{retryCount})..."); + _logger.Debug($"Searching {rcloneMountPath} for {fileName} (attempt #{retryCount})..."); foreach (var potentialFilePath in potentialFilePaths) { diff --git a/server/RdtClient.Web/RdtClient.Web.csproj b/server/RdtClient.Web/RdtClient.Web.csproj index b55d46e..7388d4d 100644 --- a/server/RdtClient.Web/RdtClient.Web.csproj +++ b/server/RdtClient.Web/RdtClient.Web.csproj @@ -4,7 +4,7 @@ net8.0 Exe 94c24cba-f03f-4453-a671-3640b517c573 - 2.0.66 + 2.0.67 enable enable latest