mirror of
https://github.com/Radarr/Radarr
synced 2026-03-02 18:42:42 +01:00
Fixed: Skip sample check when rescanning series folder
This commit is contained in:
parent
baf8f6cca6
commit
63ea1f1afd
1 changed files with 3 additions and 1 deletions
|
|
@ -61,7 +61,9 @@ public List<ImportDecision> GetImportDecisions(List<string> videoFiles, Series s
|
|||
downloadClientItemInfo = Parser.Parser.ParseTitle(downloadClientItem.Title);
|
||||
}
|
||||
|
||||
var nonSampleVideoFileCount = GetNonSampleVideoFileCount(newFiles, series, downloadClientItemInfo, folderInfo);
|
||||
// If not importing from a scene source (series folder for example), then assume all files are not samples
|
||||
// to avoid using media info on every file needlessly (especially if Analyse Media Files is disabled).
|
||||
var nonSampleVideoFileCount = sceneSource ? GetNonSampleVideoFileCount(newFiles, series, downloadClientItemInfo, folderInfo) : videoFiles.Count;
|
||||
|
||||
var decisions = new List<ImportDecision>();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue