[PR #15687] [CLOSED] Don't list every item just to get count #14389

Closed
opened 2026-02-07 07:29:05 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/15687
Author: @gnattu
Created: 12/1/2025
Status: Closed

Base: release-10.11.zHead: only-count-folder-item


📝 Commits (1)

  • a78c338 Don't list every item just to get count

📊 Changes

1 file changed (+6 additions, -18 deletions)

View changed files

📝 MediaBrowser.Controller/Entities/Folder.cs (+6 -18)

📄 Description

This emby era logic now becomes a serious performance problem on very huge folders. Use the proper item count query for most common cases.

Changes

Issues

Fixes #15063


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/15687 **Author:** [@gnattu](https://github.com/gnattu) **Created:** 12/1/2025 **Status:** ❌ Closed **Base:** `release-10.11.z` ← **Head:** `only-count-folder-item` --- ### 📝 Commits (1) - [`a78c338`](https://github.com/jellyfin/jellyfin/commit/a78c3385c9e020d71c384ece1f6030d47c7b3c11) Don't list every item just to get count ### 📊 Changes **1 file changed** (+6 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Controller/Entities/Folder.cs` (+6 -18) </details> ### 📄 Description This emby era logic now becomes a serious performance problem on very huge folders. Use the proper item count query for most common cases. <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Fixes #15063 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:29:05 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14389