mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
Fixed: Filter Extras folders when using Series Manual File Import function on series folder
fixes 3971
This commit is contained in:
parent
6d911581c3
commit
034ab0378f
@ -152,7 +152,7 @@ private List<ManualImportItem> ProcessFolder(string rootFolder, string baseFolde
|
|||||||
}
|
}
|
||||||
|
|
||||||
var folderInfo = Parser.Parser.ParseTitle(directoryInfo.Name);
|
var folderInfo = Parser.Parser.ParseTitle(directoryInfo.Name);
|
||||||
var seriesFiles = _diskScanService.GetVideoFiles(baseFolder).ToList();
|
var seriesFiles = _diskScanService.FilterPaths(rootFolder, _diskScanService.GetVideoFiles(baseFolder).ToList());
|
||||||
var decisions = _importDecisionMaker.GetImportDecisions(seriesFiles, series, downloadClientItem, folderInfo, SceneSource(series, baseFolder), filterExistingFiles);
|
var decisions = _importDecisionMaker.GetImportDecisions(seriesFiles, series, downloadClientItem, folderInfo, SceneSource(series, baseFolder), filterExistingFiles);
|
||||||
|
|
||||||
return decisions.Select(decision => MapItem(decision, rootFolder, downloadId, directoryInfo.Name)).ToList();
|
return decisions.Select(decision => MapItem(decision, rootFolder, downloadId, directoryInfo.Name)).ToList();
|
||||||
|
Loading…
Reference in New Issue
Block a user