diff --git a/CHANGELOG.md b/CHANGELOG.md
index f8e788e..c5cb22f 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.73] - 2024-04-11
+### Changed
+- Fixed another issue with the symlinker and file resolver.
+
## [2.0.72] - 2024-04-10
### Changed
- Fixed issue with download speed test when the symlink downloader is selected.
diff --git a/client/src/app/navbar/navbar.component.html b/client/src/app/navbar/navbar.component.html
index 8529843..a1315f9 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.72
+ Version 2.0.73
diff --git a/package.json b/package.json
index dda748c..0e88a6b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "rdt-client",
- "version": "2.0.72",
+ "version": "2.0.73",
"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 001c933..65b7fd4 100644
--- a/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs
+++ b/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs
@@ -25,6 +25,7 @@ public class SymlinkDownloader(String uri, String destinationPath, String path)
var rcloneMountPath = Settings.Get.DownloadClient.RcloneMountPath.TrimEnd(['\\', '/']);
var fileName = filePath.Name;
var fileExtension = filePath.Extension;
+ var fileNameWithoutExtension = fileName.Replace(fileExtension, "");
var pathWithoutFileName = path.Replace(fileName, "").TrimEnd(['\\', '/']);
var searchPath = Path.Combine(rcloneMountPath, pathWithoutFileName);
@@ -56,13 +57,14 @@ public class SymlinkDownloader(String uri, String destinationPath, String path)
potentialFilePaths.Add(directoryInfo.FullName);
directoryInfo = directoryInfo.Parent;
- if (directoryInfo.FullName == rcloneMountPath)
+ if (directoryInfo.FullName.TrimEnd(['\\', '/']) == rcloneMountPath)
{
break;
}
}
potentialFilePaths.Add(Path.Combine(rcloneMountPath, fileName));
+ potentialFilePaths.Add(Path.Combine(rcloneMountPath, fileNameWithoutExtension));
FileInfo? file = null;
diff --git a/server/RdtClient.Web/RdtClient.Web.csproj b/server/RdtClient.Web/RdtClient.Web.csproj
index 3b86186..92271bf 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.72
+ 2.0.73
enable
enable
latest