Fixed: Ignore files in subfolders during a manual import

This commit is contained in:
Taloth Saldono 2020-09-21 17:27:02 +02:00 committed by Qstick
parent c7c97e508d
commit 2ee77aa0a4
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ namespace NzbDrone.Core.MediaFiles.MovieImport.Manual
}
var folderInfo = Parser.Parser.ParseMovieTitle(directoryInfo.Name);
var movieFiles = _diskScanService.GetVideoFiles(baseFolder).ToList();
var movieFiles = _diskScanService.FilterPaths(rootFolder, _diskScanService.GetVideoFiles(baseFolder).ToList());
var decisions = _importDecisionMaker.GetImportDecisions(movieFiles, movie, downloadClientItem, folderInfo, SceneSource(movie, baseFolder), filterExistingFiles);
return decisions.Select(decision => MapItem(decision, rootFolder, downloadId, directoryInfo.Name)).ToList();