diff --git a/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs b/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs index da33b0156..892d28517 100644 --- a/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs +++ b/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs @@ -168,13 +168,14 @@ namespace NzbDrone.Core.CustomFormats private static List ParseCustomFormat(MovieFile movieFile, Movie movie, List allCustomFormats) { var releaseTitle = string.Empty; + if (movieFile.SceneName.IsNotNullOrWhiteSpace()) { releaseTitle = movieFile.SceneName; } else if (movieFile.OriginalFilePath.IsNotNullOrWhiteSpace()) { - releaseTitle = movieFile.OriginalFilePath; + releaseTitle = Path.GetFileName(movieFile.OriginalFilePath); } else if (movieFile.RelativePath.IsNotNullOrWhiteSpace()) {