PseudeoTV-Plex - Create LiveTV channels from your Plex playlists

No, but it does support using a playlist, so you could add your collection into an entire playlist and add the content to a channel that way.

1 Like

The default bitrate is something like 10 Mbps, you could consider lowering it.

I am running Plex Media Server on a Windows machine and reading through the gitlab instructions, do we just run the executable and make sure to point to fffmpeg location? The instructions are a little unclear if we need to anything else past that and the DVR will be available in the DVR section of Plex Media server. Sorry, don’t mean to ask a question that is obvious but I am interested in setting this up. Thank you.

1 Like

Have this running fine, but it makes my servers CPU spike to 100% Isn’t a powerhouse, but usually handles multiple streams fine.

Anyone know of any settings I could change to combat this?

@amcfarla try using the steps @DEFENDORe posted in this thread, they helped me: PseudeoTV-Plex - Create LiveTV channels from your Plex playlists

@dmac1991 try lowing the bitrate. By default it’s at 10 Mbps, which I think is far higher than the typical bitrate.

I had the DVR setup fine with the first few rougher versions of the app early on but now my plex will not show the dvr at all. It acts like its there and the continue button shows but no DVR is listed. If I hit continue it shows that it actually is there but channel scan fails with unable to connect to the device. I am at a loss. I am gonna try to point to an external computer running pseudo but if anyone has any idea why it won’t show I’m open to anything. I am running it on the same as my plex.

Really want to get this thing working but I am lost… oh and I did look in media_provider_resources for dvr entries and it shows pseudo tv twice in there. One for the local IP 192.168… and then another with the local host IP 127.0.0.1 … Not sure why but its acting really odd.

Thanks,

PC Nerd.

1 Like

i’ll try this, but it doesn’t seem like that should be an issue. my server can routinely play streams transcoded to 10mbps without any issue.

1 Like

that worked for a few minutes, but then started buffering again and crashed…

FFMPEG ERROR {
  code: 255,
  cmd: '-threads 4 -ss 839.199 -t 511.784 -re -i http://192.168.88.253:32400/library/parts/8636/1584604892/file.mkv?X-Plex-Token=xxx -filter_complex [0:0]null[v1];[v1]null[v] -map [v] -map 0:1 -c:v libx264 -c:a ac3 -ac 2 -ar 48000 -b:a 192k -b:v 4096k -s 1280x720 -r 30 -flags cgop+ilme -sc_threshold 1000000000 -minrate:v 4096k -maxrate:v 4096k -bufsize:v 100000k -metadata service_provider="PseudoTV" -metadata service_name="Channel 1" -f mpegts -output_ts_offset 0 -muxdelay 0 -muxpreload 0 pipe:1'
}
_http_outgoing.js:526
    throw new ERR_HTTP_HEADERS_SENT('set');
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:526:11)
    at ServerResponse.header (/home/node/app/node_modules/express/lib/response.js:771:10)
    at ServerResponse.contentType (/home/node/app/node_modules/express/lib/response.js:599:15)
    at ServerResponse.send (/home/node/app/node_modules/express/lib/response.js:145:14)
    at FFMPEG.<anonymous> (/home/node/app/src/video.js:71:29)
    at FFMPEG.emit (events.js:310:20)
    at ChildProcess.<anonymous> (/home/node/app/src/ffmpeg.js:166:22)
    at ChildProcess.emit (events.js:310:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:310:20)
    at Pipe.<anonymous> (net.js:672:12) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pseudotv@1.0.0 start: `node index.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the pseudotv@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-05-11T16_50_34_027Z-debug.log

crackers81991 Getting the same exact error every time I exit a stream

1 Like

yep, and i still can’t get it to play for more than a few seconds or a few minutes without buffering and/or crashing completely.

this is an awesome idea and will be great when it’s refined, but right now it’s pretty much unusable…at least for me.

crackers81991 It’s not just us. It’s listed as an issue here so keep an eye on this hopefully the dev sees it soon :slight_smile: Cannot set headers after they are sent to the client (#43) Ā· Issues Ā· Dan Ferguson / pseudotv-plex Ā· GitLab

1 Like

that doesn’t explain my buffering issues, though. my server is plenty powerful enough and should be able to easily handle this, even at the default bitrate. there’s something else going on…

I think its an overall FFMPEG issue causing both. I tried just going off of the m3u file in VLC…and again that played fine for me, but crashed as soon as I exit.

I get buffering issues too, but found that if I let it sit it’ll sort itself out after a min or so. Lowering the bitrate did nothing though on my end.

i almost feel like there are way too many arguments being passed to ffmpeg. i had something like this running 24x7 a few months ago and didn’t need to pass nearly as much crap into ffmpeg as we are here…this was way easier to set up, though. a combination of the two would be great.

I feel like that guy that falls way behind in the race and is just lucky to be running in it :confused: … Got mine finally to recognize the DVR alone and have some channels configured now. Haven’t tried to watch anything yet, I’m just glad to see it recognized at all. Mine is still running on Windows x86.
-Used DB Browser SQLite Went into the users\username\appdata\local\plex media server\plug-in support\databases and selected open database.

-Found com.plexapp.plugins.library.db and the went to media_provider_resources table and right clicked then selected browse table.

-Made sure all plex apps and services were closed then deleted all the entries in the table that referenced PseudoTV.

-Started Plex back up then started pseudo exe from DEFENDORe (x86 out of 0.0.5 downloads folder listed on gitlab saved to my computer)

-once it was open I added the DVR and used 127.0.0.1:8000 as the IP address since mine is running on the same computer as my plex.

-It finally found the DVR perfect.

-Then went to the site in a separate tab http://127.0.0.1:8000 and configured ffmpeg, added my plex server etc.

-Then went back to plex and finished the DVR add. Selected the alternate guide link at the top when asked for my zip and entered in the location (and filename) of the pseudo xmltv.xml file. Saved the settings then went to the channels link for Pseudo web interface and added channels.
That in and of itself is a little confusing but once I figured out its adding several hours I let it complete and I at least have a guide now.

Hopefully this will help someone on Windows that is not using docker.

is there a way to disable embedded subtitles on the whole channel instead of individual episodes in the channel?

1 Like

I am using Plex Media Server on a Windows (x86) older laptop (probably 6 years old or so) and watching the DVR on the Plex app for FireTV (Smart TV) although it is VERY choppy and buffering a bit it works quite well. Although it has a ways to go on this thing (still uses a bit of duct tape and super glue up to now; considering its only 0.0.5 alpha) it’s by far the snazziest one I’ve seen and the fact that its mostly native to Plex makes it have some serious potential to be an outstanding PseutoTV EPG for my media. I wish I knew Java more… I would dive right in. Big Thumbs up to Dan for getting this ball rolling. Hope it really gets a following DEFENDORe… I’m sure we all will be watching for more on this sucker for a while :slight_smile:

Regards,

PC Nerd.

1 Like

the great thing about this is that it also works via m3u, so you can view it outside of plex if you want to…but the buffering issues have to be resolved first.

Yep there’s always room for improvement, mainly making the installation a bit more streamlined on all platforms and then getting the playback to use the Plex internal video transcoder to do the work rather rely on external ffmpeg. Then the UI. This being barebones is pretty awesome. The new critiques I had showing to someone in the household was that why if they like what was on, can’t they #1: play from the beginning (especially if the content is already on the server), #2: if they see something on the guide at a later time, but rather watch it on demand within the guide, why must they back out and use the search bar instead of using a * or right click and start on demand playback of the show right away. Personally I have no gripes since I’m very happy to see this get the momentum it’s been getting, but when you put this to the test with new users, get ready for the critical comments. LOL

And my main usage for this would be creating a set of my own music video channels

1 Like

Anyone have any sweet logos/icons for channels they create? Action, Comedy, Superhero etc?

3 Likes