Merge pull request #7527 from Shadowghost/mediaresolver-fix

(cherry picked from commit aa1b1c6bbb)
Signed-off-by: crobibero <cody@robibe.ro>
This commit is contained in:
Cody Robibero 2022-03-30 20:10:36 -06:00 committed by crobibero
parent e086eebb71
commit 9e380768dd
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
@ -153,6 +152,7 @@ namespace MediaBrowser.Providers.MediaInfo
}
var files = directoryService.GetFilePaths(folder, clearCache).ToList();
files.Remove(video.Path);
var internalMetadataPath = video.GetInternalMetadataPath();
if (_fileSystem.DirectoryExists(internalMetadataPath))
{