From 711d93c3129e47689430cff277e9077a2bd22be5 Mon Sep 17 00:00:00 2001 From: Touchstone64 Date: Thu, 4 Dec 2025 12:49:02 +0000 Subject: [PATCH] Remove the 'unclean path' warning and simplify the folder existence check --- src/NzbDrone.Common/Disk/DiskTransferService.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/NzbDrone.Common/Disk/DiskTransferService.cs b/src/NzbDrone.Common/Disk/DiskTransferService.cs index 2bcf3474b8..36bcbcc3ee 100644 --- a/src/NzbDrone.Common/Disk/DiskTransferService.cs +++ b/src/NzbDrone.Common/Disk/DiskTransferService.cs @@ -28,18 +28,12 @@ public DiskTransferService(IDiskProvider diskProvider, Logger logger) private string ResolveRealParentPath(string path) { - var testExists = path.GetParentPath(); - if (!_diskProvider.FolderExists(testExists)) + if (!_diskProvider.FolderExists(path.GetParentPath())) { return path; } var cleanPath = path.GetCleanPath(); - if (cleanPath != path) - { - _logger.Warn($"Path '{path}' is not clean, using '{cleanPath}' to resolve the parent path instead"); - } - var parentPath = cleanPath.GetParentPath(); var realParentPath = parentPath.GetActualCasing(); var partialChildPath = cleanPath.Substring(parentPath.Length);