[PR #15177] [MERGED] Make priority class setting more robust #14245

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/15177
Author: @gnattu
Created: 10/24/2025
Status: Merged
Merged: 10/25/2025
Merged by: @crobibero

Base: release-10.11.zHead: robust-below-normal


📝 Commits (1)

  • 3d01b54 Make priority class setting more robust

📊 Changes

2 files changed (+18 additions, -2 deletions)

View changed files

📝 MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs (+9 -1)
📝 src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs (+9 -1)

📄 Description

Currently the tasks simply crashes because the user running jellyfin server does not have the permission to change priority of a process. The below normal is a best-effort optimization and should not crash the task entirely. Add a try catch to make the task to move on even when priority cannot be set.

Changes

Issues

Fixes #14901


🔄 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/15177 **Author:** [@gnattu](https://github.com/gnattu) **Created:** 10/24/2025 **Status:** ✅ Merged **Merged:** 10/25/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.11.z` ← **Head:** `robust-below-normal` --- ### 📝 Commits (1) - [`3d01b54`](https://github.com/jellyfin/jellyfin/commit/3d01b5453c14760e7c3c7efb94035c695a9b6b44) Make priority class setting more robust ### 📊 Changes **2 files changed** (+18 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs` (+9 -1) 📝 `src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs` (+9 -1) </details> ### 📄 Description Currently the tasks simply crashes because the user running jellyfin server does not have the permission to change priority of a process. The below normal is a best-effort optimization and should not crash the task entirely. Add a try catch to make the task to move on even when priority cannot be set. <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Fixes #14901 --- <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:44 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14245