Fallback to parsing Series from sub path during Manual Import.

This commit is contained in:
Taloth Saldono 2017-11-09 22:10:24 +01:00
parent bb52f3d41c
commit 7a1c1064ae
1 changed files with 10 additions and 0 deletions

View File

@ -150,6 +150,16 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Manual
}
}
if (series == null)
{
var relativeParseInfo = Parser.Parser.ParsePath(relativeFile);
if (relativeParseInfo != null)
{
series = _seriesService.FindByTitle(relativeParseInfo.SeriesTitle);
}
}
if (series == null)
{
var localEpisode = new LocalEpisode();