Adds null check on studio/network name

pull/1590/head
Anthony Lavado 6 years ago
parent 595a68b822
commit d39decf918

@ -355,7 +355,10 @@ namespace MediaBrowser.Providers.TV.TheTVDB
series.AddGenre(genre); series.AddGenre(genre);
} }
series.AddStudio(tvdbSeries.Network); if (!String.IsNullOrEmpty(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