Fallback to parsing Series from sub path during Manual Import.

Taloth Saldono 7 years ago
parent bb52f3d41c
commit 7a1c1064ae

@ -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) if (series == null)
{ {
var localEpisode = new LocalEpisode(); var localEpisode = new LocalEpisode();

Loading…
Cancel
Save