aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs')
-rw-r--r--MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs17
1 files changed, 2 insertions, 15 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs b/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
index 32d4c7708..7dacfacc2 100644
--- a/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
+++ b/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
@@ -273,21 +273,8 @@ namespace MediaBrowser.Server.Implementations.EntryPoints
{
if (item.LocationType == LocationType.FileSystem)
{
- return collections.Where(i =>
- {
-
- try
- {
- return i.LocationType == LocationType.FileSystem &&
- i.PhysicalLocations.Contains(item.Path);
- }
- catch (Exception ex)
- {
- _logger.ErrorException("Error getting ResolveArgs for {0}", ex, i.Path);
- return false;
- }
-
- }).Cast<T>();
+ return collections.Where(i => i.LocationType == LocationType.FileSystem &&
+ i.PhysicalLocations.Contains(item.Path)).Cast<T>();
}
}