1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-28 23:16:32 -04:00

Add upgrade allowed to language and profiles

This commit is contained in:
Mark McDowall
2018-11-28 20:26:49 -08:00
committed by Taloth Saldono
parent 853f25468c
commit f345977e3f
67 changed files with 426 additions and 266 deletions
@@ -216,7 +216,7 @@ namespace NzbDrone.Core.Download.Pending
{
var series = g.First().Series;
return g.OrderByDescending(e => e.Quality, new QualityModelComparer(series.Profile))
return g.OrderByDescending(e => e.Quality, new QualityModelComparer(series.QualityProfile))
.ThenBy(q => PrioritizeDownloadProtocol(q.Series, q.Protocol))
.First();
});
@@ -375,7 +375,7 @@ namespace NzbDrone.Core.Download.Pending
return;
}
var profile = remoteEpisode.Series.Profile.Value;
var profile = remoteEpisode.Series.QualityProfile.Value;
foreach (var existingReport in existingReports)
{