|
|
@ -254,6 +254,8 @@ namespace NzbDrone.Core.Indexers
|
|
|
|
|
|
|
|
|
|
|
|
var provider = _providers.First(v => v.GetType().Name == definition.Implementation);
|
|
|
|
var provider = _providers.First(v => v.GetType().Name == definition.Implementation);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SetProviderCharacteristics(provider, definition);
|
|
|
|
|
|
|
|
|
|
|
|
if (definition.Implementation == typeof(Newznab.Newznab).Name)
|
|
|
|
if (definition.Implementation == typeof(Newznab.Newznab).Name)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var settings = (NewznabSettings)definition.Settings;
|
|
|
|
var settings = (NewznabSettings)definition.Settings;
|
|
|
@ -272,6 +274,8 @@ namespace NzbDrone.Core.Indexers
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var provider = _providers.First(v => v.GetType().Name == definition.Implementation);
|
|
|
|
var provider = _providers.First(v => v.GetType().Name == definition.Implementation);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SetProviderCharacteristics(provider, definition);
|
|
|
|
|
|
|
|
|
|
|
|
if (definition.Implementation == typeof(Newznab.Newznab).Name)
|
|
|
|
if (definition.Implementation == typeof(Newznab.Newznab).Name)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var settings = (NewznabSettings)definition.Settings;
|
|
|
|
var settings = (NewznabSettings)definition.Settings;
|
|
|
|