2014-02-13 06:44:07 +00:00
|
|
|
|
using NzbDrone.Core.Metadata;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Api.Metadata
|
|
|
|
|
{
|
|
|
|
|
public class MetadataModule : ProviderModuleBase<MetadataResource, IMetadata, MetadataDefinition>
|
|
|
|
|
{
|
|
|
|
|
public MetadataModule(IMetadataFactory metadataFactory)
|
|
|
|
|
: base(metadataFactory, "metadata")
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-17 23:43:33 +00:00
|
|
|
|
protected override void Validate(MetadataDefinition definition, bool includeWarnings)
|
2014-02-13 06:44:07 +00:00
|
|
|
|
{
|
|
|
|
|
if (!definition.Enable) return;
|
2015-02-17 23:43:33 +00:00
|
|
|
|
base.Validate(definition, includeWarnings);
|
2014-02-13 06:44:07 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|