[PR #11956] NextUp query respects Limit #13042

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

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11956

State: closed
Merged: Yes


Changes
Currently Nextup query does not use the limit defined in the query. It just gets ignored halfway through and defaults to "null". This means that no limit is placed and the sqlite query just pulls everything. This fix uses the query to define a limit X. This should also massively speed up nextup from pulling everything to only pulling X number of items.

Originally PR https://github.com/jellyfin/jellyfin/pull/11955 - but redid it against 10.9 as recommeneded.

Issues

Resolves slow homescreen loading due to slow nextup query. - https://github.com/jellyfin/jellyfin/issues/11888 https://github.com/jellyfin/jellyfin/issues/11316

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/11956 **State:** closed **Merged:** Yes --- **Changes** Currently Nextup query does not use the limit defined in the query. It just gets ignored halfway through and defaults to "null". This means that no limit is placed and the sqlite query just pulls everything. This fix uses the query to define a limit X. This should also massively speed up nextup from pulling everything to only pulling X number of items. Originally PR https://github.com/jellyfin/jellyfin/pull/11955 - but redid it against 10.9 as recommeneded. **Issues** Resolves slow homescreen loading due to slow nextup query. - https://github.com/jellyfin/jellyfin/issues/11888 https://github.com/jellyfin/jellyfin/issues/11316
OVERLORD added the pull-request label 2026-02-07 07:06:10 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13042