mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[PR #9679] [CLOSED] feat: api Sessions/Simple, returns SimpleSessionInfo #12015
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#12015
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/9679
Author: @SamJongenelen
Created: 4/24/2023
Status: ❌ Closed
Base:
master← Head:master📝 Commits (3)
26cab42feat: api Sessions/Simple which returns more simplified object SimpleSessionInfo.a56f6f3fix trailing whitespace5fc8896Merge branch 'jellyfin:master' into master📊 Changes
3 files changed (+109 additions, -1 deletions)
View changed files
📝
Jellyfin.Api/Controllers/SessionController.cs(+59 -0)➕
MediaBrowser.Controller/Session/SimpleSessionInfo.cs(+39 -0)📝
tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs(+11 -1)📄 Description
Changes
Added Server API endpoint
session/Simple, which returns more simplified, flattenedSimpleSessionInfoobjects.Returning
SimpleSessionInfosimplifies consuming the JF Rest API - it is much smaller (I am using interval 30sec) and the flattened structure helps automations for me in HomeAssistant.Open questions:
SimpleSessionInfocomplete enough (I was thinking maybe add Bandwith or Quality information too)Issues
https://github.com/jellyfin/jellyfin/issues/9665
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.