elitetracker: add imdb search and fix categories (#7657)

This commit is contained in:
Diego Heras
2020-03-15 00:18:42 +01:00
committed by GitHub
parent 5b6c9fee49
commit d27ab11d8c
2 changed files with 155 additions and 168 deletions

View File

@@ -2,18 +2,19 @@ namespace Jackett.Common.Models.IndexerConfig.Bespoke
{
internal class ConfigurationDataEliteTracker : ConfigurationDataBasicLogin
{
public BoolItem TorrentHTTPSMode { get; private set; }
public DisplayItem PagesWarning { get; private set; }
public StringItem ReplaceMulti { get; private set; }
public BoolItem Vostfr { get; private set; }
public BoolItem TorrentHTTPSMode { get; }
// ReSharper disable once MemberCanBePrivate.Global
// ReSharper disable once UnusedAutoPropertyAccessor.Global
public DisplayItem PagesWarning { get; }
public StringItem ReplaceMulti { get; }
public BoolItem Vostfr { get; }
public ConfigurationDataEliteTracker()
: base()
{
TorrentHTTPSMode = new BoolItem { Name = "Use https for tracker URL", Value = false };
TorrentHTTPSMode = new BoolItem { Name = "Use HTTPS for tracker URL", Value = false };
PagesWarning = new DisplayItem("<b>Preferences Configuration</b> (<i>Tweak your search settings</i>),<br /><br /> <ul><li><b>Replace MULTI</b>, replace multi keyword in the resultset (leave empty to deactivate)</li><li><b>Replace VOSTFR with ENGLISH</b> lets you change the titles by replacing VOSTFR with ENGLISH.</li></ul>") { Name = "Preferences" };
ReplaceMulti = new StringItem() { Name = "Replace MULTI", Value = "MULTI.FRENCH" };
Vostfr = new BoolItem() { Name = "Replace VOSTFR with ENGLISH", Value = false };
ReplaceMulti = new StringItem { Name = "Replace MULTI", Value = "MULTI.FRENCH" };
Vostfr = new BoolItem { Name = "Replace VOSTFR with ENGLISH", Value = false };
}
}
}