From 189483b2b7790da7d14571aba0c91fa44a5dce3e Mon Sep 17 00:00:00 2001 From: flightlevel Date: Sun, 7 Feb 2016 16:39:20 +1100 Subject: [PATCH] BitMeTv: Add instructions BitMeTv: Add instructions to turn on SSL --- src/Jackett/Indexers/BitMeTV.cs | 2 +- .../Models/IndexerConfig/ConfigurationDataCaptchaLogin.cs | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Jackett/Indexers/BitMeTV.cs b/src/Jackett/Indexers/BitMeTV.cs index bd1faddc5..ae83490e9 100644 --- a/src/Jackett/Indexers/BitMeTV.cs +++ b/src/Jackett/Indexers/BitMeTV.cs @@ -42,7 +42,7 @@ namespace Jackett.Indexers client: c, logger: l, p: ps, - configData: new ConfigurationDataCaptchaLogin()) + configData: new ConfigurationDataCaptchaLogin("Ensure that you have the 'Force SSL' option set to 'yes' in your profile on the BitMeTv webpage.")) { } diff --git a/src/Jackett/Models/IndexerConfig/ConfigurationDataCaptchaLogin.cs b/src/Jackett/Models/IndexerConfig/ConfigurationDataCaptchaLogin.cs index a3ae9b896..d19c90443 100644 --- a/src/Jackett/Models/IndexerConfig/ConfigurationDataCaptchaLogin.cs +++ b/src/Jackett/Models/IndexerConfig/ConfigurationDataCaptchaLogin.cs @@ -18,13 +18,17 @@ namespace Jackett.Models.IndexerConfig public HiddenItem CaptchaCookie { get; private set; } - public ConfigurationDataCaptchaLogin() + public DisplayItem Instructions { get; private set; } + + /// Enter any instructions the user will need to setup the tracker + public ConfigurationDataCaptchaLogin(string instructionMessageOptional = null) { Username = new StringItem { Name = "Username" }; Password = new StringItem { Name = "Password" }; CaptchaImage = new ImageItem { Name = "Captcha Image" }; CaptchaText = new StringItem { Name = "Captcha Text" }; CaptchaCookie = new HiddenItem("") { Name = "Captcha Cookie" }; + Instructions = new DisplayItem(instructionMessageOptional) { Name = "" }; } } }