[PR #15062] Add media source version prioritization #14228

Open
opened 2026-02-07 07:26:31 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/15062
Author: @mlaustin44
Created: 10/21/2025
Status: 🔄 Open

Base: masterHead: config-version-order


📝 Commits (2)

  • 8c092a5 Add media source version prioritization
  • 0fcc8d1 sealing test class per CodeQL

📊 Changes

5 files changed (+243 additions, -4 deletions)

View changed files

📝 CONTRIBUTORS.md (+1 -0)
📝 MediaBrowser.Controller/Entities/BaseItem.cs (+29 -4)
MediaBrowser.Model/Configuration/MediaSourceOptions.cs (+35 -0)
📝 MediaBrowser.Model/Configuration/ServerConfiguration.cs (+6 -0)
📝 tests/Jellyfin.Controller.Tests/Entities/BaseItemTests.cs (+172 -0)

📄 Description

Changes
Adds server configuration options to control the ordering of media sources when multiple video versions are available (e.g., 4K, 1080p, 720p). Administrators can set a preferred resolution (e.g., 1080p) to be selected first, and configure whether remaining versions sort by ascending or descending quality. This allows control of which version is used by default during playback, which is highly useful for libraries that have a 4k and a 720p/1080p version of content - as right now the default behavior would be to transcode the 4k version!

This PR only covers the server, but I intend to work on a matching PR to the web app once this is merged.

Issues


🔄 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/15062 **Author:** [@mlaustin44](https://github.com/mlaustin44) **Created:** 10/21/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `config-version-order` --- ### 📝 Commits (2) - [`8c092a5`](https://github.com/jellyfin/jellyfin/commit/8c092a5e5817c6947eac9ecf81b7c4f08ae7b7c7) Add media source version prioritization - [`0fcc8d1`](https://github.com/jellyfin/jellyfin/commit/0fcc8d17011d441c3be5e6f7fe617a83ce702a29) sealing test class per CodeQL ### 📊 Changes **5 files changed** (+243 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTORS.md` (+1 -0) 📝 `MediaBrowser.Controller/Entities/BaseItem.cs` (+29 -4) ➕ `MediaBrowser.Model/Configuration/MediaSourceOptions.cs` (+35 -0) 📝 `MediaBrowser.Model/Configuration/ServerConfiguration.cs` (+6 -0) 📝 `tests/Jellyfin.Controller.Tests/Entities/BaseItemTests.cs` (+172 -0) </details> ### 📄 Description **Changes** Adds server configuration options to control the ordering of media sources when multiple video versions are available (e.g., 4K, 1080p, 720p). Administrators can set a preferred resolution (e.g., 1080p) to be selected first, and configure whether remaining versions sort by ascending or descending quality. This allows control of which version is used by default during playback, which is highly useful for libraries that have a 4k and a 720p/1080p version of content - as right now the default behavior would be to transcode the 4k version! This PR only covers the server, but I intend to work on a matching PR to the web app once this is merged. **Issues** --- <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 07:26:31 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14228