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