mirror of
https://github.com/Radarr/Radarr
synced 2026-04-17 14:51:53 +02:00
Fixed issue where quality weight was mapped wrongly. Fixes #597
This commit is contained in:
parent
1d0a6af7d7
commit
721773ef68
1 changed files with 2 additions and 2 deletions
|
|
@ -25,9 +25,9 @@ protected virtual ReleaseResource MapDecision(DownloadDecision decision, int ini
|
|||
|
||||
release.ReleaseWeight = initialWeight;
|
||||
|
||||
if (decision.RemoteEpisode.Series != null)
|
||||
if (decision.RemoteMovie.Movie != null)
|
||||
{
|
||||
release.QualityWeight = decision.RemoteEpisode.Series
|
||||
release.QualityWeight = decision.RemoteMovie.Movie
|
||||
.Profile.Value
|
||||
.Items.FindIndex(v => v.Quality == release.Quality.Quality) * 100;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue