From fab983b6dcf7b282e8c96e3509209fcc568fb922 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 10 Jun 2013 22:51:23 -0400 Subject: removed some preemptive file filtering --- MediaBrowser.Server.Implementations/Library/LibraryManager.cs | 6 ------ .../Localization/LocalizationManager.cs | 4 +--- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'MediaBrowser.Server.Implementations') diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs index 472ea963cf..ed4e1dcb35 100644 --- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs +++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs @@ -460,12 +460,6 @@ namespace MediaBrowser.Server.Implementations.Library fileInfo = fileInfo ?? FileSystem.GetFileSystemInfo(path); - if (!fileInfo.Exists) - { - _logger.Error("Path in library does not exist or is unavailable: " + path); - return null; - } - var args = new ItemResolveArgs(ConfigurationManager.ApplicationPaths) { Parent = parent, diff --git a/MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs b/MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs index 89891a1629..2c67c97965 100644 --- a/MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs +++ b/MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs @@ -1,5 +1,4 @@ -using MediaBrowser.Common.IO; -using MediaBrowser.Controller.Configuration; +using MediaBrowser.Controller.Configuration; using MediaBrowser.Controller.Localization; using MediaBrowser.Model.Entities; using MediaBrowser.Model.Globalization; @@ -10,7 +9,6 @@ using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; -using System.Threading.Tasks; namespace MediaBrowser.Server.Implementations.Localization { -- cgit v1.2.3