From 821a3d29a228feaa3ac4d36c58ee478a405e0481 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 5 Feb 2014 23:39:16 -0500 Subject: converted movie providers to new system --- .../EntryPoints/LibraryChangedNotifier.cs | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs') 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(); + return collections.Where(i => i.LocationType == LocationType.FileSystem && + i.PhysicalLocations.Contains(item.Path)).Cast(); } } -- cgit v1.2.3