1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02: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)