Browse Source

Don't prefer OMDB rating over all other providers

PingWin 4 năm trước cách đây
mục cha
commit
7cba148a30

+ 1 - 1
MediaBrowser.Providers/Manager/ProviderUtils.cs

@@ -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;
             }
             }