Merge pull request #1804 from softworkz/OmdbCleanResult

OmdbProvider: Fix for empty json fields
This commit is contained in:
Luke 2016-06-03 19:55:18 -04:00
commit 7cf424303b

View File

@ -56,7 +56,7 @@ namespace MediaBrowser.Providers.Omdb
resultString = reader.ReadToEnd();
}
resultString = resultString.Replace("\"N/A\"", string.Empty);
resultString = resultString.Replace("\"N/A\"", "\"\"");
var result = _jsonSerializer.DeserializeFromString<RootObject>(resultString);