DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance)
Added by G Kazaroth about 4 years ago
Cabernet for (Cable Network) version 0.9.12 (4/13/2023)
TVGuide, DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex¶
Provides a configurable interface from providers to TVHeadend.
- Direct streaming plugins for DaddyLive, PlutoTV, XUMO
- EPG supplemented using TVGuide.com data
- M3U Plugin provides channels for: SamsungTVPlus, Plex, PBS, Stirr, and others
- From: https://i.mjh.nz/
- Import your own M3U file
https://github.com/cabernetwork/cabernet/releases
Purpose is to get a service that will take the DaddyLive, PlutoTV or XUMO server stream, clean it and feed it into TVHeadend and other DVRs (Also tested on Emby, JellyFin and Plex). Also it runs on Linux, Windows as a service and Docker. Windows has a installer. Once installed, setup is easy with TVHeadend. Also includes a TVGuide.com plugin to obtain TVGuide data.
1) Setup the automatic IPTV network (recommend new URL is http://[host]:6077/PlutoTV/channels.m3u)
Make sure to set the "Maximum # input streams". PlutoTV is set to a max of 4 and tvheadend uses 2 per tuner during initial screening. Doing a force scan will create the mux and service values. Also, turn View level to Advanced and set the Re-fetch period (mins) to a very large number. TVheadend has a tenancy to cause issues when channels change (Changed Services will not be mapped to channels). The Maximum Timeout is used to wait for a reply during a Forced scan. Recommend keep this low, like 15-20 seconds. Some of the channels may fail, but it is faster than having a high setting and waiting for all channels to scan. Just individually rescan those that failed by setting each mux back to PEND from IDLE.
2) Next you can setup the grabber. I use a URL grabber written in Unix bash and is an extremely small file. It can be found in the github repo at
https://github.com/cabernetwork/cabernet/tree/master/lib/tvheadend/service/Unix called tv_grab_url
Place the grabber file in the same location as the other TVHeadend tv_grab* files, change the permissions to executable and restart TVHeadend. This should allow TVHeadend to pickup the new grabber. While in the grabber list, make sure and disable any OTA grabbers. Stations no longer send this information and will only cause TVHeadend to use a tuner for scanning. Displaying the log window by clicking the three ^ in the bottom right is helpful at this time.
Have the grabber run and populate the EPG data into the EPG Grabber Channels tab. The log should show a quantity of channels were detected.
Pop over to the EPG Grabber tab and disable the OTA grabber cron. Also, update/replace the Internal grabber cron schedule using something like below. The example will pull the TV guide at 6:04am and 5:52pm. Add more if you need. It is recommended to use static cron times.
4 6 * * * 52 17 * * *
3) In the Channel view, select Map all channels.
This will tie the services, EPG and channels together, automatically. After this, re-grab the EPG data. This will populate the EPG tab with shows. For TVH version 4.3, the Number column will auto-populate. For TVH 4.2, you will need to manually add channel numbers.
4) Display the TVGUIDE. This appliance has special features which maps the tvheadend genre, giving colors on tvguides. It also has enhanced guide descriptions and optional additional channel notations if you use many streams. Below is the Kodi tvguide using the pvr.hts plugin.
For Kodi, go to the settings for PVR and turn on the General setting "Use channel numbers from backend".
Replies (960)
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
I ran a DABL test and found it recording, but the ATSC msg was missing initially. The screen was blank although the data was still being recorded. I suspect Sean's ffmpeg fix would resolve the issue by adding ATSC messages to the front of the stream. After stopping and then starting the stream, the video started correctly (not sure why). Also took a look at the ads appearing. Cabernet will only remove invalid ads. DABL has valid ads, like those on CBS, FOX, ABC and others. They are part of the main stream, so they will not be removed.
For a test, I would recommend trying a one minute recording just before starting the actual recording and see if that clears things up. (ex: record from 6:57-6:58, then start the actual recording at 7:00). This is a work around while I get the XUMO finish, afterwards I can take a look and what we need to do with the ATSC messages.
BTW: There were also invalid ads that were removed. (About 2.5 mins of ads in one case) That worked correctly as well.
RE: Locast and PlutoTV interface (appliance) - Added by C Island over 3 years ago
I will try on Monday but..... I am already recording prior to most shows due to them being back to back.
1-2pm - escape to the country episode X
2-3pm - escape to the country episode Y (recording prior due to previous recording)
3-4pm - escape to the country episode Z (recording prior due to previous recording)
All had weird recordings and the 2nd and 3rd were the worst with commercials being recorded yet times prior to commercials being skipped....
If I add an additional recording 1 min before each they will (mostly) be on top of the other recordings.
RE: Locast and PlutoTV interface (appliance) - Added by Sean Micklem over 3 years ago
I did a test using the ffmpeg pipe on a couple of the muxes, and it does seem to resolve the seek issues, however I noticed more visible breakups of the picture. It's not that these don't happen if you don't use a ffmpeg pipe, but subjectively they seemed more noticeable when the stream was being filtered through the ffmpeg pipe in real time and then recorded. It may have just been the channels I was using for testing, because I have noticed that certain channels seem more prone to picture breakups than others. But I also noticed that the fewer the breakups, the less likely it was that I'd have seek problems with a recording in the first place. Since not being able to seek within the video is more annoying than a few breakups that would probably be there anyway, I would say that using the ffmpeg pipe might be worthwhile.
It would be great if we had the option to apply a ffmpeg pipe to all PlutoTV channels, but the thought of having to go in and change over 200 muxes manually is not at all appealing! And I still don't know if at some point they'd get changed back to what they were originally because of it being an automatic IPTV network. That did not happen during my testing but I am not certain it never would.
RE: Locast and PlutoTV interface (appliance) - Added by C Island over 3 years ago
Turning off URL filter causes REALLY weird behavior. Now channels only play commercials and recordings are the same (100% commercials).
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
Thanks again for all the support. The purpose of Cabernet is not like the other restreamers. I wanted something that could manipulate the stream and fix it for TVH. The issue is to identify want is needed. Cabernet already has ffmpeg piped in when enabled, so that is not an issue; it just cannot change the default arguments. I plan to adjust to what Sean provided manually and see what happens. If this works, I can provide a configration that allows for inputs to ffmpeg. Also, recording some of the previous show is causing lots of issues. It looks like each show has a different PTS, so it will be important to start after the beginning and end before it ends. I have been manually doing this in TVH and it works, so the plan is to update the EPG to adjust each episode by x seconds on both ends (configurable). That should cause TVH to do a stop record for a short and then a start on the next program.
Cabernet also uses ffprobe to log and adjust data streams manually when the PTS is not correct. I will take a look at the results and see what we need to do in this area.
Testing: DABL seems to be a problem child. Other channels like star trek don't seem to have the same issues. Recorded 2 episodes of "Lucky Dog" starting the episode 1 min in and ending 1 min short. It did play, but after the first commercial that was removed, the PTS jumped by the size of the commercial. This happened on both recordings. So, it looks like DABL assumes the commercial break is part of the main stream. Need more testing, but if you don't touch the skip buttons, it does play correctly. It will be interesting if some channels work like DABL while others just do an insert for the commercial.
Only thing left will be the ATSC errors. This will be on hold pending the other updates.
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
C Island... Check your Providers > PlutoTV > stream_type and make sure it is set to internalproxy. It sounds like you have ffmpegproxy enabled.
RE: Locast and PlutoTV interface (appliance) - Added by C Island over 3 years ago
I also get a lot of problems with CBSN. Channel 1021 CBS Bay Area News. When I disable URL filtering I only get commercials.
I have reenabled filtering and the stream is about 2 minutes delayed (which is what I also experienced with DABL). You can see this based on looking at the time shown in the bottom right corner of the CBS screen. I can also verify by comparing what Kodi/Tvheadend/cabernet is playing compared to what I see on a Windows PC looking at plutotv.tv
I don't know if this helps but here is a bit of my log when watching channel '2021 CBSN' live with URL filtering on.
2021-09-05 09:23:53,920-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044941.ts?m=1558539505 (6.006s) (1856124B) 2021-09-05 09:24:01,600-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/2701ac18-522a-40c2-a9bb-1bea358b0936:DLS/21021/0/1/a4bc9189b387b3211a934025ac2f8be5/4.ts from play queue 2021-09-05 09:24:01,601-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/2701ac18-522a-40c2-a9bb-1bea358b0936:DLS/21021/0/1/a4bc9189b387b3211a934025ac2f8be5/5.ts from play queue 2021-09-05 09:24:01,602-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044942.ts?m=1558539505 to play queue 2021-09-05 09:24:01,774-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/c21637a4-9334-4582-9957-c3c06709a0b2:DLS/21021/0/1/a4bc9189b387b3211a934025ac2f8be5/4.ts from play queue 2021-09-05 09:24:01,775-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/c21637a4-9334-4582-9957-c3c06709a0b2:DLS/21021/0/1/a4bc9189b387b3211a934025ac2f8be5/5.ts from play queue 2021-09-05 09:24:01,776-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044942.ts?m=1558539505 to play queue 2021-09-05 09:24:01,915-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:24:01,922-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044942.ts?m=1558539505 (6.006s) (1894664B) 2021-09-05 09:24:02,385-DEBUG:pts_validation First PTS=5891097589 Last PTS=5891635126 PTS SIZE=537537 DELTA PTS=77930853 Pkts Rcvd=180 2021-09-05 09:24:02,387-DEBUG:pts_validation Large delta PTS between reads. Refreshing Stream DELTA=77930853 2021-09-05 09:24:07,626-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/2701ac18-522a-40c2-a9bb-1bea358b0936:DLS/21021/0/2/a4bc9189b387b3211a934025ac2f8be5/0.ts from play queue 2021-09-05 09:24:07,627-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044943.ts?m=1558539505 to play queue 2021-09-05 09:24:08,041-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:24:08,052-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044943.ts?m=1558539505 (6.006s) (1989228B) 2021-09-05 09:24:08,607-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/c21637a4-9334-4582-9957-c3c06709a0b2:DLS/21021/0/1/a4bc9189b387b3211a934025ac2f8be5/6.ts from play queue 2021-09-05 09:24:08,608-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044943.ts?m=1558539505 to play queue 2021-09-05 09:24:09,352-DEBUG:pts_validation First PTS=5891638129 Last PTS=5892175666 PTS SIZE=537537 DELTA PTS=78471393 Pkts Rcvd=180 2021-09-05 09:24:09,353-DEBUG:pts_validation Large delta PTS between reads. Refreshing Stream DELTA=78471393 2021-09-05 09:24:09,554-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/c21637a4-9334-4582-9957-c3c06709a0b2:DLS/21021/0/1/a4bc9189b387b3211a934025ac2f8be5/7.ts from play queue 2021-09-05 09:24:09,554-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044944.ts?m=1558539505 to play queue 2021-09-05 09:24:09,637-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/2701ac18-522a-40c2-a9bb-1bea358b0936:DLS/21021/0/2/a4bc9189b387b3211a934025ac2f8be5/1.ts from play queue 2021-09-05 09:24:09,638-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044944.ts?m=1558539505 to play queue 2021-09-05 09:24:10,086-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:24:10,094-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044944.ts?m=1558539505 (6.006s) (1885828B) 2021-09-05 09:24:10,333-DEBUG:pts_validation First PTS=5892178669 Last PTS=5892719209 PTS SIZE=540540 DELTA PTS=79011933 Pkts Rcvd=180 2021-09-05 09:24:10,335-DEBUG:pts_validation Large delta PTS between reads. Refreshing Stream DELTA=79011933 2021-09-05 09:24:15,650-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/2701ac18-522a-40c2-a9bb-1bea358b0936:DLS/21021/0/2/a4bc9189b387b3211a934025ac2f8be5/2.ts from play queue 2021-09-05 09:24:15,651-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044945.ts?m=1558539505 to play queue 2021-09-05 09:24:16,215-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:24:16,220-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044945.ts?m=1558539505 (6.006s) (1841460B) 2021-09-05 09:24:16,454-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/c21637a4-9334-4582-9957-c3c06709a0b2:DLS/21021/0/1/a4bc9189b387b3211a934025ac2f8be5/8.ts from play queue 2021-09-05 09:24:16,455-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044945.ts?m=1558539505 to play queue 2021-09-05 09:24:17,182-DEBUG:pts_validation First PTS=5892719209 Last PTS=5893256746 PTS SIZE=537537 DELTA PTS=79552473 Pkts Rcvd=180 2021-09-05 09:24:17,183-DEBUG:pts_validation Large delta PTS between reads. Refreshing Stream DELTA=79552473 2021-09-05 09:24:25,413-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/c21637a4-9334-4582-9957-c3c06709a0b2:DLS/21021/0/1/a4bc9189b387b3211a934025ac2f8be5/9.ts from play queue 2021-09-05 09:24:25,415-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044946.ts?m=1558539505 to play queue 2021-09-05 09:24:25,709-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/2701ac18-522a-40c2-a9bb-1bea358b0936:DLS/21021/0/3/a4bc9189b387b3211a934025ac2f8be5/0.ts from play queue 2021-09-05 09:24:25,709-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044946.ts?m=1558539505 to play queue 2021-09-05 09:24:26,105-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:24:26,112-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044946.ts?m=1558539505 (6.006s) (1944860B) 2021-09-05 09:24:26,256-DEBUG:pts_validation First PTS=5893259749 Last PTS=5893797286 PTS SIZE=537537 DELTA PTS=80093013 Pkts Rcvd=180 2021-09-05 09:24:26,257-DEBUG:pts_validation Large delta PTS between reads. Refreshing Stream DELTA=80093013 2021-09-05 09:24:30,463-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/c21637a4-9334-4582-9957-c3c06709a0b2:DLS/21021/0/1/a4bc9189b387b3211a934025ac2f8be5/10.ts from play queue 2021-09-05 09:24:30,464-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/c21637a4-9334-4582-9957-c3c06709a0b2:DLS/21021/0/1/a4bc9189b387b3211a934025ac2f8be5/11.ts from play queue 2021-09-05 09:24:30,466-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044947.ts?m=1558539505 to play queue 2021-09-05 09:24:31,250-DEBUG:pts_validation First PTS=5893800289 Last PTS=5894337826 PTS SIZE=537537 DELTA PTS=80633553 Pkts Rcvd=180 2021-09-05 09:24:31,252-DEBUG:pts_validation Large delta PTS between reads. Refreshing Stream DELTA=80633553 2021-09-05 09:24:31,623-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/2701ac18-522a-40c2-a9bb-1bea358b0936:DLS/21021/0/3/a4bc9189b387b3211a934025ac2f8be5/1.ts from play queue 2021-09-05 09:24:31,624-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/2701ac18-522a-40c2-a9bb-1bea358b0936:DLS/21021/0/3/a4bc9189b387b3211a934025ac2f8be5/2.ts from play queue 2021-09-05 09:24:31,624-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044947.ts?m=1558539505 to play queue 2021-09-05 09:24:31,985-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:24:31,999-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044947.ts?m=1558539505 (6.006s) (1903500B) 2021-09-05 09:24:39,413-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/c21637a4-9334-4582-9957-c3c06709a0b2:DLS/21021/0/2/a4bc9189b387b3211a934025ac2f8be5/0.ts from play queue 2021-09-05 09:24:39,414-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044948.ts?m=1558539505 to play queue 2021-09-05 09:24:39,663-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/2701ac18-522a-40c2-a9bb-1bea358b0936:DLS/21021/0/4/a4bc9189b387b3211a934025ac2f8be5/0.ts from play queue 2021-09-05 09:24:39,663-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044948.ts?m=1558539505 to play queue 2021-09-05 09:24:40,054-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:24:40,063-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10044948.ts?m=1558539505 (6.006s) (1921172B) 2021-09-05 09:24:40,374-DEBUG:pts_validation First PTS=5894340829 Last PTS=5894881369 PTS SIZE=540540 DELTA PTS=81174093 Pkts Rcvd=180 2021-09-05 09:24:40,375-DEBUG:pts_validation Large delta PTS between reads. Refreshing Stream DELTA=81174093
RE: Locast and PlutoTV interface (appliance) - Added by C Island over 3 years ago
I do have Providers > PlutoTV > stream_type set to internalproxy
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
AWESOME LOG! takes for providing it. You have ffprobe enabled. Probably not doing what you want, so disable for now. you see these items:
2021-09-05 09:24:40,374-DEBUG:pts_validation First PTS=5894340829 Last PTS=5894881369 PTS SIZE=540540 DELTA PTS=81174093 Pkts Rcvd=180
2021-09-05 09:24:40,375-DEBUG:pts_validation Large delta PTS between reads. Refreshing Stream DELTA=81174093
That indicates that the stream is unstable and has streams from multiple sources containing different PTS. Our plan is to fix that, but for now, try the method of recording only inside the show and turning on filtering.
AND... disable ffprobe called "Enable PTS Filtering"
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
With "Enable PTS Filtering" enabled, you should see logs like
2021-09-05 11:39:26,748-DEBUG:atsc Missing ATSC Msg, found 4740001f0000b00d0001c100000001e1e02d5078
2021-09-05 11:39:26,754-INFO:internal_proxy Serving https://xxxx/dable4hd/master/dable4hd_5/18002/dable4hd_5_20210905T163820_5_00072.ts (6.0s) (3776732B)
2021-09-05 11:39:28,711-DEBUG:pts_validation First PTS=6217192696 Last PTS=6217729696 PTS SIZE=537000 DELTA PTS=3000 Pkts Rcvd=180
2021-09-05 11:39:28,712-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078
2021-09-05 11:39:28,716-INFO:internal_proxy Serving https://xxxx/dable4hd/master/dable4hd_5/18002/dable4hd_5_20210905T163826_5_00073.ts (6.0s) (2996720B)
2021-09-05 11:39:30,728-DEBUG:pts_validation First PTS=6217732696 Last PTS=6218269696 PTS SIZE=537000 DELTA PTS=3000 Pkts Rcvd=180
The DELTA should be very low, like 0 or 3000. 3000 is about the size of one packet in ATSC. Note per ATSC spec, 93000 is equal to 1 second of time, so 3000 is a tiny time slice.
RE: Locast and PlutoTV interface (appliance) - Added by C Island over 3 years ago
I had enabled PTS filtering about an hour ago and then turned it off because it didn't seem to help. Maybe I need to stop and start cabernet. I will do that.
What was interesting is even after I stopped playing the CBSN show on Kodi cabernet still kept serving up the stream
Here is some of my log after checking to ensure that PTS filter was disabled and restarting cabernet. I then started Kodi and live played '1021 CBSN' (BTW I am still getting about a 2 minute lag)
2021-09-05 09:36:34,202-INFO:main Cabernet is now online. 2021-09-05 09:36:34,396-INFO:scheduler Running inline task Channels:Refresh PlutoTV Channels 2021-09-05 09:36:34,398-DEBUG:channels Channel data still new for PlutoTV default, not refreshing 2021-09-05 09:36:34,649-INFO:scheduler Running threaded task Applications:Check for Updates 2021-09-05 09:36:34,676-INFO:scheduler Running threaded task EPG:Refresh Locast EPG 2021-09-05 09:36:34,677-DEBUG:scheduler Locast scheduled tasks ignored. plugin disabled 2021-09-05 09:36:34,716-INFO:scheduler Running threaded task EPG:Refresh PlutoTV EPG 2021-09-05 09:36:38,041-DEBUG:epg Refreshing EPG data for PlutoTV:default day 2021-09-05 2021-09-05 09:36:38,367-DEBUG:epg Refreshing EPG data for PlutoTV:default day 2021-09-06 2021-09-05 09:40:42,911-DEBUG:stream Using tuner: [PlutoTV][default] 2021-09-05 09:40:42,912-INFO:web_handler [10.8.8.7] "GET /PlutoTV/watch/5eb1afb21486df0007abc57c HTTP/1.1" 200 - 2021-09-05 09:40:42,914-INFO:channels PlutoTV: Getting station info for 5eb1afb21486df0007abc57c 2021-09-05 09:40:42,916-DEBUG:channels Determining best video stream for 5eb1afb21486df0007abc57c... 2021-09-05 09:40:49,121-DEBUG:channels Found 6 Playlists 2021-09-05 09:40:49,121-DEBUG:channels 5eb1afb21486df0007abc57c will use bandwidth at 3072960 bps 2021-09-05 09:40:49,122-DEBUG:internal_proxy M3U8: https://dai.google.com/linear/hls/pa/event/laLJwH1nS2KQAUQTF8z1Cg/stream/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/variant/a4bc9189b387b3211a934025ac2f8be5/bandwidth/3072960.m3u8 2021-09-05 09:40:49,333-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045095.ts?m=1558539505 to play queue 2021-09-05 09:40:49,334-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045096.ts?m=1558539505 to play queue 2021-09-05 09:40:49,335-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045097.ts?m=1558539505 to play queue 2021-09-05 09:40:49,336-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045098.ts?m=1558539505 to play queue 2021-09-05 09:40:49,336-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045099.ts?m=1558539505 to play queue 2021-09-05 09:40:49,337-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045100.ts?m=1558539505 to play queue 2021-09-05 09:40:49,337-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045101.ts?m=1558539505 to play queue 2021-09-05 09:40:49,337-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/0.ts to play queue 2021-09-05 09:40:49,338-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/1.ts to play queue 2021-09-05 09:40:49,338-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/2.ts to play queue 2021-09-05 09:40:49,339-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/3.ts to play queue 2021-09-05 09:40:49,339-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/4.ts to play queue 2021-09-05 09:40:49,340-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/5.ts to play queue 2021-09-05 09:40:49,340-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/0.ts to play queue 2021-09-05 09:40:49,341-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/1.ts to play queue 2021-09-05 09:40:49,342-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/2.ts to play queue 2021-09-05 09:40:49,342-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/3.ts to play queue 2021-09-05 09:40:49,343-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/4.ts to play queue 2021-09-05 09:40:49,344-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/5.ts to play queue 2021-09-05 09:40:49,850-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:40:49,860-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045095.ts?m=1558539505 (6.006s) (1864960B) 2021-09-05 09:40:51,499-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:40:51,506-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045096.ts?m=1558539505 (6.006s) (1912336B) 2021-09-05 09:40:53,304-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:40:53,314-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045097.ts?m=1558539505 (6.006s) (1850296B) 2021-09-05 09:40:55,087-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:40:55,093-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045098.ts?m=1558539505 (6.006s) (1850296B) 2021-09-05 09:40:56,927-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:40:56,936-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045099.ts?m=1558539505 (6.006s) (1962532B) 2021-09-05 09:40:58,720-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:40:58,731-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045100.ts?m=1558539505 (6.006s) (1885640B) 2021-09-05 09:41:00,508-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:41:00,526-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045101.ts?m=1558539505 (6.006s) (1855936B) 2021-09-05 09:41:02,139-DEBUG:internal_proxy Removed https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045095.ts?m=1558539505 from play queue 2021-09-05 09:41:02,140-DEBUG:internal_proxy Removed https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045096.ts?m=1558539505 from play queue 2021-09-05 09:41:02,141-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/2/a4bc9189b387b3211a934025ac2f8be5/0.ts to play queue 2021-09-05 09:41:02,141-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/2/a4bc9189b387b3211a934025ac2f8be5/1.ts to play queue 2021-09-05 09:41:08,346-DEBUG:internal_proxy Removed https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045097.ts?m=1558539505 from play queue 2021-09-05 09:41:08,350-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/2/a4bc9189b387b3211a934025ac2f8be5/2.ts to play queue 2021-09-05 09:41:08,356-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/3/a4bc9189b387b3211a934025ac2f8be5/0.ts to play queue 2021-09-05 09:41:12,577-DEBUG:internal_proxy Removed https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045098.ts?m=1558539505 from play queue 2021-09-05 09:41:12,578-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/3/a4bc9189b387b3211a934025ac2f8be5/1.ts to play queue 2021-09-05 09:41:20,865-DEBUG:internal_proxy Removed https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045099.ts?m=1558539505 from play queue 2021-09-05 09:41:20,866-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/3/a4bc9189b387b3211a934025ac2f8be5/2.ts to play queue 2021-09-05 09:41:25,066-DEBUG:internal_proxy Removed https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045100.ts?m=1558539505 from play queue 2021-09-05 09:41:25,067-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/4/a4bc9189b387b3211a934025ac2f8be5/0.ts to play queue 2021-09-05 09:41:31,200-DEBUG:internal_proxy Removed https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045101.ts?m=1558539505 from play queue 2021-09-05 09:41:31,201-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/4/a4bc9189b387b3211a934025ac2f8be5/1.ts to play queue 2021-09-05 09:41:39,416-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/0.ts from play queue 2021-09-05 09:41:39,416-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/1.ts from play queue 2021-09-05 09:41:39,417-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/2.ts from play queue 2021-09-05 09:41:39,417-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/4/a4bc9189b387b3211a934025ac2f8be5/2.ts to play queue 2021-09-05 09:41:39,417-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/4/a4bc9189b387b3211a934025ac2f8be5/3.ts to play queue 2021-09-05 09:41:39,418-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/4/a4bc9189b387b3211a934025ac2f8be5/4.ts to play queue 2021-09-05 09:41:51,665-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/3.ts from play queue 2021-09-05 09:41:51,666-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/4.ts from play queue 2021-09-05 09:41:51,667-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/4/a4bc9189b387b3211a934025ac2f8be5/5.ts?d=1100 to play queue 2021-09-05 09:41:51,668-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045122.ts?m=1558539505 to play queue 2021-09-05 09:41:51,669-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045123.ts?m=1558539505 to play queue 2021-09-05 09:41:52,018-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:41:52,024-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045122.ts?m=1558539505 (3.871s) (1217676B) 2021-09-05 09:41:53,193-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:41:53,198-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045123.ts?m=1558539505 (6.006s) (1891656B) 2021-09-05 09:41:58,878-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/0/a4bc9189b387b3211a934025ac2f8be5/5.ts from play queue 2021-09-05 09:41:58,879-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045124.ts?m=1558539505 to play queue 2021-09-05 09:41:59,220-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:41:59,228-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045124.ts?m=1558539505 (6.006s) (1939032B) 2021-09-05 09:42:04,918-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/0.ts from play queue 2021-09-05 09:42:04,919-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045125.ts?m=1558539505 to play queue 2021-09-05 09:42:05,285-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:42:05,291-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045125.ts?m=1558539505 (6.006s) (1894476B) 2021-09-05 09:42:10,937-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/8ea185f2-da46-4f81-b5f9-0184040c6b33:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/1.ts from play queue 2021-09-05 09:42:10,938-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045126.ts?m=1558539505 to play queue 2021-09-05 09:42:11,260-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:42:11,267-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045126.ts?m=1558539505 (6.006s) (1714184B) 2021-09-05 09:42:12,148-INFO:internal_proxy 2. Connection dropped by end device [Errno 104] Connection reset by peer 2021-09-05 09:42:12,149-INFO:web_tuner 1 Provider Connection Closed 2021-09-05 09:42:12,312-DEBUG:stream Using tuner: [PlutoTV][default] 2021-09-05 09:42:12,313-INFO:web_handler [10.8.8.7] "GET /PlutoTV/watch/5eb1afb21486df0007abc57c HTTP/1.1" 200 - 2021-09-05 09:42:12,314-INFO:channels PlutoTV: Getting station info for 5eb1afb21486df0007abc57c 2021-09-05 09:42:12,315-DEBUG:channels Determining best video stream for 5eb1afb21486df0007abc57c... 2021-09-05 09:42:14,308-DEBUG:channels Found 6 Playlists 2021-09-05 09:42:14,308-DEBUG:channels 5eb1afb21486df0007abc57c will use bandwidth at 3072960 bps 2021-09-05 09:42:14,309-DEBUG:internal_proxy M3U8: https://dai.google.com/linear/hls/pa/event/laLJwH1nS2KQAUQTF8z1Cg/stream/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/variant/a4bc9189b387b3211a934025ac2f8be5/bandwidth/3072960.m3u8 2021-09-05 09:42:14,516-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/2.ts to play queue 2021-09-05 09:42:14,517-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/3.ts to play queue 2021-09-05 09:42:14,519-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/4.ts to play queue 2021-09-05 09:42:14,520-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/5.ts to play queue 2021-09-05 09:42:14,521-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/6.ts to play queue 2021-09-05 09:42:14,523-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/7.ts to play queue 2021-09-05 09:42:14,524-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/8.ts to play queue 2021-09-05 09:42:14,525-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/9.ts to play queue 2021-09-05 09:42:14,527-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/10.ts to play queue 2021-09-05 09:42:14,528-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/11.ts to play queue 2021-09-05 09:42:14,529-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/2/a4bc9189b387b3211a934025ac2f8be5/0.ts to play queue 2021-09-05 09:42:14,531-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/2/a4bc9189b387b3211a934025ac2f8be5/1.ts to play queue 2021-09-05 09:42:14,532-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/2/a4bc9189b387b3211a934025ac2f8be5/2.ts to play queue 2021-09-05 09:42:14,533-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/2/a4bc9189b387b3211a934025ac2f8be5/3.ts to play queue 2021-09-05 09:42:14,534-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/2/a4bc9189b387b3211a934025ac2f8be5/4.ts to play queue 2021-09-05 09:42:14,535-DEBUG:internal_proxy Added https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/2/a4bc9189b387b3211a934025ac2f8be5/5.ts?d=1134 to play queue 2021-09-05 09:42:14,537-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045122.ts?m=1558539505 to play queue 2021-09-05 09:42:14,538-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045123.ts?m=1558539505 to play queue 2021-09-05 09:42:14,539-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045124.ts?m=1558539505 to play queue 2021-09-05 09:42:14,540-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045125.ts?m=1558539505 to play queue 2021-09-05 09:42:14,541-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045126.ts?m=1558539505 to play queue 2021-09-05 09:42:14,863-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:42:14,870-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045122.ts?m=1558539505 (3.871s) (1217676B) 2021-09-05 09:42:16,059-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:42:16,064-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045123.ts?m=1558539505 (6.006s) (1891656B) 2021-09-05 09:42:17,950-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:42:17,957-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045124.ts?m=1558539505 (6.006s) (1939032B) 2021-09-05 09:42:19,669-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:42:19,679-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045125.ts?m=1558539505 (6.006s) (1894476B) 2021-09-05 09:42:21,441-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:42:21,450-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045126.ts?m=1558539505 (6.006s) (1714184B) 2021-09-05 09:42:23,144-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/2.ts from play queue 2021-09-05 09:42:23,146-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/3.ts from play queue 2021-09-05 09:42:23,147-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/4.ts from play queue 2021-09-05 09:42:23,150-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045127.ts?m=1558539505 to play queue 2021-09-05 09:42:23,151-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045128.ts?m=1558539505 to play queue 2021-09-05 09:42:23,505-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:42:23,517-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045127.ts?m=1558539505 (6.006s) (2054088B) 2021-09-05 09:42:25,323-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:42:25,331-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045128.ts?m=1558539505 (6.006s) (1817584B) 2021-09-05 09:42:26,972-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/5.ts from play queue 2021-09-05 09:42:26,973-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045129.ts?m=1558539505 to play queue 2021-09-05 09:42:27,353-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:42:27,363-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045129.ts?m=1558539505 (6.006s) (1856124B) 2021-09-05 09:42:35,705-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/6.ts from play queue 2021-09-05 09:42:35,707-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045130.ts?m=1558539505 to play queue 2021-09-05 09:42:36,068-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078 2021-09-05 09:42:36,077-INFO:internal_proxy Serving https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045130.ts?m=1558539505 (6.006s) (1921172B) 2021-09-05 09:42:39,722-DEBUG:internal_proxy Removed https://dai.google.com/linear/pods/v1/p/laLJwH1nS2KQAUQTF8z1Cg/88498dd5-f3da-4c5a-ad53-f095ce4e1d73:DLS/21023/0/1/a4bc9189b387b3211a934025ac2f8be5/7.ts from play queue 2021-09-05 09:42:39,723-DEBUG:internal_proxy Added https://cbsn-sf.cbsnstream.cbsnews.com/live/master_2_10045131.ts?m=1558539505 to play queue 2021-09-05 09:42:40,052-DEBUG:atsc Missing ATSC Msg, found 474000100000b00d0001c100000001e1e02d5078
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
The stream continues until it receives a connect broken from the client (TVH). If Cabernet does not try to send a stream update to the client, Cabernet will not know the connection has terminated. Normally, if you terminate the channel during an ad, then Cabernet will continue to request a stream until after the ad ends and it starts sending new stream to the client.
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
For DABL testing: PTS validation shows the external ads are out of sync (PTS) with the main stream AND after the ads finish, the next PTS assumes the ads played and is now in the future (PTS says its 16200000 in the future or 2.9 minutes in the future.) In the past, figured I would need to handle this issue in the future, but I guess now is the future. We have 2 ways of handling this. Either add a dummy video stream into the mix to fill the opening with correct PTS data, or change ALL the PTS data in the video. Sean has a method for changing all of it, but has some drawbacks. Not sure which is easier. The main thing you will notice from this is the skip won't work correctly if the PTS is not corrected. If you do not touch it, it will play.
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
Not all channels have this issue. This Old House will start the PTS following the ads with the exact correct PTS as if the ads did not occur. In this case, the current version works.
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
My plan is two fold. First, the plan is to use ffmpeg to gen a blank (cyan color) screen for the dead space and merge it into the main stream. This will require ffmpeg and ffprobe. I was hoping that there was a way to not use ffmpeg, but for now, it will be needed. An example is below. This will make the 6 seconds of video after the blank screen not very clean, since this method requires re-encoding.
ffmpeg -i test.ts -filter_complex "tpad=start_duration=10:color=cyan;adelay=10000|10000" test2.ts
Once that is up and running, my plan is to update it to concatenate the original video with the blank video to give the 6 seconds of video its original quality.
it going to take a bit, but hope the first phase late tonight or early tomorrow.
I chose cyan to make sure you know it's working, but if you have a better one, let me know. (It may be a little bright) The colors are listed here.
https://ffmpeg.org/ffmpeg-utils.html#Color
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
Just a quick update. Not sure if the adding of blank video is going to work. I believe the PTS is not being added correctly to the additional video. Also found that if commercials are going when the recording starts, TVH will fail after 10 seconds and terminate the stream. I have asked a question in the forum on this topic, but this may be the way it is coded. When you play, it uses the stream configuration, but when you record it does not.
I also found a perl pluto-tvheadend that uses a ffmpeg command. Plan to try it out and see what happens. That github code is about 2 months old, so it should work.
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
Been working the pluto issue. The pluto-tvheadend pointed to streamlink python script which is a very nice app. I integrated it into cabernet and tested it out. It does work fairly smoothly, although I still need to record to see if the PTS is an issue. It also has the same issue if you turn to a station that is currently on commercials, TVH will stop playing/recording within about 10 seconds. If it does not hit a commercial at the start, then all is good and it does record. Will run some more tests, but all the apps so far have this limitation.
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
This is the first of two fixes for plutotv. The first patch fixes
- Fixed when starting a channel and the channel is running ads, it no longer terminates playback.
- When terminating playback during ads, it will terminate the connection within 6 seconds
- Also adds a feature to trim the front and back of a EPG program found in the PlutoTV Instance. It is set to a minute short on either side by default. Ex: program would start at 12:01 and end at 12:59. The reason for this is TVH does not allow for a negative adjustment to the program recording. You can always either change the config setting or add 1 min in TVH.
The second fix will address the PTS issues, on some channels, where the skip forward and backwards does not work correctly.
Installation:
If you have the auto-update, it will update and patch the version for you. If you want to do it manually, then the channels.db file can be removed to have it regenerated. Auto-update will maintain any edits you have in the channels.db file.
For PlutoTV config:
Stream-type: Internalproxy
Enable URL Filtering: checked
Enable PTS Filtering: unchecked
Once installed, Cabernet will need ATSC msgs from each of the plutotv channels. The fastest way to do this is to do a "Force Scan" on the Network. Note: I determined the "Maximum timeout" on Networks is the time it sits there before validating a forced scan channel. If you put it at 240 or higher, it will work mostly since commercials should not be present for that long, BUT it will take 240 seconds per channel to get through the forced scan (taking forever). I found setting the timeout to 15-20 seconds works much faster, but about 1/3 of the channels will fail due to running a commercial. Just retry the failed ones. The only channel that did not work is 62 Movies on Verizon, which I set to IGNORE.
RE: Locast and PlutoTV interface (appliance) - Added by Sean Micklem over 3 years ago
Well this has been edited a bunch of times as I have worked through various things. It started when I looked to see if it had auto-updated yet, and saw that it hadn't, so I went to Scheduled Tasks, Check for Updates and clicked the arrow button to cause it to update. After it finished then at the page that shows the current version there was a button to click in order to perform the upgrade, which I did. And then the GUI stopped working altogether. Turned out that it had deleted my config.ini and had not restored it. It was stored in the most recent Current Backups directory, it just didn't get automatically copied back after the update. So I copied that back and then it started working, sort of. The problem then was that I could no longer get a channels.m3u or a xmltv.xml file from the server, it kept saying the connection had been reset. Reverting to the previous version fixed that. So then I tried a manual upgrade to version 0.9.2.1 and the same thing happened:
The connection was reset
The connection to the server was reset while the page was loading.
I did not remove my channels.db file after either the automatic or the manual update because I did not want to risk losing my channel updates, and I wasn't sure whether you are supposed to do that after just upgrading. Same with the forced rescan thing, I already had all the PlutoTV channels scanned in, but then that probably would not have worked anyway if Tvheadend could not pull a channel list.
To make a long story short, I figured out that the problem was that the new version did not like my old channels.db file, so in order to get the new version to work I started over from scratch, only copying over my config.ini file, and then letting it rebuild the channel list after which I had to go back through and manually exclude the channels I don't want. It appears that I do not need to do a forced rescan, it seems Tvheadend still finds the channels that were previously scanned in.
If I try to watch a channel live in VLC it works fine. Kodi, for some reason, seems to think channels are audio-only channels the first time you tune to them, but if I stop playing the channel and then immediately restart playing the same channel in Kodi then it shows the video. This has not been a problem with recordings; Kodi always sees them as videos. But I still couldn't move around within recordings; if I attempted to skip forward or backward it went back to the beginning. I tried checking the "Enable PTS Filtering" box and then searching worked, but I get the feeling that maybe you are still working on that?
And going back to Kodi, there was one other strange thing, for some reason if I tried to schedule a recording on a PlutoTV channel from Kodi's guide it did not work. It said, "Error Could not save this timer. Check the log for more information about this message." This only happened on PlutoTV channels, not from the over-the-air channels that are on the same backend - I could set a timer for any of them just fine. The Kodi log just said, "ERROR: AddOnLog: Tvheadend HDHR HTSP Client: pvr.hts - Command addDvrEntry failed: User does not have access" - but obviously I do have access, otherwise I could not set recordings on any channel. I thought this had just started with this new version but then I tried dropping back to the previous one and saw the same thing. Clearing the guide data in Kodi was what fixed that issue.
Overall it seems to be working a lot better than it was, at least in terms of the streams not breaking up like they were before. I can definitely see an improvement there.
I see the XUMO tab is in this version but it doesn't seem to do anything yet, unless I am missing something. I did try creating an instance for XUMO but it didn't pull in any channels so I'm guessing that's still to come.
Anyway, thanks for the update!
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
I also saw a few quirks in Kodi. The 2 minute default time hole between programs shows up as a "..." in Kodi guide, if the program ended at the top of the hour. If it ended at a strange time, the "..." was not there. Also noticed a few channels this morning (like Star Trek) were "No information available". I checked TVH and it was populated with data, so my nose says there may be a special character that is present in the EPG, but have not tracked it down. It may also be related to your Kodi recording permission issue. So when you have the error, make sure to document as much of the info as possible on the program event. I have been recording multiple channels at once, most of the day, with no issue.
The update to the channels.db was to add a column called 'atsc' to hold the ATS msg for each channel. As of 0.9.2.1, it will check to see if the upgrade occurred each time you do a restart from the scheduler. So, you could check by moving the old channels.db file into place and doing a "Restart" from the scheduler. If it does not update, then it will throw an exception when you try to play a channel.
I will take a look at the config.ini file issue you found. I have mine in the data directory and that worked, so you must have it in the top level. (fixed in latest version)
The forced scan causes the ATSC column in the columns.db to populate. If you don't do this, it will happen when you change to that channel UNLESS it is on commercial. If that occurs, then TVH will timeout and not play the channel. With the ATSC column populated for the channel, then TVH will be happy to wait for the channel to start.
Going forward and back is not working on those channels that do a skip time during a commercial break. Most of the live channels and normal channels (like NEWS and DABL) do that. Most of the recorded programs do not. (Most of the recordings today across many channels had no issues) Yes, I am working on the skip issue next. I have recorded Star Trek successfully with skipping working. To make this work for now, you need to record within the program window so none of the recording is before or after the program.
Explanation of why you must record within the time window: Many of the programs are pre-recorded and played like the old video on demand where it is on a scheduled channel. Each program has its own PTS timestamps so one may play as if its at 3:00am while the next show will play as if it 4:00pm. Due to the varying timestamps (that my next fix may resolve) it is current not good to record past the end of a show or start early. I have a separate recording profile I use for plutotv that has the padding set to zero.
XUMO is not ready for prime time. I have it disabled (although you can enable it in the conf area). The channels list and the EPG are to some degree working. With PlutoTV being such a mess, I have put it on hold until I get PlutoTV working well. Recommend leaving it disabled for now. XUMO provides a 24 hour EPG that starts at midnight UTC.
Research on PTS/DTS shows I will need to update the PES ids E0 and C0 [from ISO/IEC 13818-1 Table 2-22]. They contain the following attributes: (pts, pts_time, dts, dts_time, pos) All of these will need to be updated to correct the video and audio stream without impacting the video itself.
RE: Locast and PlutoTV interface (appliance) - Added by Sean Micklem over 3 years ago
I did the forced scan, so that should be good. I also let it update to the new version and once again it did not copy in my config.ini, but I have a suspicion that I know why. When Locast went away and you released the new version with Pluto support, I created a new directory called cabernet (rather than locast). So if you have the path hardcoded to include the word "locast", that's why it's not putting it back. Specifically, my path to config.ini is ~/cabernet/config.ini. If I look in the Paths tab it shows all the paths correctly, including the root path, so if that's not the issue then I am not sure why it's not being restored. The only other thing I remember changing to cabernet is the name of the service (so to restart the program I use "sudo systemctl restart cabernet.service"). I can change those back if they are a problem but I just thought it made more sense to use the actual program name rather than the name of a service that has shut down (I hope not forever, but still, for the time being it's not relevant to what your program is being used for).
After copying over the config.ini everything appears to be working as it should, although I just installed the new version so haven't had time to do any extensive testing.
I will just point out that having a separate recording profile only works if you are scheduling a recording using Tvheadend's web interface. If you schedule a recording from Kodi's guide then it always uses the default profile, and as far as I can tell there is no way to change that. I have one user in particular that can schedule programs using Kodi's guide, but who probably has no idea the Tvheadend web interface even exists, and at her age that's not something I really want to have to try to explain to her. But I understand that's a Kodi issue or maybe a Tvheadend issue, not something you can do anything about. Kodi and Tvheadend working together reminds me of the old saying about the dancing bear (you don't critique how well the bear dances; instead you marvel that the bear dances at all!).
Thanks again for all the hard work you have put into this!
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
The config.ini is suppose to not be touched as part of the upgrade. There is no hardcoding. It takes the config.ini location from the paths config tab. There is a chicken and egg thing that goes on with upgrades. Any change I make associated with upgrades does not get implemented until after the upgrade... I made the changes, but the upgrade will run against the older version. I can add patch changes that will run after the install, like restoring the config.ini, just forgot to do that. Probably why you saw it delete, again. Should be good on the next upgrade.
I have not changed my services, so mine still say locast, but that should not cause any issue. Just make sure it is pointing to the correct script.
Yep, I have no current work around for the 2 recording profiles. Only other thought is to use a profile with 0 padding and every time I record a non-plutotv channel to update the padding. Since my wife currently does not use the plutotv, my thought is to make it nice and default for her and give me the pain. That was the reason for the 2 profiles. The limitation is with pvr.hts.
RE: Locast and PlutoTV interface (appliance) - Added by Sean Micklem over 3 years ago
Right, I had forgotten that it would take one upgrade to apply the fix. Anyway, I tried recording a couple of things last night and started to watch one of them and it was playing perfectly, not a single glitch that I could see, UNTIL my internet connection went out (and stayed out for about four hours, as best I can tell). But the part that I had recorded (a bit over an hour in real time) looked perfect!
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
you know... my internet also went out yesterday...
Oh, I thought of a good work around for the profiles in TVH. Under PlutoTV Instance > EPG, there is a config for "Time Adjustments". It is set to 60 and -60, but if you change it to your settings plus one minute, that would work! EX: lets say you have the profile set to 0 padding to start and +3 minutes padding to end. Then you could set the adjustment to Start: 60 and End: -240. This would cause the recording to start 1 min late and end 1 min early.
RE: Locast and PlutoTV interface (appliance) - Added by G Kazaroth over 3 years ago
How does PTS Filtering work? It determines the PTS of the main show being recorded and anything out of scope (too large or too small) is removed. On normal stations, the PTS continues to grow all day and resets at midnight. So, recording a show early is not an issue since the PTS just keeps going as if all shows are tied together. HOWEVER, these streaming services do things differently. The PTS changes for each show, in many cases. (DABL may not be that way since it is an actual station). The PTS Filter still needs to understand what PTS is for the real show. If you start the show early, then the PTS will think the previous show is the real PTS and when the new show starts, it will think the show should be removed. To keep this from happening, it will be important not to start recording until after the show starts.
Nice part about PTS Filtering, is that, it would remove the problem at the end of the show when the next show starts. It would see the change in PTS and remove the stream from the recording. This should make the end of the program clean.
So, to sum up... PTS Filtering only works when it can determine the PTS for the real show at the start. Using PTS Filtering can be a good way to remove the problem issues at the end of the show, when the PTS changes.
What are the config parameters? PTS Minimum is used to detect most commercials. (Although the URL Filter can do this too.) A value of 5,000,000 is about 54 seconds from midnight. A value of 50,000,000 is about 538 seconds or almost 9 minutes. To calculate the PTS from midnight in seconds, just divide it by 93,000. Many commercials start at or near a PTS of 0, so a value of 5 to 50 million will remove most commercials, but leave the show untouched since shows rarely start at zero PTS. The PTS Max Delta is used to remove non-zero PTS commercials and the next show, if it is not on the same PTS stream. Streams are mostly in 6 second increments. If the PTS changes significantly between increments (like 10 minutes), then it is not part of the normal stream and is deleted. Again the value can be translated into seconds by dividing by 93,000. Normal deltas are anywhere from 0PTS to 10000PTS, which are much less than a second.