mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 03:52:33 +02:00
Fixed: Ignore files in subfolders during a manual import
This commit is contained in:
parent
c7c97e508d
commit
2ee77aa0a4
@ -133,7 +133,7 @@ private List<ManualImportItem> ProcessFolder(string rootFolder, string baseFolde
|
||||
}
|
||||
|
||||
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
Block a user