diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-08-23 16:13:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-23 16:13:36 -0400 |
| commit | 2bd37fd2c25cd740f4e9f69c4f9a766b10467ded (patch) | |
| tree | 8e847401c7f4f1d3bb4e4a873e1c5d9c1a319f22 /Emby.Server.Implementations/IO/LibraryMonitor.cs | |
| parent | 325ec18b1da59c86f13f05b20dd14491f0e83fe5 (diff) | |
| parent | 5e0f8fd8c486ac37e487786c10c2d3f9e1293ce8 (diff) | |
Merge pull request #2839 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/IO/LibraryMonitor.cs')
| -rw-r--r-- | Emby.Server.Implementations/IO/LibraryMonitor.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/IO/LibraryMonitor.cs b/Emby.Server.Implementations/IO/LibraryMonitor.cs index 1467d9426..3994e2b00 100644 --- a/Emby.Server.Implementations/IO/LibraryMonitor.cs +++ b/Emby.Server.Implementations/IO/LibraryMonitor.cs @@ -85,6 +85,8 @@ namespace Emby.Server.Implementations.IO public bool IsPathLocked(string path) { + // This method is not used by the core but it used by auto-organize + var lockedPaths = _tempIgnoredPaths.Keys.ToList(); return lockedPaths.Any(i => _fileSystem.AreEqual(i, path) || _fileSystem.ContainsSubPath(i, path)); } |
