Don't fetch series images from season data if season offset is 0
This commit is contained in:
parent
87461aa74f
commit
7361e9bb3c
|
@ -78,7 +78,7 @@ namespace MediaBrowser.Providers.TV
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var seriesOffset = TvdbSeriesProvider.GetSeriesOffset(series.ProviderIds);
|
var seriesOffset = TvdbSeriesProvider.GetSeriesOffset(series.ProviderIds);
|
||||||
if (seriesOffset != null)
|
if (seriesOffset != null && seriesOffset.Value != 0)
|
||||||
return TvdbSeasonImageProvider.GetImages(path, language, seriesOffset.Value + 1, cancellationToken);
|
return TvdbSeasonImageProvider.GetImages(path, language, seriesOffset.Value + 1, cancellationToken);
|
||||||
|
|
||||||
return GetImages(path, language, cancellationToken);
|
return GetImages(path, language, cancellationToken);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user