Merge pull request #1049 from jabbera/dev

Fix season images not showing up when Emby starts.
This commit is contained in:
Luke 2015-03-23 21:48:33 -04:00
commit 41610ce9bd

View File

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