aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Folder.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-08-23 16:13:36 -0400
committerGitHub <noreply@github.com>2017-08-23 16:13:36 -0400
commit2bd37fd2c25cd740f4e9f69c4f9a766b10467ded (patch)
tree8e847401c7f4f1d3bb4e4a873e1c5d9c1a319f22 /MediaBrowser.Controller/Entities/Folder.cs
parent325ec18b1da59c86f13f05b20dd14491f0e83fe5 (diff)
parent5e0f8fd8c486ac37e487786c10c2d3f9e1293ce8 (diff)
Merge pull request #2839 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Controller/Entities/Folder.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Folder.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs
index b08834784..11c0a5747 100644
--- a/MediaBrowser.Controller/Entities/Folder.cs
+++ b/MediaBrowser.Controller/Entities/Folder.cs
@@ -648,15 +648,15 @@ namespace MediaBrowser.Controller.Entities
public static bool IsPathOffline(string path, List<string> allLibraryPaths)
{
- if (FileSystem.FileExists(path))
- {
- return false;
- }
+ //if (FileSystem.FileExists(path))
+ //{
+ // return false;
+ //}
var originalPath = path;
// Depending on whether the path is local or unc, it may return either null or '\' at the top
- while (!string.IsNullOrEmpty(path) && path.Length > 1)
+ while (!string.IsNullOrWhiteSpace(path) && path.Length > 1)
{
if (FileSystem.DirectoryExists(path))
{