1
0
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:
Taloth Saldono 2020-09-21 17:27:02 +02:00
parent 6d911581c3
commit 034ab0378f

View File

@ -152,7 +152,7 @@ private List<ManualImportItem> ProcessFolder(string rootFolder, string baseFolde
}
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);
return decisions.Select(decision => MapItem(decision, rootFolder, downloadId, directoryInfo.Name)).ToList();