pull/702/head
softworkz 8 years ago
parent 99528878b7
commit f601614539

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

Loading…
Cancel
Save