diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeFile.cs b/src/NzbDrone.Core/MediaFiles/EpisodeFile.cs index 250bd7eec..c4da4cadd 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeFile.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeFile.cs @@ -41,12 +41,12 @@ namespace NzbDrone.Core.MediaFiles if (RelativePath.IsNotNullOrWhiteSpace()) { - return System.IO.Path.GetFileName(RelativePath); + return System.IO.Path.GetFileNameWithoutExtension(RelativePath); } if (Path.IsNotNullOrWhiteSpace()) { - return System.IO.Path.GetFileName(Path); + return System.IO.Path.GetFileNameWithoutExtension(Path); } return string.Empty;