Merge pull request #1049 from jabbera/dev

Fix season images not showing up when Emby starts.
pull/702/head
Luke 10 years ago
commit 41610ce9bd

@ -232,7 +232,10 @@ namespace MediaBrowser.Controller.Entities.TV
refreshOptions = new MetadataRefreshOptions(refreshOptions); refreshOptions = new MetadataRefreshOptions(refreshOptions);
refreshOptions.IsPostRecursiveRefresh = true; refreshOptions.IsPostRecursiveRefresh = true;
// Refresh songs // Refresh current item
await RefreshMetadata(refreshOptions, cancellationToken).ConfigureAwait(false);
// Refresh TV
foreach (var item in seasons) foreach (var item in seasons)
{ {
cancellationToken.ThrowIfCancellationRequested(); cancellationToken.ThrowIfCancellationRequested();
@ -245,9 +248,6 @@ namespace MediaBrowser.Controller.Entities.TV
progress.Report(percent * 100); progress.Report(percent * 100);
} }
// Refresh current item
await RefreshMetadata(refreshOptions, cancellationToken).ConfigureAwait(false);
// Refresh all non-songs // Refresh all non-songs
foreach (var item in otherItems) foreach (var item in otherItems)
{ {

Loading…
Cancel
Save