1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Remove duplicated processing of unparsed paths

This commit is contained in:
Mark McDowall 2023-05-06 21:53:01 -07:00
parent 5bb03a9ddf
commit 95b52e630a

View File

@ -545,12 +545,6 @@ public static ParsedEpisodeInfo ParsePath(string path)
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)
{
Logger.Debug("Attempting to parse episode info using directory name. {0}", fileInfo.Directory.Name);