diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-01-11 12:58:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-11 12:58:44 -0500 |
| commit | fb31918f9cea1cd13d9aa8c7468f961cc4f43833 (patch) | |
| tree | 0a3d696a0e32ff4b646d899912f2b6ffe9ea4807 /Emby.Server.Core | |
| parent | cce6484b6c52b37609d09fb5112ff04b166fab72 (diff) | |
| parent | 0b5d4ce3f839118a0a5903ec278321ecfecf1c32 (diff) | |
Merge pull request #2392 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Core')
| -rw-r--r-- | Emby.Server.Core/IO/LibraryMonitor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Core/IO/LibraryMonitor.cs b/Emby.Server.Core/IO/LibraryMonitor.cs index 87b70d0479..f0ecb9d892 100644 --- a/Emby.Server.Core/IO/LibraryMonitor.cs +++ b/Emby.Server.Core/IO/LibraryMonitor.cs @@ -87,7 +87,7 @@ namespace Emby.Server.Core.IO public bool IsPathLocked(string path) { var lockedPaths = _tempIgnoredPaths.Keys.ToList(); - return lockedPaths.Any(i => string.Equals(i, path, StringComparison.OrdinalIgnoreCase) || _fileSystem.ContainsSubPath(i, path)); + return lockedPaths.Any(i => _fileSystem.AreEqual(i, path) || _fileSystem.ContainsSubPath(i, path)); } public async void ReportFileSystemChangeComplete(string path, bool refreshPath) |
