plex live tv cannot find 1 tuner...

okay, so i have had two tuners for a while on my network but those are employed by mythtv. in order to get plex tv working i added a new tuner. so i went to add the tuner (192.168.0.17) and it is not finding it. my assumption is it is a firewall thing however i cannot figure out the port needed and if it for sure is. i found this in the logs but i dont see a port unless it is 63136 but i allowed that tcp and it didnt work so…

equest: [192.168.0.10:63135 (Subnet)] GET /player/proxy/poll?deviceClass=pc&protocolVersion=1&protocolCapabilities=timeline%2Cplayback%2Cnavigation%2Cmirror%2Cplayqueues&timeout=1 (4 live) TLS GZIP Signed-in Token (boec0025)
Dec 13, 2017 16:28:21.074 [0x7f50943fc700] DEBUG - Beginning read from two-way stream.
Dec 13, 2017 16:28:22.305 [0x7f5098fff700] DEBUG - Auth: authenticated user 1 as boec0025
Dec 13, 2017 16:28:22.306 [0x7f507c7f7700] DEBUG - Request: [192.168.0.10:63136 (Subnet)] POST /media/grabbers/tv.plex.grabbers.hdhomerun/devices?uri=192.168.0.17%3A80 (5 live) TLS GZIP Signed-in Token (boec0025)
Dec 13, 2017 16:28:22.307 [0x7f507c7f7700] DEBUG - DVR:Grabber: Checking device URI http://192.168.0.17:80
Dec 13, 2017 16:28:22.308 [0x7f507c7f7700] DEBUG - HTTP requesting GET http://192.168.0.17:80/discover.json
Dec 13, 2017 16:28:24.103 [0x7f508c3ff700] WARN - NetworkServiceBrowser: Error sending out discover packet from 192.168.0.1 to 192.168.0.255: Operation not permitted
Dec 13, 2017 16:28:24.103 [0x7f508c3ff700] WARN - NetworkServiceBrowser: Error sending out discover packet from 192.168.0.1 to 192.168.0.255: Operation not permitted
Dec 13, 2017 16:28:27.315 [0x7f507c7f7700] ERROR - Error issuing curl_easy_perform(handle): 28
Dec 13, 2017 16:28:27.315 [0x7f507c7f7700] DEBUG - HTTP simulating 408 after curl timeout
Dec 13, 2017 16:28:27.316 [0x7f507c7f7700] DEBUG - HTTP requesting GET http://192.168.0.17:80/capability
Dec 13, 2017 16:28:29.103 [0x7f508c3ff700] WARN - NetworkServiceBrowser: Error sending out discover packet from 192.168.0.1 to 192.168.0.255: Operation not permitted
Dec 13, 2017 16:28:29.103 [0x7f508c3ff700] WARN - NetworkServiceBrowser: Error sending out discover packet from 192.168.0.1 to 192.168.0.255: Operation not permitted
Dec 13, 2017 16:28:29.104

well, i got plex to finally find my tuners. it was a firewall issue as far as i can tell. i have no idea which port was the issue but one was. so once i got that done, i disabled the firewall for local traffic, turned off selinux just to make sure that was not an issue and tried to watch a tv show and of course it failed.

as far as i can tell, this cannot work. plex must have released this without it working. THE ONLY THING that could be causing this is a permission issue since i know the tuners work because they work with mythtv, and in order for that to be true, plex must be trying to create a file somewhere which isnt shown in the logs so THERE IS NO WAY THIS CAN WORK!

THOUGHTS?!

okay, just an update, i can see the request to the tuner and the tuner sends a signal back however that is where things end. i never get a picture so my guess is the dvr needs permission to write to a directory however it does not get it so it fails. for fedora 27, it would be great if someone knew where this directory was so i could change the permission because i have poured over the logs and not seen an note…

okay, well, no one helped me so after much, much searching, i helped myself. i guess i learned to fish so here we go…

if you want to set up plex dvr on linux (i am using fc 27) here are somethings you are going to need to do…

  1. this is the MINIMUM ports needed by plex…

support.plex.tv/hc/en-us/articles/201543147-What-network-ports-do-I-need-to-allow-through-my-firewall-

only 32400 needs to be open outside your network. the rest should be internal only.

  1. after plex is installed and the above ports are opened, need to allow it generous access through your firewall. apparently plex uses random ips from 30000 to 65535. what i ended up having to do to get things working right, the tuners discovered and set-up correctly and getting a signal is just open up my firewall to give the subnetwork complete access to my plex server. otherwise, since the ports are randomized in someway, you will never open the right port.

  2. once you get those two done, in order to get to watch your new dvr, you cannot use the http://yourserver:32400/web/index anymore. you need to use https://app.plex.tv to access your server. dont ask me why those are just the facts.

those are the parts that really hung me up, especially the random port crap! once you have that done, you should be good to go.