1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 15:32:31 +01:00

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

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();