mirror of https://github.com/Radarr/Radarr
Fixed: Ignore files in subfolders during a manual import
This commit is contained in:
parent
c7c97e508d
commit
2ee77aa0a4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue