aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-03-29 11:40:32 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-03-29 11:40:32 -0400
commit0c32267717e1b7885addf132fe70adde787dbcd2 (patch)
treea5401fc62596536f2d4f1e10f58512bb07dcd1ef /MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
parentca9a0edd173cb16b823fa4872e364aab6c68729f (diff)
stub out web client media controller
Diffstat (limited to 'MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs')
-rw-r--r--MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs12
1 files changed, 2 insertions, 10 deletions
diff --git a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
index 9279fd8d7..08add952a 100644
--- a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
+++ b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
@@ -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;