diff --git a/PlexRequests.Core/SettingModels/CouchPotatoSettings.cs b/PlexRequests.Core/SettingModels/CouchPotatoSettings.cs index 9b3d9b385..0c4ccd06f 100644 --- a/PlexRequests.Core/SettingModels/CouchPotatoSettings.cs +++ b/PlexRequests.Core/SettingModels/CouchPotatoSettings.cs @@ -36,13 +36,14 @@ namespace PlexRequests.Core.SettingModels public string Ip { get; set; } public int Port { get; set; } public string ApiKey { get; set; } + public bool Ssl { get; set; } [JsonIgnore] public Uri FullUri { get { - var formatted = Ip.ReturnUri(Port); + var formatted = Ip.ReturnUri(Port, Ssl); return formatted; } } diff --git a/PlexRequests.Core/SettingModels/SonarrSettings.cs b/PlexRequests.Core/SettingModels/SonarrSettings.cs index 4441d48d2..15f486d37 100644 --- a/PlexRequests.Core/SettingModels/SonarrSettings.cs +++ b/PlexRequests.Core/SettingModels/SonarrSettings.cs @@ -39,13 +39,14 @@ namespace PlexRequests.Core.SettingModels public string QualityProfile { get; set; } public bool SeasonFolders { get; set; } public string RootPath { get; set; } + public bool Ssl { get; set; } [JsonIgnore] public Uri FullUri { get { - var formatted = Ip.ReturnUri(Port); + var formatted = Ip.ReturnUri(Port, Ssl); return formatted; } } diff --git a/PlexRequests.UI/Views/Admin/CouchPotato.cshtml b/PlexRequests.UI/Views/Admin/CouchPotato.cshtml index 986355e1f..0b967436b 100644 --- a/PlexRequests.UI/Views/Admin/CouchPotato.cshtml +++ b/PlexRequests.UI/Views/Admin/CouchPotato.cshtml @@ -37,7 +37,20 @@ - +
+
+ +
+
diff --git a/PlexRequests.UI/Views/Admin/Sonarr.cshtml b/PlexRequests.UI/Views/Admin/Sonarr.cshtml index e7c6cccf0..83a06c443 100644 --- a/PlexRequests.UI/Views/Admin/Sonarr.cshtml +++ b/PlexRequests.UI/Views/Admin/Sonarr.cshtml @@ -37,7 +37,20 @@
- +
+
+ +
+