diff --git a/src/Lidarr.Api.V1/AutoTagging/AutoTaggingResource.cs b/src/Lidarr.Api.V1/AutoTagging/AutoTaggingResource.cs index 932b45fb7..41ad7fee9 100644 --- a/src/Lidarr.Api.V1/AutoTagging/AutoTaggingResource.cs +++ b/src/Lidarr.Api.V1/AutoTagging/AutoTaggingResource.cs @@ -69,6 +69,7 @@ namespace Lidarr.Api.V3.AutoTagging var spec = (IAutoTaggingSpecification)SchemaBuilder.ReadFromSchema(resource.Fields, type, null); spec.Name = resource.Name; spec.Negate = resource.Negate; + spec.Required = resource.Required; return spec; } } diff --git a/src/NzbDrone.Core/CustomFormats/Specifications/CustomFormatSpecificationBase.cs b/src/NzbDrone.Core/CustomFormats/Specifications/CustomFormatSpecificationBase.cs index 4f2a3de6a..be392981c 100644 --- a/src/NzbDrone.Core/CustomFormats/Specifications/CustomFormatSpecificationBase.cs +++ b/src/NzbDrone.Core/CustomFormats/Specifications/CustomFormatSpecificationBase.cs @@ -23,6 +23,7 @@ namespace NzbDrone.Core.CustomFormats public bool IsSatisfiedBy(CustomFormatInput input) { var match = IsSatisfiedByWithoutNegate(input); + if (Negate) { match = !match;