add server management to web client

This commit is contained in:
Luke Pulverenti
2014-11-04 07:41:12 -05:00
parent 7ca1cd8795
commit 60d3f47503
72 changed files with 20510 additions and 18390 deletions

View File

@@ -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;
}
}