mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-01 15:33:38 +01:00
getting started sorting in the dashboard
This commit is contained in:
parent
67862d0a41
commit
8f7981b6a6
1 changed files with 10 additions and 1 deletions
|
|
@ -774,7 +774,16 @@ namespace MediaBrowser.Controller.Entities
|
|||
progress.Report((90 * percent) + 10);
|
||||
});
|
||||
|
||||
await ((Folder)child).ValidateChildren(innerProgress, cancellationToken, recursive: recursive).ConfigureAwait(false);
|
||||
await ((Folder) child).ValidateChildren(innerProgress, cancellationToken, recursive).ConfigureAwait(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
percentages.TryUpdate(child.Id, 1, percentages[child.Id]);
|
||||
|
||||
var percent = percentages.Values.Sum();
|
||||
percent /= list.Count;
|
||||
|
||||
progress.Report((90 * percent) + 10);
|
||||
}
|
||||
}));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue