aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-21 00:04:11 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-21 00:04:11 -0500
commit7cd41a6ed62c46006307add9de92e0b329bd0edc (patch)
treef8d6515c218db6be90028f3fc7bacd549a0dab8f /MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
parenta91c676565579c0ce7f7954e89a2b57a5c6c5780 (diff)
easier user library setup
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs')
-rw-r--r--MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs20
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))
{