diff options
| author | David <daullmer@gmail.com> | 2020-12-26 20:00:54 +0100 |
|---|---|---|
| committer | David <daullmer@gmail.com> | 2020-12-26 20:00:54 +0100 |
| commit | f73bb92ce3a86a024cd72a59bbc461707687a4c7 (patch) | |
| tree | dfe907cb6cd335c3aeea2ee71ba8e75bad8ec253 /MediaBrowser.Providers/Plugins/Omdb | |
| parent | e0499f87690bca88c878b2115ba9e2dbb00f0ad4 (diff) | |
Remove manual N/A removal and write directly to stream
Diffstat (limited to 'MediaBrowser.Providers/Plugins/Omdb')
| -rw-r--r-- | MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs b/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs index a177ae30a9..9f3fdd60b1 100644 --- a/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs +++ b/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs @@ -353,8 +353,6 @@ namespace MediaBrowser.Providers.Plugins.Omdb using var response = await GetOmdbResponse(httpClient, url, cancellationToken).ConfigureAwait(false); var content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); - // OMDb is sending "N/A" for no empty number fields - content = content.Replace("\"N/A\"", "\"\"", StringComparison.InvariantCulture); return JsonSerializer.Deserialize<T>(content, _jsonOptions); } |
