1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02: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)