mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07: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 @@ 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…
Add table
Add a link
Reference in a new issue