parent
7180a002cf
commit
08939f2fb4
|
@ -23,6 +23,7 @@ namespace NzbDrone.Core.CustomFormats
|
||||||
public bool IsSatisfiedBy(CustomFormatInput input)
|
public bool IsSatisfiedBy(CustomFormatInput input)
|
||||||
{
|
{
|
||||||
var match = IsSatisfiedByWithoutNegate(input);
|
var match = IsSatisfiedByWithoutNegate(input);
|
||||||
|
|
||||||
if (Negate)
|
if (Negate)
|
||||||
{
|
{
|
||||||
match = !match;
|
match = !match;
|
||||||
|
|
|
@ -69,6 +69,7 @@ namespace Sonarr.Api.V3.AutoTagging
|
||||||
var spec = (IAutoTaggingSpecification)SchemaBuilder.ReadFromSchema(resource.Fields, type, null);
|
var spec = (IAutoTaggingSpecification)SchemaBuilder.ReadFromSchema(resource.Fields, type, null);
|
||||||
spec.Name = resource.Name;
|
spec.Name = resource.Name;
|
||||||
spec.Negate = resource.Negate;
|
spec.Negate = resource.Negate;
|
||||||
|
spec.Required = resource.Required;
|
||||||
return spec;
|
return spec;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue