From 08c250dfe3fa08f2ab71a7003d8c6d68df3dfdb1 Mon Sep 17 00:00:00 2001 From: Jendrik Weise Date: Wed, 4 Sep 2024 13:29:20 +0200 Subject: [PATCH] Fix OriginalFilePath for imported movies (#10398) --- src/NzbDrone.Core/MediaFiles/MovieImport/ImportApprovedMovie.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/MediaFiles/MovieImport/ImportApprovedMovie.cs b/src/NzbDrone.Core/MediaFiles/MovieImport/ImportApprovedMovie.cs index 4c5301620..0608c6e40 100644 --- a/src/NzbDrone.Core/MediaFiles/MovieImport/ImportApprovedMovie.cs +++ b/src/NzbDrone.Core/MediaFiles/MovieImport/ImportApprovedMovie.cs @@ -240,7 +240,7 @@ private string GetOriginalFilePath(DownloadClientItem downloadClientItem, LocalM return grandparentPath.GetRelativePath(path); } - return Path.Combine(Path.GetFileName(parentPath), Path.GetFileName(path)); + return Path.GetFileName(path); } } }