mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 13:57:14 -04:00
Refactor seriesId
This commit is contained in:
parent
d720d8f356
commit
94d3dda324
@ -50,7 +50,7 @@ namespace MediaBrowser.Providers.Tmdb.TV
|
|||||||
var season = (Season)item;
|
var season = (Season)item;
|
||||||
var series = season.Series;
|
var series = season.Series;
|
||||||
|
|
||||||
var seriesId = series != null ? series.GetProviderId(MetadataProviders.Tmdb) : null;
|
var seriesId = series?.GetProviderId(MetadataProviders.Tmdb);
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(seriesId))
|
if (string.IsNullOrEmpty(seriesId))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user