only run identity providers if refreshing metadata

This commit is contained in:
Luke Pulverenti
2014-08-21 12:21:39 -04:00
parent 76ed60605b
commit 88fce3670a
2 changed files with 8 additions and 13 deletions

View File

@@ -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);
}