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

This commit is contained in:
Thomas Gillen 2014-04-15 20:34:29 +01:00
parent 87461aa74f
commit 7361e9bb3c

View File

@ -78,7 +78,7 @@ namespace MediaBrowser.Providers.TV
try
{
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 GetImages(path, language, cancellationToken);