mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Merge pull request #1804 from softworkz/OmdbCleanResult
OmdbProvider: Fix for empty json fields
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user