aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/SystemManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/SystemManager.cs')
-rw-r--r--Emby.Server.Implementations/SystemManager.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/Emby.Server.Implementations/SystemManager.cs b/Emby.Server.Implementations/SystemManager.cs
index 5e9c424e9..2c477218f 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,12 +63,12 @@ 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),
SupportsLibraryMonitor = true,
- PackageName = _startupOptions.PackageName
+ PackageName = _startupOptions.PackageName,
+ CastReceiverApplications = _configurationManager.Configuration.CastReceiverApplications
};
}