mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4579] [CLOSED] [Fix] DLNA BROWSE issues. #10171
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4579
Author: @BaronGreenback
Created: 11/25/2020
Status: ❌ Closed
Base:
master← Head:Dlna_DidlFix1📝 Commits (10+)
d3eadffFixed BROWSE issue.c7abb70Two more fixes.75a5665Fixed Browseab1992aUpdate ControlHandler.csbd45c48Update Emby.Dlna/ContentDirectory/ControlHandler.cs4b69936Update Emby.Dlna/ContentDirectory/ControlHandler.csb59f82cPerformance benefits.e4452d7Update ServerItem.cs1ec8b44Update DidlBuilder.cs27d675fAdded nullability📊 Changes
4 files changed (+171 additions, -279 deletions)
View changed files
📝
Emby.Dlna/ContentDirectory/ControlHandler.cs(+136 -261)📝
Emby.Dlna/ContentDirectory/ServerItem.cs(+11 -0)📝
Emby.Dlna/Didl/DidlBuilder.cs(+22 -17)📝
MediaBrowser.Controller/Entities/UserViewBuilder.cs(+2 -1)📄 Description
The Developer Tools for UPnP™ Technology's Device Validator reports up various errors when asked to the DLNA server.
This PR contains the fixes to resolve these errors.
Issue 1:
Issuing a BROWSE browsemeta request against the DLNA server, when the item is the media folder of a user profile, returns a parent item and not 0 (it should be treated as a root item). I assume this code was written before user profiles.
Fixed This PR fixes this issue returning the correct value of 0.
Issue 2:
"Browse All": Browse("f137a2dd21bbc1b99aa5c0f6bf02a805", BROWSEDIRECTCHILDREN, "*", 0, 1, "") did not yield exactly one CDS-compliant media object in its result. Instantiated a total of 6 media objects.
Fixed The correct number of items are returned.
Issue 3:
"Browse All": Browse("continuewatching_f137a2dd21bbc1b99aa5c0f6bf02a805", BROWSEMETADATA, "*", 0, 0, "") returned a DIDL-Lite media object with parentID="0" when it should be "f137a2dd21bbc1b99aa5c0f6bf02a805".
Fixed Continue Watching's parent is now the top level folder.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.