Playback Error and Tuner Service hang when changing to new channel in Live TV & DVR (tuner Segmentation Violation)

I’m using a keep-alive script for my linux box, from another user at Could not tune channel. Please check your tuner or antenna - #244 by prwilliams1982

Only thing to keep in mind is the full command line needs extracting for each plex version, my line now reeds:
/usr/lib/plexmediaserver/Plex\ Tuner\ Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.25.2.5319-c43dc02277 32600 &

and the 1.25.2.5319-c43dc02277 bit is a variable. To get it i did:

pidof "Plex Tuner Service"

note the number, let’s say 1234, then:
ps -p 1234 -o command

note the last bit of the command, should be the full server version and 10-ish characters. There are 10 chars after the version, if you see less then you may need a wider/longer ssh window if you access the server through putty or such. You will need to do this at every server version update, until the issue is fixed…

Then, you also need net-tools package, on debian the command is:
apt-get install net-tools

I saved the script in /scripts and I called it antifreeze.sh
Needed to make it executable with chmod +x /scripts/antifreeze.sh

Then the script is ran with with a fork to background for continued operation (until the next reboot) (also, fork is simply adding & after the command to run the script, like: bash /scripts/antifreeze.sh & . Now if segfault happens, and the script is running, after 30-50 seconds or so the tuner can then be again accessed. Handy for then you are away and cannot restart the plexmediaserver

3 Likes