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