Merge pull request #6102 from LinFor/pr_dont_prefer_omdb_rating

Don't prefer OMDB rating over all other providers
pull/6116/head
Claus Vium 3 years ago committed by GitHub
commit 6b9251fa10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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; target.CommunityRating = source.CommunityRating;
} }

Loading…
Cancel
Save