mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #11268] Remove SessionInfo.FullNowPlayingItem from API responses #12827
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?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11268
State: closed
Merged: Yes
I guess this is regression from when we moved over to ASP.NET. Seems to be available starting from our first OpenAPI schema.
There are two properties in SessionInfo:
The second one is the only place in the API that "exposes" BaseItem (the non-dto one). All other places use BaseItemDto. Fortunately, the property is nullable and an org-wide search shows none of our clients use FullNowPlayingItem. So removing it should not have any impact.
Changes
Issues
Partial fix for #11244, other exposed types like ClientCapabilities need a proper SessionInfoDto.