mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 16:25:28 +03:00
only run identity providers if refreshing metadata
This commit is contained in:
@@ -251,7 +251,9 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||
|
||||
dto.ChildCount = GetChildCount(folder, user);
|
||||
|
||||
if (!(folder is UserRootFolder))
|
||||
// These are just far too slow.
|
||||
// TODO: Disable for CollectionFolder
|
||||
if (!(folder is UserRootFolder) && !(folder is UserView))
|
||||
{
|
||||
SetSpecialCounts(folder, user, dto, fields);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user