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.
21 lines
519 B
21 lines
519 B
namespace Recyclarr.Compatibility.Sonarr;
|
|
|
|
public class SonarrCapabilityFetcher : ServiceCapabilityFetcher<SonarrCapabilities>, ISonarrCapabilityFetcher
|
|
{
|
|
public SonarrCapabilityFetcher(IServiceInformation info)
|
|
: base(info)
|
|
{
|
|
}
|
|
|
|
protected override SonarrCapabilities BuildCapabilitiesObject(Version version)
|
|
{
|
|
return new SonarrCapabilities
|
|
{
|
|
Version = version,
|
|
|
|
SupportsCustomFormats =
|
|
version >= new Version(4, 0)
|
|
};
|
|
}
|
|
}
|