aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/Plugins/Omdb
diff options
context:
space:
mode:
authorDavid <daullmer@gmail.com>2020-12-26 20:00:54 +0100
committerDavid <daullmer@gmail.com>2020-12-26 20:00:54 +0100
commitf73bb92ce3a86a024cd72a59bbc461707687a4c7 (patch)
treedfe907cb6cd335c3aeea2ee71ba8e75bad8ec253 /MediaBrowser.Providers/Plugins/Omdb
parente0499f87690bca88c878b2115ba9e2dbb00f0ad4 (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.cs2
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);
}