mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Got TV working nicely
This commit is contained in:
parent
62cceb803d
commit
5e6edc2ad8
17 changed files with 176 additions and 123 deletions
|
@ -217,7 +217,7 @@ namespace Ombi.Core.Helpers
|
|||
}
|
||||
|
||||
|
||||
public TvShowRequestBuilderV2 CreateNewRequest(TvRequestViewModelV2 tv)
|
||||
public TvShowRequestBuilderV2 CreateNewRequest(TvRequestViewModelV2 tv, int rootPathOverride, int qualityOverride)
|
||||
{
|
||||
int.TryParse(TheMovieDbRecord.ExternalIds?.TvDbId, out var tvdbId);
|
||||
NewRequest = new TvRequests
|
||||
|
@ -232,7 +232,9 @@ namespace Ombi.Core.Helpers
|
|||
TvDbId = tvdbId,
|
||||
ChildRequests = new List<ChildRequests>(),
|
||||
TotalSeasons = tv.Seasons.Count(),
|
||||
Background = BackdropPath
|
||||
Background = BackdropPath,
|
||||
RootFolder = rootPathOverride,
|
||||
QualityOverride = qualityOverride
|
||||
};
|
||||
NewRequest.ChildRequests.Add(ChildRequest);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue