mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
AnimeBytes: update config items
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
class ConfigurationDataAnimeBytes : ConfigurationDataCaptchaLogin
|
class ConfigurationDataAnimeBytes : ConfigurationDataPasskey
|
||||||
{
|
{
|
||||||
public BoolItem IncludeRaw { get; private set; }
|
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 InsertSeason { get; private set; }
|
||||||
public BoolItem AddSynonyms { get; private set; }
|
public BoolItem AddSynonyms { get; private set; }
|
||||||
public BoolItem FilterSeasonEpisode { get; private set; }
|
public BoolItem FilterSeasonEpisode { get; private set; }
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
: base()
|
: base()
|
||||||
{
|
{
|
||||||
IncludeRaw = new BoolItem() { Name = "IncludeRaw", Value = false };
|
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 };
|
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 };
|
AddSynonyms = new BoolItem() { Name = "Add releases for each synonym title", Value = true };
|
||||||
FilterSeasonEpisode = new BoolItem() { Name = "Filter results by season/episode", Value = false };
|
FilterSeasonEpisode = new BoolItem() { Name = "Filter results by season/episode", Value = false };
|
||||||
|
@@ -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 = "" };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user