Hi all. I've been running Subsonic for a year or so, and absolutely love it. With my setup, I have a subsonic "appliance" (an old PC running Debian 12.04 off a CF card) with its audio output piped into my home stereo. My music is all stored on a NAS appliance on the network. I use a tablet to control it, and have music throughout my house. I've upgraded to Subsonic 4.8, and everything is working, but I have another thought. Because my "appliance" is a little under-powered, when using my remote (tablet) and the appliance is doing playback, periodically it stalls briefly - there's a disruption in the audio playback because subsonic is reading the library, or performing a search. If I renice ffmpeg to -20 while its playing back, then there's no problem.
So my question is this... Currently, when audio playback starts, the niceness value of ffmpeg is 0. If I renice ffmpeg to -20, the playback is smoother. So what launches ffmpeg? Can a config file somewhere be adjusted to launch ffmpeg playback with an alternate nice value? I looked to see if there's a config file for ffmpeg (ffserver.conf), however it doesn't appear there's a value or field for specifying a nice value. I could cron a script that runs every 3 seconds and looks for ffmpeg in the ps -A output, parses for the pid and executes a renice -20 on that pid, but thats not "elegant".
Any guidance here?
