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.
15 lines
535 B
15 lines
535 B
namespace NzbDrone.Core.CustomFormats
|
|
{
|
|
public class ReleaseTitleSpecification : RegexSpecificationBase
|
|
{
|
|
public override int Order => 1;
|
|
public override string ImplementationName => "Release Title";
|
|
public override string InfoLink => "https://wiki.servarr.com/lidarr/settings#custom-formats-2";
|
|
|
|
protected override bool IsSatisfiedByWithoutNegate(CustomFormatInput input)
|
|
{
|
|
return MatchString(input.AlbumInfo?.ReleaseTitle) || MatchString(input.Filename);
|
|
}
|
|
}
|
|
}
|