diff --git a/src/Jackett.Common/Models/IndexerConfig/Bespoke/ConfigurationDataAnimeBytes.cs b/src/Jackett.Common/Models/IndexerConfig/Bespoke/ConfigurationDataAnimeBytes.cs index 133dac424..930ba5d68 100644 --- a/src/Jackett.Common/Models/IndexerConfig/Bespoke/ConfigurationDataAnimeBytes.cs +++ b/src/Jackett.Common/Models/IndexerConfig/Bespoke/ConfigurationDataAnimeBytes.cs @@ -1,9 +1,9 @@ namespace Jackett.Common.Models.IndexerConfig.Bespoke { - class ConfigurationDataAnimeBytes : ConfigurationDataCaptchaLogin + class ConfigurationDataAnimeBytes : ConfigurationDataPasskey { public BoolItem IncludeRaw { get; private set; } - public DisplayItem DateWarning { get; private set; } + //public DisplayItem DateWarning { get; private set; } public BoolItem InsertSeason { get; private set; } public BoolItem AddSynonyms { get; private set; } public BoolItem FilterSeasonEpisode { get; private set; } @@ -12,7 +12,7 @@ : base() { IncludeRaw = new BoolItem() { Name = "IncludeRaw", Value = false }; - DateWarning = new DisplayItem("This tracker does not supply upload dates so they are based off year of release.") { Name = "DateWarning" }; + //DateWarning = new DisplayItem("This tracker does not supply upload dates so they are based off year of release.") { Name = "DateWarning" }; InsertSeason = new BoolItem() { Name = "Prefix episode number with E0 for Sonarr Compatability", Value = false }; AddSynonyms = new BoolItem() { Name = "Add releases for each synonym title", Value = true }; FilterSeasonEpisode = new BoolItem() { Name = "Filter results by season/episode", Value = false }; diff --git a/src/Jackett.Common/Models/IndexerConfig/ConfigurationDataPasskey.cs b/src/Jackett.Common/Models/IndexerConfig/ConfigurationDataPasskey.cs new file mode 100644 index 000000000..f76b1ca78 --- /dev/null +++ b/src/Jackett.Common/Models/IndexerConfig/ConfigurationDataPasskey.cs @@ -0,0 +1,14 @@ +namespace Jackett.Common.Models.IndexerConfig +{ + public class ConfigurationDataPasskey : ConfigurationData + { + public StringItem Passkey { get; private set; } + public DisplayItem Instructions { get; private set; } + + public ConfigurationDataPasskey(string instructionMessageOptional = null) + { + Passkey = new StringItem { Name = "Passkey" }; + Instructions = new DisplayItem(instructionMessageOptional) { Name = "" }; + } + } +}