Don't fetch series images from season data if season offset is 0

pull/702/head
Thomas Gillen 11 years ago
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…
Cancel
Save