|
|
|
@ -67,6 +67,12 @@ namespace Jellyfin.Server
|
|
|
|
|
[Option("published-server-url", Required = false, HelpText = "Jellyfin Server URL to publish via auto discover process")]
|
|
|
|
|
public string? PublishedServerUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether the server should not detect network status change.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Option("nonetchange", Required = false, HelpText = "Indicates that the server should not detect network status change.")]
|
|
|
|
|
public bool NoDetectNetworkChange { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the command line options as a dictionary that can be used in the .NET configuration system.
|
|
|
|
|
/// </summary>
|
|
|
|
@ -90,6 +96,11 @@ namespace Jellyfin.Server
|
|
|
|
|
config.Add(FfmpegPathKey, FFmpegPath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (NoDetectNetworkChange)
|
|
|
|
|
{
|
|
|
|
|
config.Add(DetectNetworkChangeKey, bool.FalseString);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return config;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|