mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
We can now override language profiles for Sonarr v3 requests, we also added an option to specify the language profile for Anime requests
This commit is contained in:
parent
5bd85a3aac
commit
89e1e21c7c
31 changed files with 2741 additions and 68 deletions
|
@ -217,7 +217,7 @@ namespace Ombi.Core.Helpers
|
|||
}
|
||||
|
||||
|
||||
public TvShowRequestBuilderV2 CreateNewRequest(TvRequestViewModelV2 tv, int rootPathOverride, int qualityOverride)
|
||||
public TvShowRequestBuilderV2 CreateNewRequest(TvRequestViewModelV2 tv, int rootPathOverride, int qualityOverride, int langProfile)
|
||||
{
|
||||
int.TryParse(TheMovieDbRecord.ExternalIds?.TvDbId, out var tvdbId);
|
||||
NewRequest = new TvRequests
|
||||
|
@ -234,7 +234,8 @@ namespace Ombi.Core.Helpers
|
|||
TotalSeasons = tv.Seasons.Count(),
|
||||
Background = BackdropPath,
|
||||
RootFolder = rootPathOverride,
|
||||
QualityOverride = qualityOverride
|
||||
QualityOverride = qualityOverride,
|
||||
LanguageProfile = langProfile
|
||||
};
|
||||
NewRequest.ChildRequests.Add(ChildRequest);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue