Merge pull request #8695 from JeWe37/master
This commit is contained in:
commit
66954b4efe
|
@ -175,12 +175,12 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||
return Array.Empty<ExternalPathParserResult>();
|
||||
}
|
||||
|
||||
var files = directoryService.GetFilePaths(folder, clearCache).ToList();
|
||||
var files = directoryService.GetFilePaths(folder, clearCache, true).ToList();
|
||||
files.Remove(video.Path);
|
||||
var internalMetadataPath = video.GetInternalMetadataPath();
|
||||
if (_fileSystem.DirectoryExists(internalMetadataPath))
|
||||
{
|
||||
files.AddRange(directoryService.GetFilePaths(internalMetadataPath, clearCache));
|
||||
files.AddRange(directoryService.GetFilePaths(internalMetadataPath, clearCache, true));
|
||||
}
|
||||
|
||||
if (!files.Any())
|
||||
|
|
Loading…
Reference in New Issue
Block a user