mirror of
https://github.com/lidarr/Lidarr
synced 2025-03-04 10:28:08 +00:00
Fixed: CDH erroneously reported a locked file on import.
This commit is contained in:
parent
0ae0bd43be
commit
94311bda1f
1 changed files with 10 additions and 7 deletions
|
@ -100,6 +100,8 @@ namespace NzbDrone.Core.MediaFiles
|
|||
|
||||
var videoFiles = _diskScanService.GetVideoFiles(directoryInfo.FullName);
|
||||
|
||||
if (downloadClientItem == null)
|
||||
{
|
||||
foreach (var videoFile in videoFiles)
|
||||
{
|
||||
if (_diskProvider.IsFileLocked(videoFile))
|
||||
|
@ -111,6 +113,7 @@ namespace NzbDrone.Core.MediaFiles
|
|||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var decisions = _importDecisionMaker.GetImportDecisions(videoFiles.ToList(), series, true, quality);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue