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:
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)
|
||||
{
|
||||
var localEpisode = new LocalEpisode();
|
||||
|
Loading…
Reference in New Issue
Block a user