mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-28 05:10:30 +00:00
Add option to toggle if ignore virtual interfaces
Some VPN like ZerotierOne owns IP address but no gateway, and there is no good idea in NetworkManager.GetIPsDefault() to filter such virtual interfaces, so just provide one option to let user decide it.
This commit is contained in:
parent
e7e7d96f51
commit
cf4e64f430
7 changed files with 18 additions and 11 deletions
|
|
@ -178,6 +178,7 @@ namespace MediaBrowser.Model.Configuration
|
|||
public string[] LocalNetworkSubnets { get; set; }
|
||||
public string[] LocalNetworkAddresses { get; set; }
|
||||
public string[] CodecsUsed { get; set; }
|
||||
public bool IgnoreVirtualInterfaces { get; set; }
|
||||
public bool EnableExternalContentInSuggestions { get; set; }
|
||||
public bool RequireHttps { get; set; }
|
||||
public bool IsBehindProxy { get; set; }
|
||||
|
|
@ -205,6 +206,7 @@ namespace MediaBrowser.Model.Configuration
|
|||
CodecsUsed = Array.Empty<string>();
|
||||
ImageExtractionTimeoutMs = 0;
|
||||
PathSubstitutions = Array.Empty<PathSubstitution>();
|
||||
IgnoreVirtualInterfaces = false;
|
||||
EnableSimpleArtistDetection = true;
|
||||
|
||||
DisplaySpecialsWithinSeasons = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue