mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
@@ -276,7 +276,7 @@ namespace NzbDrone.Core.Indexers
|
|||||||
|
|
||||||
SetProviderCharacteristics(provider, definition);
|
SetProviderCharacteristics(provider, definition);
|
||||||
|
|
||||||
if (definition.Implementation == typeof(Newznab.Newznab).Name || definition.Implementation == typeof(Torznab.Torznab).Name)
|
if (definition.Enable && (definition.Implementation == typeof(Newznab.Newznab).Name || definition.Implementation == typeof(Torznab.Torznab).Name))
|
||||||
{
|
{
|
||||||
var settings = (NewznabSettings)definition.Settings;
|
var settings = (NewznabSettings)definition.Settings;
|
||||||
settings.Categories = _newznabCapabilitiesProvider.GetCapabilities(settings)?.Categories.GetTorznabCategoryList() ?? null;
|
settings.Categories = _newznabCapabilitiesProvider.GetCapabilities(settings)?.Categories.GetTorznabCategoryList() ?? null;
|
||||||
|
Reference in New Issue
Block a user