mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
OmdbProvider: Fix for empty json fields
This commit is contained in:
parent
4a90b5b29d
commit
0e126533a4
@ -56,7 +56,7 @@ namespace MediaBrowser.Providers.Omdb
|
|||||||
resultString = reader.ReadToEnd();
|
resultString = reader.ReadToEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
resultString = resultString.Replace("\"N/A\"", string.Empty);
|
resultString = resultString.Replace("\"N/A\"", "\"\"");
|
||||||
|
|
||||||
var result = _jsonSerializer.DeserializeFromString<RootObject>(resultString);
|
var result = _jsonSerializer.DeserializeFromString<RootObject>(resultString);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user