aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/SystemManager.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-10-11 01:51:15 +0200
committerGitHub <noreply@github.com>2023-10-10 17:51:15 -0600
commit26571a8c51b9670f198e58175463e1d3db5441ee (patch)
tree7fafbd09d89735c1ecbf8eda28a47cf82266edfe /Emby.Server.Implementations/SystemManager.cs
parentdc27d8f9cd3b6cf280ba8e5e2520db387f651fb4 (diff)
Deprecate CanLaunchWebBrowser (#10381)
It's been a while since I removed this feature from server not sure why it's in the api anyway. The macOS and Windows app have this functionality
Diffstat (limited to 'Emby.Server.Implementations/SystemManager.cs')
-rw-r--r--Emby.Server.Implementations/SystemManager.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/SystemManager.cs b/Emby.Server.Implementations/SystemManager.cs
index 5e9c424e9..af66b62e3 100644
--- a/Emby.Server.Implementations/SystemManager.cs
+++ b/Emby.Server.Implementations/SystemManager.cs
@@ -46,10 +46,6 @@ public class SystemManager : ISystemManager
_installationManager = installationManager;
}
- private bool CanLaunchWebBrowser => Environment.UserInteractive
- && !_startupOptions.IsService
- && (OperatingSystem.IsWindows() || OperatingSystem.IsMacOS());
-
/// <inheritdoc />
public SystemInfo GetSystemInfo(HttpRequest request)
{
@@ -67,7 +63,6 @@ public class SystemManager : ISystemManager
ItemsByNamePath = _applicationPaths.InternalMetadataPath,
InternalMetadataPath = _applicationPaths.InternalMetadataPath,
CachePath = _applicationPaths.CachePath,
- CanLaunchWebBrowser = CanLaunchWebBrowser,
TranscodingTempPath = _configurationManager.GetTranscodePath(),
ServerName = _applicationHost.FriendlyName,
LocalAddress = _applicationHost.GetSmartApiUrl(request),