mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
minifix
This commit is contained in:
parent
99528878b7
commit
f601614539
@ -53,11 +53,10 @@ namespace MediaBrowser.Providers.Omdb
|
|||||||
using (var reader = new StreamReader(stream, new UTF8Encoding(false)))
|
using (var reader = new StreamReader(stream, new UTF8Encoding(false)))
|
||||||
{
|
{
|
||||||
resultString = reader.ReadToEnd();
|
resultString = reader.ReadToEnd();
|
||||||
|
resultString = resultString.Replace("\"N/A\"", "\"\"");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resultString = resultString.Replace("\"N/A\"", "\"\"");
|
|
||||||
|
|
||||||
var result = _jsonSerializer.DeserializeFromString<RootObject>(resultString);
|
var result = _jsonSerializer.DeserializeFromString<RootObject>(resultString);
|
||||||
|
|
||||||
// Only take the name and rating if the user's language is set to english, since Omdb has no localization
|
// Only take the name and rating if the user's language is set to english, since Omdb has no localization
|
||||||
|
Loading…
Reference in New Issue
Block a user