Merge pull request #1590 from anthonylavado/null_check

Adds null check on studio/network name
pull/1597/head
Anthony Lavado 5 years ago committed by GitHub
commit cc4bf60092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -355,7 +355,10 @@ namespace MediaBrowser.Providers.TV.TheTVDB
series.AddGenre(genre); series.AddGenre(genre);
} }
if (!string.IsNullOrEmpty(tvdbSeries.Network))
{
series.AddStudio(tvdbSeries.Network); series.AddStudio(tvdbSeries.Network);
}
if (result.Item.Status.HasValue && result.Item.Status.Value == SeriesStatus.Ended) if (result.Item.Status.HasValue && result.Item.Status.Value == SeriesStatus.Ended)
{ {

Loading…
Cancel
Save