|
|
|
@ -132,14 +132,14 @@ namespace Ombi.Core.Senders
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
int.TryParse(s.QualityProfile, out qualityToUse);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (model.ParentRequest.QualityOverride.HasValue)
|
|
|
|
|
{
|
|
|
|
|
// Get the root path from the rootfolder selected.
|
|
|
|
|
// For some reason, if we haven't got one use the first root folder in Sonarr
|
|
|
|
|
// TODO make this overrideable via the UI
|
|
|
|
|
rootFolderPath = await GetSonarrRootPath(model.ParentRequest.RootFolder ?? int.Parse(s.RootPath), s);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (model.ParentRequest.QualityOverride.HasValue)
|
|
|
|
|
{
|
|
|
|
|
qualityToUse = model.ParentRequest.QualityOverride.Value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|