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:
parent
84128482f4
commit
6abda8adef
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -15,6 +15,7 @@ public class TorznabSettingsValidator : AbstractValidator<TorznabSettings>
|
||||
private static readonly string[] ApiKeyWhiteList =
|
||||
{
|
||||
"hdaccess.net",
|
||||
"hd4free.xyz",
|
||||
};
|
||||
|
||||
private static bool ShouldHaveApiKey(TorznabSettings settings)
|
||||
|
Loading…
Reference in New Issue
Block a user