[PR #2304] [MERGED] Fix pagination for DLNA root folder list #9073

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/2304
Author: @pR0Ps
Created: 1/19/2020
Status: Merged
Merged: 1/20/2020
Merged by: @JustAMan

Base: masterHead: master


📝 Commits (1)

  • f2eea89 Fix pagination for DLNA root folder list

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 CONTRIBUTORS.md (+1 -0)
📝 Emby.Dlna/ContentDirectory/ControlHandler.cs (+2 -2)

📄 Description

Previously, when responding to a DLNA "Browse" request, the StartingIndex was not respected and all of the root items were returned each time. This caused infinite loops with in DLNA clients that ignored the TotalMatches data in the response and just continued asking for the next page until they got an empty response.

This fix makes the root folder list respect the StartingIndex and RequestedCount parameters like all other responses.

Fixes issue #2303


🔄 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/2304 **Author:** [@pR0Ps](https://github.com/pR0Ps) **Created:** 1/19/2020 **Status:** ✅ Merged **Merged:** 1/20/2020 **Merged by:** [@JustAMan](https://github.com/JustAMan) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`f2eea89`](https://github.com/jellyfin/jellyfin/commit/f2eea89ff084111a4a90bfefdb6def68165e6025) Fix pagination for DLNA root folder list ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTORS.md` (+1 -0) 📝 `Emby.Dlna/ContentDirectory/ControlHandler.cs` (+2 -2) </details> ### 📄 Description Previously, when responding to a DLNA "Browse" request, the `StartingIndex` was not respected and all of the root items were returned each time. This caused infinite loops with in DLNA clients that ignored the `TotalMatches` data in the response and just continued asking for the next page until they got an empty response. This fix makes the root folder list respect the `StartingIndex` and `RequestedCount` parameters like all other responses. Fixes issue #2303 --- <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 05:55:38 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9073