mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #7527 from Shadowghost/mediaresolver-fix
This commit is contained in:
commit
aa1b1c6bbb
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
@ -153,6 +152,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||||||
}
|
}
|
||||||
|
|
||||||
var files = directoryService.GetFilePaths(folder, clearCache).ToList();
|
var files = directoryService.GetFilePaths(folder, clearCache).ToList();
|
||||||
|
files.Remove(video.Path);
|
||||||
var internalMetadataPath = video.GetInternalMetadataPath();
|
var internalMetadataPath = video.GetInternalMetadataPath();
|
||||||
if (_fileSystem.DirectoryExists(internalMetadataPath))
|
if (_fileSystem.DirectoryExists(internalMetadataPath))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user