[PR #5629] [MERGED] Fix stream selection having no effect when casting to jellyfin-mpv-shim #10580

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5629
Author: @lmaonator
Created: 3/26/2021
Status: Merged
Merged: 3/27/2021
Merged by: @cvium

Base: masterHead: fix-cast-stream-selection


📝 Commits (2)

  • db2fbce Fix stream selection having no effect when casting
  • 694d772 Update Jellyfin.Api/Controllers/SessionController.cs

📊 Changes

1 file changed (+14 additions, -2 deletions)

View changed files

📝 Jellyfin.Api/Controllers/SessionController.cs (+14 -2)

📄 Description

When casting to jellyfin-mpv-shim from jellyfin-web in the browser,
jellyfin-web sends data about which version (for grouped items) and
which streams the user selected in the browser to the
"Sessions/{sessionId}/Playing" API endpoint.

The API endpoint currently doesn't forward them to the cast client
through the Play command, which results in the default streams being
played instead of the streams selected in the browser.

PlayRequest already has the properties and they are already sent to the
cast client by SendPlayCommand when present.
jellyfin-mpv-shim will already use them to select the wanted streams
when it receives the Play command.

Changes
All that's needed to make it work is to take the parameters and assign
them to PlayRequest.


🔄 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/5629 **Author:** [@lmaonator](https://github.com/lmaonator) **Created:** 3/26/2021 **Status:** ✅ Merged **Merged:** 3/27/2021 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `fix-cast-stream-selection` --- ### 📝 Commits (2) - [`db2fbce`](https://github.com/jellyfin/jellyfin/commit/db2fbcef2b6398dc845b69affde0aef2cc432056) Fix stream selection having no effect when casting - [`694d772`](https://github.com/jellyfin/jellyfin/commit/694d772b113b3f734e559b1dd083823dd931aad6) Update Jellyfin.Api/Controllers/SessionController.cs ### 📊 Changes **1 file changed** (+14 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Api/Controllers/SessionController.cs` (+14 -2) </details> ### 📄 Description When casting to jellyfin-mpv-shim from jellyfin-web in the browser, jellyfin-web sends data about which version (for grouped items) and which streams the user selected in the browser to the "Sessions/{sessionId}/Playing" API endpoint. The API endpoint currently doesn't forward them to the cast client through the Play command, which results in the default streams being played instead of the streams selected in the browser. PlayRequest already has the properties and they are already sent to the cast client by SendPlayCommand when present. jellyfin-mpv-shim will already use them to select the wanted streams when it receives the Play command. **Changes** All that's needed to make it work is to take the parameters and assign them to PlayRequest. --- <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 06:22:53 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10580