feat: manage sonarr configuration

- add config class to sonarr module
- update params to include unique group param
This commit is contained in:
2024-06-25 23:30:10 +10:00
parent 34e696e8c3
commit f22556b39f
8 changed files with 113 additions and 31 deletions
@@ -0,0 +1,16 @@
<Config>
<BindAddress><%= @bind_address %></BindAddress>
<Port><%= @port %></Port>
<SslPort><%= @ssl_port %></SslPort>
<EnableSsl><%= @enable_ssl.to_s.capitalize %></EnableSsl>
<LaunchBrowser><%= @launch_browser.to_s.capitalize %></LaunchBrowser>
<ApiKey><%= @api_key %></ApiKey>
<AuthenticationMethod><%= @authentication_method %></AuthenticationMethod>
<AuthenticationRequired><%= @authentication_required %></AuthenticationRequired>
<Branch><%= @branch %></Branch>
<LogLevel><%= @log_level %></LogLevel>
<SslCertPath><%= @ssl_cert_path || '' %></SslCertPath>
<SslCertPassword><%= @ssl_cert_password || '' %></SslCertPassword>
<UrlBase><%= @url_base || '' %></UrlBase>
<InstanceName><%= @instance_name %></InstanceName>
</Config>