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
525 B
21 lines
525 B
1 year ago
|
using Recyclarr.Config.Models;
|
||
1 year ago
|
|
||
1 year ago
|
namespace Recyclarr.Compatibility.Radarr;
|
||
1 year ago
|
|
||
|
public class RadarrCapabilityEnforcer
|
||
|
{
|
||
|
private readonly IRadarrCapabilityFetcher _capabilityFetcher;
|
||
|
|
||
|
public RadarrCapabilityEnforcer(IRadarrCapabilityFetcher capabilityFetcher)
|
||
|
{
|
||
|
_capabilityFetcher = capabilityFetcher;
|
||
|
}
|
||
|
|
||
|
public async Task Check(RadarrConfiguration config)
|
||
|
{
|
||
1 year ago
|
_ = await _capabilityFetcher.GetCapabilities(config);
|
||
1 year ago
|
|
||
|
// For the future: Add more capability checks here as needed
|
||
|
}
|
||
|
}
|