2
0
softworkz 9 жил өмнө
parent
commit
f601614539

+ 1 - 2
MediaBrowser.Providers/Omdb/OmdbProvider.cs

@@ -53,11 +53,10 @@ namespace MediaBrowser.Providers.Omdb
                 using (var reader = new StreamReader(stream, new UTF8Encoding(false)))
                 {
                     resultString = reader.ReadToEnd();
+                    resultString = resultString.Replace("\"N/A\"", "\"\"");
                 }
             }
 
-                resultString = resultString.Replace("\"N/A\"", "\"\"");
-
                 var result = _jsonSerializer.DeserializeFromString<RootObject>(resultString);
 
                 // Only take the name and rating if the user's language is set to english, since Omdb has no localization