aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Core/IO/LibraryMonitor.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-03-26 15:06:02 -0400
committerGitHub <noreply@github.com>2017-03-26 15:06:02 -0400
commita937ecfe821c5bf090c5a58638ea6f4d80230ada (patch)
treecfb186b6718796269e8c611bfbf6db12d2a2d7cf /Emby.Server.Core/IO/LibraryMonitor.cs
parent5063c2c3101364b4f1c3f6a245e2a49935aa7c2b (diff)
parent07c43a1cd3979e67ac3547f3a76a7daab5cd4bc7 (diff)
Merge pull request #2547 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Core/IO/LibraryMonitor.cs')
-rw-r--r--Emby.Server.Core/IO/LibraryMonitor.cs11
1 files changed, 0 insertions, 11 deletions
diff --git a/Emby.Server.Core/IO/LibraryMonitor.cs b/Emby.Server.Core/IO/LibraryMonitor.cs
index 4df9b930e..e1e3186c3 100644
--- a/Emby.Server.Core/IO/LibraryMonitor.cs
+++ b/Emby.Server.Core/IO/LibraryMonitor.cs
@@ -421,17 +421,6 @@ namespace Emby.Server.Core.IO
var path = e.FullPath;
- // For deletes, use the parent path
- if (e.ChangeType == WatcherChangeTypes.Deleted)
- {
- var parentPath = Path.GetDirectoryName(path);
-
- if (!string.IsNullOrWhiteSpace(parentPath))
- {
- path = parentPath;
- }
- }
-
ReportFileSystemChanged(path);
}
catch (Exception ex)