Currently Changes Http / Https proxy support has been added , To disguise the Ip address or if a proxy service is required IOptions pattern has been implemented. Better options handling Extensions methods have been implemented to make Program.cs smaller Added a global logger for static and extension methods appsettings.json now contains "default" data for the applications and proxy settings. The Docker variables are also specified above it. This also fixes the bug that you have to set all variables, although you only want to use Sonarr, for example
23 lines
602 B
C#
23 lines
602 B
C#
namespace UmlautAdaptarr.Options.ArrOptions
|
|
{
|
|
/// <summary>
|
|
/// Base Options for ARR applications
|
|
/// </summary>
|
|
public class ArrApplicationBaseOptions
|
|
{
|
|
/// <summary>
|
|
/// Indicates whether the Arr application is enabled.
|
|
/// </summary>
|
|
public bool Enabled { get; set; }
|
|
|
|
/// <summary>
|
|
/// The host of the ARR application.
|
|
/// </summary>
|
|
public string Host { get; set; }
|
|
|
|
/// <summary>
|
|
/// The API key of the ARR application.
|
|
/// </summary>
|
|
public string ApiKey { get; set; }
|
|
}
|
|
} |