mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
New: Added Presets to Indexers to add indexers with default properties. In an older version of NzbDrone these default indexers were added automatically and could not be removed.
This commit is contained in:
@@ -50,9 +50,9 @@ namespace NzbDrone.Core.Indexers
|
||||
return base.Create(definition);
|
||||
}
|
||||
|
||||
protected override IndexerDefinition GetTemplate(IIndexer provider)
|
||||
protected override IndexerDefinition GetProviderCharacteristics(IIndexer provider, IndexerDefinition definition)
|
||||
{
|
||||
var definition = base.GetTemplate(provider);
|
||||
definition = base.GetProviderCharacteristics(provider, definition);
|
||||
|
||||
definition.Protocol = provider.Protocol;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user