1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 15:32:31 +01:00

New: Show updated rejection reasons in manual import after selecting series

This commit is contained in:
Mark McDowall 2020-07-26 10:50:53 -07:00
parent 4f15cd55be
commit a6b8a34ac9
2 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,7 @@ namespace Sonarr.Api.V3.ManualImport
item.SeasonNumber = processedItem.SeasonNumber; item.SeasonNumber = processedItem.SeasonNumber;
item.Episodes = processedItem.Episodes.ToResource(); item.Episodes = processedItem.Episodes.ToResource();
item.Rejections = processedItem.Rejections;
} }
return items; return items;

View File

@ -1,4 +1,5 @@
using System.Collections.Generic; using System.Collections.Generic;
using NzbDrone.Core.DecisionEngine;
using Sonarr.Api.V3.Episodes; using Sonarr.Api.V3.Episodes;
using Sonarr.Http.REST; using Sonarr.Http.REST;
@ -11,5 +12,7 @@ namespace Sonarr.Api.V3.ManualImport
public int? SeasonNumber { get; set; } public int? SeasonNumber { get; set; }
public List<EpisodeResource> Episodes { get; set; } public List<EpisodeResource> Episodes { get; set; }
public string DownloadId { get; set; } public string DownloadId { get; set; }
public IEnumerable<Rejection> Rejections { get; set; }
} }
} }