aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-11-04 07:41:12 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-11-04 07:41:12 -0500
commit60d3f475033cef64a8f3153beb910e48529c8e16 (patch)
tree7774f0c55cebc17f459965e03094d05e88f465f2 /MediaBrowser.Controller
parent7ca1cd8795c465953ddb4560ce62fe6efba9f9d3 (diff)
add server management to web client
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Entities/BaseItem.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs
index d82ef3f56..0b61262dc 100644
--- a/MediaBrowser.Controller/Entities/BaseItem.cs
+++ b/MediaBrowser.Controller/Entities/BaseItem.cs
@@ -202,12 +202,12 @@ namespace MediaBrowser.Controller.Entities
return LocationType.Offline;
}
- if (string.IsNullOrEmpty(Path))
+ if (string.IsNullOrWhiteSpace(Path))
{
return LocationType.Virtual;
}
- return System.IO.Path.IsPathRooted(Path) ? LocationType.FileSystem : LocationType.Remote;
+ return FileSystem.IsPathFile(Path) ? LocationType.FileSystem : LocationType.Remote;
}
}