mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
PrioityClass exception warning is very noisy #7625
Reference in New Issue
Block a user
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