mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-19 22:04:56 -04:00
21 lines
654 B
C#
21 lines
654 B
C#
using NzbDrone.Core.Extras.Metadata;
|
|
|
|
namespace Radarr.Api.V3.Metadata
|
|
{
|
|
public class MetadataModule : ProviderModuleBase<MetadataResource, IMetadata, MetadataDefinition>
|
|
{
|
|
public static readonly MetadataResourceMapper ResourceMapper = new MetadataResourceMapper();
|
|
|
|
public MetadataModule(IMetadataFactory metadataFactory)
|
|
: base(metadataFactory, "metadata", ResourceMapper)
|
|
{
|
|
}
|
|
|
|
protected override void Validate(MetadataDefinition definition, bool includeWarnings)
|
|
{
|
|
if (!definition.Enable) return;
|
|
base.Validate(definition, includeWarnings);
|
|
}
|
|
}
|
|
}
|