Skip to content

Add Load Items Limit setting#796

Merged
1hitsong merged 9 commits intojellyfin:masterfrom
brianpardy:loadItemsLimit
Mar 24, 2026
Merged

Add Load Items Limit setting#796
1hitsong merged 9 commits intojellyfin:masterfrom
brianpardy:loadItemsLimit

Conversation

@brianpardy
Copy link
Contributor

@brianpardy brianpardy commented Mar 22, 2026

Changes

Add a user library setting to specify the number of library items preloaded upon entering a library. This overrides the hardcoded m.top.limit = 60 in LoadItemsTask2.bs, allowing a user quickly scrolling down in a library to avoid waiting for the next batch of 60 items to lazy load. The setting defaults to the existing hardcoded value, so nothing changes for any user unless they modify this setting.

After adding this setting a value of 100 provides a smoother scrolling experience on my system. I'm not sure why this limit was hardcoded in 621e53e but my 2024 Ultra 4850X handles preloading 100 items with no trouble.

@brianpardy brianpardy requested a review from a team as a code owner March 22, 2026 20:34
@1hitsong
Copy link
Member

I'm not sure why this limit was hardcoded in 621e53e but my 2024 Ultra 4850X handles preloading 100 items with no trouble.

I'm not sure why this specific number was chosen, but my old crappy Roku TV struggles sometimes with even loading this many

@brianpardy brianpardy requested a review from 1hitsong March 23, 2026 22:37
@brianpardy brianpardy requested a review from 1hitsong March 23, 2026 22:58
Copy link
Member

@1hitsong 1hitsong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Good job.

@1hitsong 1hitsong merged commit ffaa2e8 into jellyfin:master Mar 24, 2026
1 check passed
@brianpardy brianpardy deleted the loadItemsLimit branch March 24, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants