[PR #11268] Remove SessionInfo.FullNowPlayingItem from API responses #12827

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

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:

  • NowPlayingItem (BaseItemDto)
  • FullNowPlayingItem (BaseItem)

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

  • Remove SessionInfo.FullNowPlayingItem from API responses

Issues

Partial fix for #11244, other exposed types like ClientCapabilities need a proper SessionInfoDto.

**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: - NowPlayingItem (BaseItemDto) - FullNowPlayingItem (BaseItem) 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** - Remove SessionInfo.FullNowPlayingItem from API responses **Issues** Partial fix for #11244, other exposed types like ClientCapabilities need a proper SessionInfoDto.
OVERLORD added the pull-request label 2026-02-07 07:02:27 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#12827