diff --git a/src/NzbDrone.Core/CustomFormats/Specifications/ReleaseGroupSpecification.cs b/src/NzbDrone.Core/CustomFormats/Specifications/ReleaseGroupSpecification.cs new file mode 100644 index 000000000..72319dad7 --- /dev/null +++ b/src/NzbDrone.Core/CustomFormats/Specifications/ReleaseGroupSpecification.cs @@ -0,0 +1,16 @@ +using NzbDrone.Core.Parser.Model; + +namespace NzbDrone.Core.CustomFormats +{ + public class ReleaseGroupSpecification : RegexSpecificationBase + { + public override int Order => 9; + public override string ImplementationName => "Release Group"; + public override string InfoLink => "https://wiki.servarr.com/radarr/settings#custom-formats-2"; + + protected override bool IsSatisfiedByWithoutNegate(ParsedMovieInfo movieInfo) + { + return MatchString(movieInfo?.ReleaseGroup); + } + } +}