mirror of
https://github.com/Radarr/Radarr
synced 2026-03-04 03:23:13 +01:00
Fallback to parsing Series from sub path during Manual Import.
This commit is contained in:
parent
bb52f3d41c
commit
7a1c1064ae
1 changed files with 10 additions and 0 deletions
|
|
@ -150,6 +150,16 @@ private ManualImportItem ProcessFile(string file, string downloadId, string fold
|
|||
}
|
||||
}
|
||||
|
||||
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 a new issue