Merge pull request #783 from thogil/master

Don't fetch series images from season data if season offset is 0
This commit is contained in:
Luke 2014-04-15 15:58:44 -04:00
commit ab5f8ed136

View File

@ -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);