mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
add server management to web client
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user