|
@@ -349,13 +349,13 @@ namespace MediaBrowser.Server.Implementations.IO
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
- Logger.Debug("Watcher sees change of type " + e.ChangeType + " to " + e.FullPath);
|
|
|
+ Logger.Debug("Changed detected of type " + e.ChangeType + " to " + e.FullPath);
|
|
|
|
|
|
ReportFileSystemChanged(e.FullPath);
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
|
- Logger.ErrorException("Exception in watcher changed. Path: {0}", ex, e.FullPath);
|
|
|
+ Logger.ErrorException("Exception in ReportFileSystemChanged. Path: {0}", ex, e.FullPath);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -397,14 +397,6 @@ namespace MediaBrowser.Server.Implementations.IO
|
|
|
Logger.Debug("Ignoring change to {0}", path);
|
|
|
return true;
|
|
|
}
|
|
|
-
|
|
|
- // Go up another level
|
|
|
- parent = Path.GetDirectoryName(i);
|
|
|
- if (string.Equals(parent, path, StringComparison.OrdinalIgnoreCase))
|
|
|
- {
|
|
|
- Logger.Debug("Ignoring change to {0}", path);
|
|
|
- return true;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
return false;
|