This commit is contained in:
softworkz 2016-06-04 02:35:35 +02:00
parent 99528878b7
commit f601614539

View File

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