(07-Oct-2020, 02:08 PM)agent_kith Wrote: This will be fixed in the next update so you don't have to do this manually.
But until then, for a workaroud, you can run something like pgrep to find the PID of MPD.
I've created a script to set the mpd priority to real time and to move mpd to user:
Create new file mpdpriority.sh with the following lines:
sudo chrt -r -p 99 $(pgrep mpd)
sudo cset proc --move --threads --toset=user --force --pid=$(pgrep mpd)
You can then run this manually as sudo sh [path to script file]/mpdpriority.sh
Or set it to run after boot:
#crontab-e
@reboot root sh [path to script file]/mpdpriority.sh