Don't append the extension when using ParsePath
This commit is contained in:
parent
a486bff40b
commit
522ef9d8d5
|
@ -270,7 +270,7 @@ namespace NzbDrone.Core.Parser
|
||||||
if (result == null)
|
if (result == null)
|
||||||
{
|
{
|
||||||
Logger.Debug("Attempting to parse episode info using directory and file names. {0}", fileInfo.Directory.Name);
|
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)
|
if (result == null)
|
||||||
|
|
Loading…
Reference in New Issue