mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
PrioityClass exception warning is very noisy #7626
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#7626
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?
Originally created by @jaredmcateer on GitHub (Oct 28, 2025).
Description of the bug
As part of #15177 a logger warn was introduced when an exception is thrown by the MediaEncoder not being able to set the PriorityClass.
This is very noisy in the logs when the library monitor is refreshing series as you will get a warn for every file when your environment doesn't support setting it.
Reproduction steps
What is the current bug behavior?
Every time a file is probed a warning entry is added to the logs
What is the expected correct behavior?
I think the original PR was great to get something out quick to unblock people affected but a maybe a better solution would be to have a check upstream in the code, maybe during bootstrapping, that sets a flag and logs a warning if the environment does not support setting priority class and then the MediaEncoder has an conditional check for the flag wrapping the setter.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.11.1
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response