Merge pull request #1596 from MediaBrowser/dev

Dev
This commit is contained in:
Luke 2016-03-26 01:45:50 -04:00
commit f04627e1e8
2 changed files with 16 additions and 13 deletions

View File

@ -88,6 +88,8 @@ namespace MediaBrowser.Providers.TV
var seriesDataPath = await TvdbSeriesProvider.Current.EnsureSeriesInfo(seriesProviderIds, series.GetPreferredMetadataLanguage(), cancellationToken).ConfigureAwait(false); var seriesDataPath = await TvdbSeriesProvider.Current.EnsureSeriesInfo(seriesProviderIds, series.GetPreferredMetadataLanguage(), cancellationToken).ConfigureAwait(false);
if (!string.IsNullOrWhiteSpace(seriesDataPath))
{
var path = Path.Combine(seriesDataPath, "banners.xml"); var path = Path.Combine(seriesDataPath, "banners.xml");
try try
@ -103,6 +105,7 @@ namespace MediaBrowser.Providers.TV
// No tvdb data yet. Don't blow up // No tvdb data yet. Don't blow up
} }
} }
}
return new RemoteImageInfo[] { }; return new RemoteImageInfo[] { };
} }

View File

@ -46,7 +46,7 @@ namespace MediaBrowser.XbmcMetadata.Parsers
} }
if (!string.IsNullOrWhiteSpace(tvdbId)) if (!string.IsNullOrWhiteSpace(tvdbId))
{ {
item.SetProviderId(MetadataProviders.Tvcom, tvdbId); item.SetProviderId(MetadataProviders.Tvdb, tvdbId);
} }
break; break;
} }