Merge pull request #6102 from LinFor/pr_dont_prefer_omdb_rating

Don't prefer OMDB rating over all other providers
This commit is contained in:
Claus Vium 2021-05-27 08:28:16 +02:00 committed by GitHub
commit 6b9251fa10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ namespace MediaBrowser.Providers.Manager
}
}
if (replaceData || !target.CommunityRating.HasValue || (source.CommunityRating.HasValue && string.Equals(sourceResult.Provider, "The Open Movie Database", StringComparison.OrdinalIgnoreCase)))
if (replaceData || !target.CommunityRating.HasValue)
{
target.CommunityRating = source.CommunityRating;
}