New: Added MinAvailability Option to UI

This commit is contained in:
Qstick
2019-10-10 23:20:48 -04:00
parent 5eb7fe958f
commit 1514613f61
25 changed files with 246 additions and 28 deletions
@@ -41,6 +41,11 @@ namespace Radarr.Api.V2.Movies
movie.ProfileId = resource.QualityProfileId.Value;
}
if (resource.MinimumAvailability.HasValue)
{
movie.MinimumAvailability = resource.MinimumAvailability.Value;
}
if (resource.RootFolderPath.IsNotNullOrWhiteSpace())
{
movie.RootFolderPath = resource.RootFolderPath;
@@ -9,6 +9,7 @@ namespace Radarr.Api.V2.Movies
public List<int> MovieIds { get; set; }
public bool? Monitored { get; set; }
public int? QualityProfileId { get; set; }
public MovieStatusType? MinimumAvailability { get; set; }
public string RootFolderPath { get; set; }
public List<int> Tags { get; set; }
public ApplyTags ApplyTags { get; set; }