You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
702 B
25 lines
702 B
using NzbDrone.Core.Extras.Metadata;
|
|
|
|
namespace Lidarr.Api.V1.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);
|
|
}
|
|
}
|
|
}
|