diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-03-26 15:06:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-26 15:06:02 -0400 |
| commit | a937ecfe821c5bf090c5a58638ea6f4d80230ada (patch) | |
| tree | cfb186b6718796269e8c611bfbf6db12d2a2d7cf /Emby.Server.Core/IO/LibraryMonitor.cs | |
| parent | 5063c2c3101364b4f1c3f6a245e2a49935aa7c2b (diff) | |
| parent | 07c43a1cd3979e67ac3547f3a76a7daab5cd4bc7 (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.cs | 11 |
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) |
