mirror of https://github.com/Radarr/Radarr
Fixed issue where quality weight was mapped wrongly. Fixes #597
This commit is contained in:
parent
1d0a6af7d7
commit
721773ef68
|
@ -25,9 +25,9 @@ namespace NzbDrone.Api.Indexers
|
|||
|
||||
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 New Issue