diff --git a/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs b/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs index beeb1c181c..b9b2b560b0 100644 --- a/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs +++ b/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs @@ -23,7 +23,7 @@ namespace MediaBrowser.Server.Implementations.IO /// /// The file system watchers /// - private ConcurrentDictionary _fileSystemWatchers = new ConcurrentDictionary(StringComparer.OrdinalIgnoreCase); + private readonly ConcurrentDictionary _fileSystemWatchers = new ConcurrentDictionary(StringComparer.OrdinalIgnoreCase); /// /// The update timer /// @@ -424,6 +424,7 @@ namespace MediaBrowser.Server.Implementations.IO //still being written to //or being processed by another thread //or does not exist (has already been processed) + Logger.Debug("{0} is locked.", path); return true; } }