diff options
| author | Xu Fasheng <fasheng.xu@gmail.com> | 2019-02-22 10:13:52 +0800 |
|---|---|---|
| committer | Xu Fasheng <fasheng.xu@gmail.com> | 2019-02-22 20:13:17 +0800 |
| commit | 2db1826ed887bb84dc5065ff38ae67fe92cc6c51 (patch) | |
| tree | d54b037ffd44bbb9071ffafe0f43b901249b13f6 | |
| parent | cf4e64f4309a40ff50607d418970bc2767a275bb (diff) | |
Enable DLNA multi socket binding for linux
If not, DLNA on multiple interfaces not works for linux, for
example ZerotierOne VPN.
| -rw-r--r-- | Emby.Dlna/Main/DlnaEntryPoint.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Dlna/Main/DlnaEntryPoint.cs b/Emby.Dlna/Main/DlnaEntryPoint.cs index 4eb4cde81..8eff7f773 100644 --- a/Emby.Dlna/Main/DlnaEntryPoint.cs +++ b/Emby.Dlna/Main/DlnaEntryPoint.cs @@ -169,7 +169,8 @@ namespace Emby.Dlna.Main { if (_communicationsServer == null) { - var enableMultiSocketBinding = _environmentInfo.OperatingSystem == MediaBrowser.Model.System.OperatingSystem.Windows; + var enableMultiSocketBinding = _environmentInfo.OperatingSystem == MediaBrowser.Model.System.OperatingSystem.Windows || + _environmentInfo.OperatingSystem == MediaBrowser.Model.System.OperatingSystem.Linux; _communicationsServer = new SsdpCommunicationsServer(_config, _socketFactory, _networkManager, _logger, enableMultiSocketBinding) { |
