filelist: add whitelist info to config. resolves #14993

This commit is contained in:
Garfield69 2024-01-23 10:00:03 +13:00
parent 7643c62103
commit 0533d384d1
1 changed files with 2 additions and 0 deletions

View File

@ -5,12 +5,14 @@ namespace Jackett.Common.Models.IndexerConfig.Bespoke
[ExcludeFromCodeCoverage]
internal class ConfigurationDataFileList : ConfigurationDataUserPasskey
{
public DisplayInfoConfigurationItem WhiteList { get; set; }
public BoolConfigurationItem Freeleech { get; set; }
public DisplayInfoConfigurationItem CatWarning { get; set; }
public ConfigurationDataFileList()
: base("Note this is <b>not</b> your <i>password</i>.<ul><li>Login to the FileList Website</li><li>Click on the <b>Profile</b> link</li><li>Scroll down to the <b>Reset Passkey</b> section</li><li>Copy the <b>passkey</b>.</li><li>Also be aware of not leaving a trailing blank at the end of the passkey after pasting it here.</li></ul>")
{
WhiteList = new DisplayInfoConfigurationItem("WhiteList", "Before using this indexer you need to fill the Whitelist IP for API on Filelist profile settings page for it to work.");
Freeleech = new BoolConfigurationItem("Search freeleech only") { Value = false };
CatWarning = new DisplayInfoConfigurationItem("CatWarning", "When mapping TV ensure you add category 5000 in addition to 5030, 5040.");
}