diff --git a/src/Jackett/ConfigurationDataBasicLoginAnimeBytes.cs b/src/Jackett/ConfigurationDataBasicLoginAnimeBytes.cs deleted file mode 100644 index bd5e9ab0a..000000000 --- a/src/Jackett/ConfigurationDataBasicLoginAnimeBytes.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Jackett -{ - public class ConfigurationDataBasicLoginAnimeBytes : ConfigurationDataBasicLogin - { - public BoolItem IncludeRaw { get; private set; } - public DisplayItem RageIdWarning { get; private set; } - public DisplayItem DateWarning { get; private set; } - - public ConfigurationDataBasicLoginAnimeBytes(): base() - { - IncludeRaw = new BoolItem() { Name = "IncludeRaw", Value = false }; - RageIdWarning = new DisplayItem("Ensure rageid lookup is disabled in Sonarr for this tracker.") { Name = "RageWarning" }; - DateWarning = new DisplayItem("This tracker does not supply upload dates so they are based off year of release.") { Name = "DateWarning" }; - } - - public override Item[] GetItems() - { - return new Item[] { Username, Password, IncludeRaw, RageIdWarning, DateWarning }; - } - } -} diff --git a/src/Jackett/Indexers/AnimeBytes.cs b/src/Jackett/Indexers/AnimeBytes.cs index 282d2a590..968221237 100644 --- a/src/Jackett/Indexers/AnimeBytes.cs +++ b/src/Jackett/Indexers/AnimeBytes.cs @@ -16,6 +16,26 @@ namespace Jackett.Indexers { public class AnimeBytes : IndexerInterface { + class ConfigurationDataBasicLoginAnimeBytes : ConfigurationDataBasicLogin + { + public BoolItem IncludeRaw { get; private set; } + public DisplayItem RageIdWarning { get; private set; } + public DisplayItem DateWarning { get; private set; } + + public ConfigurationDataBasicLoginAnimeBytes() + : base() + { + IncludeRaw = new BoolItem() { Name = "IncludeRaw", Value = false }; + RageIdWarning = new DisplayItem("Ensure rageid lookup is disabled in Sonarr for this tracker.") { Name = "RageWarning" }; + DateWarning = new DisplayItem("This tracker does not supply upload dates so they are based off year of release.") { Name = "DateWarning" }; + } + + public override Item[] GetItems() + { + return new Item[] { Username, Password, IncludeRaw, RageIdWarning, DateWarning }; + } + } + private static List cache = new List(); private static readonly TimeSpan cacheTime = new TimeSpan(0, 9, 0); diff --git a/src/Jackett/Jackett.csproj b/src/Jackett/Jackett.csproj index 86c8f7788..8a65654b8 100644 --- a/src/Jackett/Jackett.csproj +++ b/src/Jackett/Jackett.csproj @@ -86,7 +86,6 @@ -