Plex Live TV && tvhProxy || plexheadend

Anyone that can guide me in debugging why I can’t get it to work? Where’s the log files? TV works in other apps but I can’t get it to work with Plex. And I can’t figure out how to debug it. Where can I get something more useful than the gui telling me it can’t tune the channel?

1.) plex server is on server 1 (192.168.99.11)
2.) tvheadend is on server 2 (192.168.99.14)
3.) I’ve installed tvhProxy and plexehadend on server 2

So when running these I get the json config files
http://192.168.99.14:5004/lineup.json

[
{
"GuideName": "Sky News",
"GuideNumber": "701",
"URL": "http://tvhproxy:tvhproxy@192.168.99.14:9981/stream/channel/19975a3b5b20cf2327afe214a4fd8d59?profile=pass&weight=300"
},
{
"GuideName": "BBC Earth HD",
"GuideNumber": "721",
"URL": "http://tvhproxy:tvhproxy@192.168.99.14:9981/stream/channel/d42d503cefbbcf21b58208fcf8c023c4?profile=pass&weight=300"
},
...
]

And with this I can use e.g. VLC to open the stream
http://tvhproxy:tvhproxy@192.168.99.14:9981/stream/channel/19975a3b5b20cf2327afe214a4fd8d59?profile=pass&weight=300
Also I can use Kodi and it works great.

However when trying to use Plex I

  1. Add a DVR device with url
  2. Add wg++ guide data path
    3.This now adds the device, loads the guide.
  3. I goto the program guide in Web browser (Chrome) and start a live channel
  4. Error window: Playback Error: Unable to tune channel (same on Plex Media Player on MacOs)

I’ve tried on plex server goto “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs” and run

grep -r “192.168.99.14” ./*

kidkic@drive:~/plex-logs$ grep -r "192.168.99.14" ./**
./Plex Media Server.log:Apr 18, 2018 22:14:20.907 [0x7fe569fff700] DEBUG - NetworkServiceBrowser: SSDP arrived: 192.168.99.146 (http://192.168.99.146:52323/dmr.xml)
./Plex Media Server.log:Apr 18, 2018 22:14:20.907 [0x7fe5717ff700] DEBUG - HTTP requesting GET http://192.168.99.146:52323/dmr.xml
./Plex Media Server.log:Apr 18, 2018 22:14:20.920 [0x7fe5717ff700] DEBUG - HTTP 200 response from GET http://192.168.99.146:52323/dmr.xml
./Plex Media Server.log:Apr 18, 2018 22:14:28.160 [0x7fe573fff700] DEBUG - DVR:Device: Testing grabber HDHomerun device device://tv.plex.grabbers.hdhomerun/1 at http://192.168.99.14:8080
./Plex Media Server.log:Apr 18, 2018 22:14:28.160 [0x7fe573fff700] DEBUG - HTTP requesting GET http://192.168.99.14:8080/discover.json
./Plex Media Server.log:Apr 18, 2018 22:14:28.161 [0x7fe573fff700] DEBUG - HTTP 200 response from GET http://192.168.99.14:8080/discover.json
./Plex Media Server.log:Apr 18, 2018 22:14:28.162 [0x7fe573fff700] DEBUG - HTTP requesting GET http://192.168.99.14:8080/lineup_status.json
./Plex Media Server.log:Apr 18, 2018 22:14:28.163 [0x7fe573fff700] DEBUG - HTTP 200 response from GET http://192.168.99.14:8080/lineup_status.json
./Plex Media Server.log:Apr 18, 2018 22:14:28.196 [0x7fe573fff700] DEBUG - DVR:Device: Testing grabber HDHomerun device device://tv.plex.grabbers.hdhomerun/12345678 at http://192.168.99.14:5004
./Plex Media Server.log:Apr 18, 2018 22:14:28.196 [0x7fe573fff700] DEBUG - HTTP requesting GET http://192.168.99.14:5004/discover.json
./Plex Media Server.log:Apr 18, 2018 22:14:28.198 [0x7fe573fff700] DEBUG - HTTP 200 response from GET http://192.168.99.14:5004/discover.json
./Plex Media Server.log:Apr 18, 2018 22:14:28.199 [0x7fe573fff700] DEBUG - HTTP requesting GET http://192.168.99.14:5004/lineup_status.json
./Plex Media Server.log:Apr 18, 2018 22:14:28.201 [0x7fe573fff700] DEBUG - HTTP 200 response from GET http://192.168.99.14:5004/lineup_status.json
./Plex Media Server.log:Apr 18, 2018 22:15:01.425 [0x7fe569fff700] DEBUG - NetworkServiceBrowser: SSDP departed after not being seen for 20.094907 seconds: 192.168.99.146
./Plex Media Server.log:Apr 18, 2018 22:15:02.307 [0x7fe569fff700] DEBUG - NetworkServiceBrowser: SSDP arrived: 192.168.99.146 (http://192.168.99.146:52323/dmr.xml)
./Plex Media Server.log:Apr 18, 2018 22:15:02.307 [0x7fe5603fb700] DEBUG - HTTP requesting GET http://192.168.99.146:52323/dmr.xml
./Plex Media Server.log:Apr 18, 2018 22:15:02.347 [0x7fe5603fb700] DEBUG - HTTP 200 response from GET http://192.168.99.146:52323/dmr.xml

Some updated progress. I’ve now tried to look at the syslog in both Server A (plex) and Server B (tvheadend).

tail -f /var/log/syslog

However plex shows debug output but nothing relating to the tv channel request.
And tvheadend only shows server start. I made sure to enable debugging.

/etc/defaults/tvheadend
TVH_DEBUG=1

sudo service tvheadend restart

Still no luck.

For others out there. I’ve had still no luck with getting it to work :’(
Satellite Server keeps crashing so when changing the hardware I think I’ll format the drive and try out TV Mosaic and see if everything works better.