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 --- MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs') diff --git a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs index 38f5cb62a..f1f9048a9 100644 --- a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs +++ b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs @@ -162,18 +162,7 @@ namespace MediaBrowser.Server.Implementations.IO .Children .OfType() .Where(i => i.LocationType != LocationType.Remote && i.LocationType != LocationType.Virtual) - .SelectMany(f => - { - try - { - return f.PhysicalLocations; - } - catch (IOException) - { - return new string[] { }; - } - - }) + .SelectMany(f => f.PhysicalLocations) .Distinct(StringComparer.OrdinalIgnoreCase) .OrderBy(i => i) .ToList(); -- cgit v1.2.3