Null pointer fix. (#4527)
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
This commit is contained in:
parent
937e2a84e8
commit
05bd1383c1
|
@ -114,7 +114,7 @@ namespace MediaBrowser.Providers.Plugins.Omdb
|
|||
|
||||
var seasonResult = await GetSeasonRootObject(seriesImdbId, seasonNumber, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
if (seasonResult == null)
|
||||
if (seasonResult?.Episodes == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user