Remove duplicated processing of unparsed paths
This commit is contained in:
parent
5bb03a9ddf
commit
95b52e630a
|
@ -545,12 +545,6 @@ namespace NzbDrone.Core.Parser
|
||||||
result = ParseTitle(fileInfo.Directory.Name + " " + fileInfo.Name);
|
result = ParseTitle(fileInfo.Directory.Name + " " + fileInfo.Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (result == null)
|
if (result == null)
|
||||||
{
|
{
|
||||||
Logger.Debug("Attempting to parse episode info using directory name. {0}", fileInfo.Directory.Name);
|
Logger.Debug("Attempting to parse episode info using directory name. {0}", fileInfo.Directory.Name);
|
||||||
|
|
Loading…
Reference in New Issue