diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-21 00:04:11 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-21 00:04:11 -0500 |
| commit | 7cd41a6ed62c46006307add9de92e0b329bd0edc (patch) | |
| tree | f8d6515c218db6be90028f3fc7bacd549a0dab8f /MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs | |
| parent | a91c676565579c0ce7f7954e89a2b57a5c6c5780 (diff) | |
easier user library setup
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs b/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs index 2928363e3..36a8d3526 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs @@ -283,26 +283,6 @@ namespace MediaBrowser.Server.Implementations.EntryPoints return new[] { user.RootFolder as T }; } - // Need to find what user collection folder this belongs to - if (item.Parent is AggregateFolder) - { - if (item.LocationType == LocationType.FileSystem) - { - return collections.Where(i => i.PhysicalLocations.Contains(item.Path)).Cast<T>(); - } - } - - // If it's a user root, return it only if it's the right one - if (item is UserRootFolder) - { - if (item.Id == user.RootFolder.Id) - { - return new[] { item }; - } - - return new T[] { }; - } - // Return it only if it's in the user's library if (includeIfNotFound || allRecursiveChildren.ContainsKey(item.Id)) { |
