Thanks for this! So here is a problem, we actually use a HD Homerun in our home for Plex DVR and I find that setting this up breaks that usage and additionally I am asked to bind a PseudeoTV virtual channel to an actual real channel that the real HD Homerun uses.
Is there any way to get this tweak to work alongside an actual HD Homerun device?
There is a work around. The result will be TWO independent LIVE TV & DVR instances on the sidebar of your Plex Web UI.
Delete all the tuners and start from scratch. From what I can tell, I have not lost any of my scheduled programs. Then open TWO seperate tabs in your browser of the DVR setup. On the first tab, start the process to add the PseudoTV. Go through the steps, add the XML path, then finish but DONT refresh the page.
Go to the 2nd open tab, then add back your HDHrun tuner and install that like normal (zipcode, channel mapping). Then refresh in that tab. You will see two sets of Live TV & DVR located on the side. From my understanding, there canāt be a sharing of one EPG of two separate services (?).
The setup of PseudoTV tuner sees your channels as CABLE but not OTA. All I know is thatās how I got it to work. It would be nice if we donāt have to do it that way, but this was the work around others have suggested.
So Iāve gotten this almost completely working. Created the channel, added content. Able to see the channel in Plex, and can even play it and it plays perfectly fine.
My issue happens when I exit out of the player in plex. Happens on the Plex iOS app, and from the web. When I exit the player, it completely kills pseudotv. I have to restart it to get it back up.
Heres the error from the logs:
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at ServerResponse.setHeader (_http_outgoing.js:533:11)
at ServerResponse.header (/Users/xxxx/pseudotv-plex/node_modules/express/lib/response.js:771:10)
at ServerResponse.contentType (/Users/xxxx/pseudotv-plex/node_modules/express/lib/response.js:599:15)
at ServerResponse.send (/Users/xxxx/pseudotv-plex/node_modules/express/lib/response.js:145:14)
at FFMPEG.<anonymous> (/Users/xxxx/pseudotv-plex/src/video.js:71:29)
at FFMPEG.emit (events.js:315:20)
at ChildProcess.<anonymous> (/Users/xxxx/pseudotv-plex/src/ffmpeg.js:166:22)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1051:16)
at Socket.<anonymous> (internal/child_process.js:442:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:671:12) {
code: āERR_HTTP_HEADERS_SENTā
} `
yeah, not news to most of us who dig deeper into things but this is the comments I get from others who ask why something is the way it is⦠and us here know its about pat.ent lol ( com- cast vs. rov-i for example)
@edge06 Yes, itās listed as one of the options for the channels.
@baberim & @crackers81991 are yāall using 0.0.5? Iām still on 0.0.4h and donāt get that error. (Iām staying on that branch cuz it works fine for me and I donāt wanna have to reprogram all my channels again, lol)
@crackers81991 I didnāt build with docker. Couldnāt get it to work unfortunately so I used the source build instructions. Oh wellā¦hopefully 0.0.6 fixes it
Yep, thatās as far as I have gotten. I took a pause on tinkering with it, but the next time I mess with it Iām going to swap out the encoders again.
Blockquote Utilize your hardware accelerated encoders, or use mpeg2 instead of h264 by changing the default video encoder in FFMPEG settings. Note that some encoders may not be capable of handling every transcoding scenario, libx264 and mpeg2video seem to be the most stable.
Something within the setup is killing the entire docker container from running. Each and every time I stop playback, the container exits with the following in the Docker log:
So when i add it to my DVR it wants to use my existing OTA channels for the mapping? I am not prompted to enter the custom xmltv file infoā¦Am i missing something?
From what some us know, based on others attempting this, creating TWO separate instances of tuners, each having their own EPG is what is required to get this to work. You currently arenāt able to simply add PseudoTV channels to the EPG guide thatās imported from the HDHR tuner, which is OTA. PseudoTV is read as cable channels.
@D_eight6 Thanks for the info. I use Plex as my main DVR and not so sure i wanna go messing around and hacking/tricking it. Kinna worried it could mess up my recordings. Just thought this would be cool feature to try.