1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 09:37:12 +00:00

New: Added HD4Free.xyz to Torznab presets since that site now supports it.

This commit is contained in:
Taloth Saldono 2015-05-04 19:39:02 +02:00
parent 84128482f4
commit 6abda8adef
2 changed files with 2 additions and 0 deletions

View file

@ -41,6 +41,7 @@ public override IEnumerable<ProviderDefinition> DefaultDefinitions
get
{
yield return GetDefinition("HDAccess.net", GetSettings("http://hdaccess.net"));
yield return GetDefinition("HD4Free.xyz", GetSettings("http://hd4free.xyz"));
}
}

View file

@ -15,6 +15,7 @@ public class TorznabSettingsValidator : AbstractValidator<TorznabSettings>
private static readonly string[] ApiKeyWhiteList =
{
"hdaccess.net",
"hd4free.xyz",
};
private static bool ShouldHaveApiKey(TorznabSettings settings)