Project

General

Profile

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: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by C Island 11 months ago

I did some more testing. Not all shows have this problem. Also it doesn't happen at the beginning of a recording. It seems that once you get past a certain point in the recording then doing a pause or fast forward breaks things and the vido stops and goes back to the Kodi main menu.

It also doesn't seem to happen on all recodings.

on 1/18/24 I recorded "Escape to the Country" via DaddyLive on the CBC channel and it has a problem.
on 1/17/24 I recorded "The Amityville Haunting" via PlutoTV on the "The Asylum" channel and it has a problem.
on 1/14/24 I recorded "Escape to the Country" via DaddyLive on the "BBC 1 UK" channel and it is OK.
on 1/11/24 I recorded "Escape to the Country" via DaddyLive on the CBC channel and it has a problem.
on 1/5/24 I recorded "Escape to the Country" via DaddyLive on the "BBC 1 UK" channel and it is has a problem.
on 1/5/24 I recorded "Escape to the Country" via DaddyLive on the "BBC 1 UK" channel and it is OK.
on 1/5/24 I recorded "Escape to the Country" via DaddyLive on the CBC channel and it is OK.

P.S. I opened an issue on github. Would you prefer to use github or this forum for this?

I suspect that at some point some bad data gets recorded and after that point PAUSE and FF are messed up.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Dan Schmidt 11 months ago

I use Pluto too. Could be errors in the ts due to my lousy ISP. Haven't had any luck with post processing script that writes over the original. (Which I would like so that it retains the info and I can manage it like the rest of my recordings) If anybody knows a way, please drop a link, thkx.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by C Island 11 months ago

I was going to look at this reply to a post by "K Shea" to help me do postprocessing in tvheadend. It is a bit old (7 years) but I figured would give it a go later today.

https://tvheadend.org/boards/4/topics/23915?r=23940#message-23940

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by G Kazaroth 11 months ago

For Pluto, it works only if the URL filter is on and correctly set. Also, if you are having any kind of connection issues, that too can cause problems. To see any connection issues, I use the command:
cat /var/log/syslog | egrep "Multiple HTTP"
This will mostly show segments that were dropped, causing issues. If a segment is dropped that is needed, then you can get issues with fast forward and rewind. I found that stopping and starting the movie from that point tends to clean up the issue, if it is dropped segments.

For the URL filter, you can see where the problem starts to occur and then look in the log for
cat /var/log/syslog | egrep "Serving"
Assuming that the filters are only filtering the bad segments, this would then show the good segments. If you find a segment that is different than all the other segments, it is probably the issue and needs to be filtered out. It is always possible that pluto changes their ad links and the filter may need to be updated. Many times it is channel specific, so giving a specific example would be good.

NOTE: "Multiple HTTP" requires NOTICE level logging, while "Serving" requires INFO level logging to see it.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Dan Schmidt 11 months ago

I don't get any commercials.... (Disables dnsmasq blocklist) Blimey, I've got commercials now! Funny I should suddenly start having this problem now when I didn't before.

Anybody ever tried comskip on Pluto?

As for postprocessing, admittedly, I did not actually try very hard. ffmpeg copy the ts then copy/overwrite back (same format) appears to work fine. That'd be an easy fix.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by john tocher 11 months ago

Comskip is my latest thing. Comcut actually. Still working it out but having some success. Not with Pluto TV though. Can never seem to get that working well.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Dan Schmidt 11 months ago

I disabled my dns blocking and also disabled the URL filter.

root@tvheadend:~# cat /var/log/syslog | egrep "Multiple HTTP" 
root@tvheadend:~# 
root@tvheadend:~# cat /var/log/syslog | egrep "Serving" 
root@tvheadend:~# 

I appear to have no errors, I DO have commercials now, but I can't fast forward the show that I just recorded. Baffled - can't figure out what changed.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by K Shea 10 months ago

Don't know if everyone saw but apparently this forum is about to be replaced and all the old content will not be moved over...

https://tvheadend.org/boards/10/topics/51380?r=51382

I wish there were some easy way to archive this thread, or at least the parts that are still relevant. Or to make sure that it gets migrated to the new forum, but I would not count on that.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Flole Systems 10 months ago

If there's relevant information you should collect it and then it can be posted on the new forum. The old Forum will still be available after the launch of the new one, so there is plenty of time to collect whatever seems relevant and copy it over.

(951-960/960)