mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #1049 from jabbera/dev
Fix season images not showing up when Emby starts.
This commit is contained in:
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…
x
Reference in New Issue
Block a user