aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-05 23:39:16 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-05 23:39:16 -0500
commit821a3d29a228feaa3ac4d36c58ee478a405e0481 (patch)
tree48925fa069c1b57cc3c126b58194740c191359c1 /MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
parent64eb8c82a3e82d84ac827aa35a55fdface9ac783 (diff)
converted movie providers to new system
Diffstat (limited to 'MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs')
-rw-r--r--MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs13
1 files changed, 1 insertions, 12 deletions
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<Folder>()
.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();