|
|
|
@ -88,7 +88,7 @@ namespace MediaBrowser.ServerApplication
|
|
|
|
|
Cursor = Cursors.Wait;
|
|
|
|
|
await Task.Run(() =>
|
|
|
|
|
{
|
|
|
|
|
IEnumerable<BaseItem> children = CurrentUser.Name == "Physical" ? _libraryManager.RootFolder.Children : _libraryManager.RootFolder.GetChildren(CurrentUser, true);
|
|
|
|
|
IEnumerable<BaseItem> children = CurrentUser.Name == "Physical" ? new[] { _libraryManager.RootFolder } : _libraryManager.RootFolder.GetChildren(CurrentUser, true);
|
|
|
|
|
children = OrderByName(children, CurrentUser);
|
|
|
|
|
|
|
|
|
|
foreach (Folder folder in children)
|
|
|
|
|