mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 13:32:17 -07:00
20 lines
No EOL
656 B
C#
20 lines
No EOL
656 B
C#
using NzbDrone.Core.Extras.Metadata;
|
|
|
|
namespace Lidarr.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);
|
|
}
|
|
}
|
|
} |