Adds null check on studio/network name

This commit is contained in:
Anthony Lavado 2019-07-27 02:30:42 -04:00
parent 595a68b822
commit d39decf918

View File

@ -355,7 +355,10 @@ namespace MediaBrowser.Providers.TV.TheTVDB
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)
{