mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Merge branch 'develop' of https://github.com/ombi-app/Ombi into develop
This commit is contained in:
commit
580a34f28a
1 changed files with 11 additions and 3 deletions
|
@ -206,11 +206,19 @@ namespace Ombi.Core.Senders
|
|||
// Overrides on the request take priority
|
||||
if (model.ParentRequest.QualityOverride.HasValue)
|
||||
{
|
||||
qualityToUse = model.ParentRequest.QualityOverride.Value;
|
||||
var qualityOverride = model.ParentRequest.QualityOverride.Value;
|
||||
if (qualityOverride > 0)
|
||||
{
|
||||
qualityToUse = qualityOverride;
|
||||
}
|
||||
}
|
||||
if (model.ParentRequest.RootFolder.HasValue)
|
||||
{
|
||||
rootFolderPath = await GetSonarrRootPath(model.ParentRequest.RootFolder.Value, s);
|
||||
var rootfolderOverride = model.ParentRequest.RootFolder.Value;
|
||||
if (rootfolderOverride > 0)
|
||||
{
|
||||
rootFolderPath = await GetSonarrRootPath(rootfolderOverride, s);
|
||||
}
|
||||
}
|
||||
|
||||
// Are we using v3 sonarr?
|
||||
|
@ -547,4 +555,4 @@ namespace Ombi.Core.Senders
|
|||
return string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue