소스 검색

Merge pull request #1049 from jabbera/dev

Fix season images not showing up when Emby starts.
Luke 10 년 전
부모
커밋
41610ce9bd
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      MediaBrowser.Controller/Entities/TV/Series.cs

+ 4 - 4
MediaBrowser.Controller/Entities/TV/Series.cs

@@ -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)
             {