1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Don't append the extension when using ParsePath

This commit is contained in:
Mark McDowall 2016-09-19 21:33:18 -07:00
parent a486bff40b
commit 522ef9d8d5

View File

@ -270,7 +270,7 @@ public static ParsedEpisodeInfo ParsePath(string path)
if (result == null)
{
Logger.Debug("Attempting to parse episode info using directory and file names. {0}", fileInfo.Directory.Name);
result = ParseTitle(fileInfo.Directory.Name + " " + fileInfo.Name + fileInfo.Extension);
result = ParseTitle(fileInfo.Directory.Name + " " + fileInfo.Name);
}
if (result == null)