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.
24 lines
844 B
24 lines
844 B
using TrashLib.Config.Services;
|
|
|
|
namespace TrashLib.Services.Sonarr.Config;
|
|
|
|
public class SonarrConfiguration : ServiceConfiguration
|
|
{
|
|
public IList<ReleaseProfileConfig> ReleaseProfiles { get; init; } = Array.Empty<ReleaseProfileConfig>();
|
|
public string QualityDefinition { get; init; } = "";
|
|
}
|
|
|
|
public class ReleaseProfileConfig
|
|
{
|
|
public IReadOnlyCollection<string> TrashIds { get; init; } = Array.Empty<string>();
|
|
public bool StrictNegativeScores { get; init; }
|
|
public IReadOnlyCollection<string> Tags { get; init; } = Array.Empty<string>();
|
|
public SonarrProfileFilterConfig? Filter { get; init; }
|
|
}
|
|
|
|
public class SonarrProfileFilterConfig
|
|
{
|
|
public IReadOnlyCollection<string> Include { get; init; } = Array.Empty<string>();
|
|
public IReadOnlyCollection<string> Exclude { get; init; } = Array.Empty<string>();
|
|
}
|