From bc83892b4efcadc812f164e4b411d7926a1547b1 Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Sat, 6 Jan 2024 13:48:03 -0700 Subject: [PATCH] Remove invalid SongCount field --- src/controllers/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/list.js b/src/controllers/list.js index 5370bdcd6..de439c1f5 100644 --- a/src/controllers/list.js +++ b/src/controllers/list.js @@ -322,7 +322,7 @@ function getItems(instance, params, item, sortBy, startIndex, limit) { return apiClient.getItems(apiClient.getCurrentUserId(), modifyQueryWithFilters(instance, { StartIndex: startIndex, Limit: limit, - Fields: 'PrimaryImageAspectRatio,SortName,Path,SongCount,ChildCount,MediaSourceCount', + Fields: 'PrimaryImageAspectRatio,SortName,Path,ChildCount,MediaSourceCount', ImageTypeLimit: 1, ParentId: item.Id, SortBy: sortBy