Project

General

Profile

DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance)

Added by G Kazaroth almost 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 john tocher over 1 year ago

lol. to do that I would have to understand what is going on. I don't. Appreciate cabernet. I will just do m3u via other means for now. Thanks.

RE: RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by R W over 1 year ago

G Kazaroth is it possible to use the epg files from the newer update on an older update?

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

According to the change log, the EPG database changed in version 0.9.11.x and has not changed since, so the linked files should be cross compatible. They would not be compatible with 0.9.10.x. Versions 0.9.12 had changes to the way the database was provided to the client. The client setting "Use Channel # for Channel ID" significantly improved the correlation issues with Plex, Emby and JellyFin and the what Plex displayed as the channel number in the guide.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by R W over 1 year ago

G Kazaroth wrote:

According to the change log, the EPG database changed in version 0.9.11.x and has not changed since, so the linked files should be cross compatible. They would not be compatible with 0.9.10.x. Versions 0.9.12 had changes to the way the database was provided to the client. The client setting "Use Channel # for Channel ID" significantly improved the correlation issues with Plex, Emby and JellyFin and the what Plex displayed as the channel number in the guide.

I changed that setting on Cabernet but I am still getting the Unknown Airing error. But when I add the tuner to Plex and it scans the channels it matches the channels right.

ALso, I'm not seeing in the logs the amount of days of it pulled from the EPG.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by R W over 1 year ago

This is the log from Plex when I add the tuner and download the EPG data:

Apr 17, 2023 23:56:50.155 [0x7f83b57cbb38] DEBUG - [Req#11d1ee] DVR:Device: Device was alive, refreshed device://tv.plex.grabbers.hdhomerun/1050F2CF.
Apr 17, 2023 23:56:50.155 [0x7f83b57cbb38] DEBUG - [Req#11d1ee] DVR:Device: Testing grabber HDHomerun device device://tv.plex.grabbers.hdhomerun/1058EA0F at http://192.168.69.111:6077
Apr 17, 2023 23:56:50.155 [0x7f83b57cbb38] DEBUG - [Req#11d1ee] DVR:Device: Device device://tv.plex.grabbers.hdhomerun/1058EA0F was already known, refreshing database info
Apr 17, 2023 23:56:50.155 [0x7f83b57cbb38] DEBUG - [Req#11d1ee/HCl#99f1] HTTP requesting GET http://192.168.69.111:6077/discover.json
Apr 17, 2023 23:56:50.157 [0x7f83c791eb38] DEBUG - [HttpClient/HCl#99f1] HTTP/1.0 (0.0s) 200 response from GET http://192.168.69.111:6077/discover.json
Apr 17, 2023 23:56:50.158 [0x7f83b57cbb38] DEBUG - [Req#11d1ee/HCl#99f2] HTTP requesting GET http://192.168.69.111:6077/lineup_status.json
Apr 17, 2023 23:56:50.160 [0x7f83c791eb38] DEBUG - [HttpClient/HCl#99f2] HTTP/1.0 (0.0s) 200 response from GET http://192.168.69.111:6077/lineup_status.json
Apr 17, 2023 23:56:51.880 [0x7f83c999ab38] VERBOSE - We didn't receive any data from 192.168.69.4:55530 in time, dropping connection.
Apr 17, 2023 23:56:51.882 [0x7f83c9b9db38] VERBOSE - Didn't receive a request from 192.168.69.4:55530: End of file

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

Well, that has very little info. It has nothing to do with the download of the EPG data and only has to do with Plex detection of the tuner. It really makes no sense to have this data on this forum, so if you really want to resolve this, you need to write an issue in Cabernet and submit a DEBUG log from startup through the successful execution of the EPG scheduled event.

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

0.9.12.14
0.9.12 expected updates are complete. Plan to start work on 0.9.13 next week. Daddylive really tested Cabernet with Connection Refuse and HTTP 500 error codes, but it has made Cabernet more stable. These changes are all in the internalproxy area. Enjoy!

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Vic K over 1 year ago

works with cabernet-0.9.12.14 ubuntu 22.04

Not sure if this will work on windows or not.

This will get your 486 channels and it will not break channel update or software upgrade features or any other features. EPG should be 4 or less as the added channels epg cause a bug and epg fails.
Software updates will more then likely break the added channels and you might have to do these steps again and possibly need a new version of my udpated files.

1. stop cabernet (must be stopped)
2. copy list.index to ~/plugins_ext/provider_video_daddylive/resources/list.index
3. overwrite channel_list.json to ~/plugins_ext/provider_video_daddylive/resources/channel_list.json
4. overwrite channels.py ~/plugins_ext/provider_video_daddylive/lib/channels.py
5. adjust your config.ini to have epg of 4 or less (if you never configured epg in ui then its default to 2 so no need to do this step)
5. start cabernet
6. If you dont see additiona channels after the steps above it could be due to last refresh of channels being too recent. you can either wait till channel scan happens again or try to initiate it via gui Schedule_task optoin. If you not patient and want it instantly then go to /data/db/channels.db and delete it and restart cabernet.

if you update to new version this might not work but you can try by doing steps above. For example my last mod stopped working after cabernet moved plugins from plugins folder to plugins_ext folder

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by anders suarz over 1 year ago

you guys run cabernet on jellyfin? just curious if epg runs well there.

i can play channels.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Martin Runneals over 1 year ago

anders suarz wrote:

you guys run cabernet on jellyfin? just curious if epg runs well there.

i can play channels.

The guide is working well for DaddyLive. I need to make adjustments to the Pluto EPG refresh intervals..
I did notice for Pluto channels it will go to black for a commercial break and stay black unless I restart the channel. need to figure that out. otherwise it works great with Jellyfin .

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Hardcore Jax over 1 year ago

hi! Can this program be used with any streaming tv service ?
I can watch live tv from https://www.allente.se/ with my web browser after i login with [email protected] and mypassword
If i press play on a channel and copy the path it looks like this: https://tv.allente.se/channels/5470/tv/asset/live/4091441/svt1-hd
So will this app handle the login like chrome if i put the channel links in a m3u or do i need a plugin to do that ?

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

It can provide streaming for any non-DRM based ATSC 1.0 stream (which is almost everything). The M3U plugin does not support authentication unless it is part of the URL (as in https://username:pwd@url/...). The plugin design does support any type of authentication, so you would need to create your own plugin for the type of authentication used. There is currently no support for creating plugins.

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

Cabernet 0.9.13.00-RC1
This is a Release Candidate containing the mux capability to connect multiple clients to a single provider stream. It has no effect on VOD-based channels. Clients tend to believe that streams should be continuous and will cause a restart of the stream, if no data flows for 10 seconds. This reset causes a déjà vu event that backs up the last few seconds and replays them. This version tries to keep that from happening and helps to maintain the current good connection, by not doing the restart requested, but instead, continuing to provide the stream from the provider to the client streams that are available. This has increased the stability of daddylive plugin and removed the déjà vu event.

I have upgraded my server and it worked without issue. Further testing is needed to verify nothing new has been broken. The biggest issue found and resolved was defunct processes when stopping the streams.

The main page has been updated and now shows the number of clients connected to the provider stream. For VOD streams, two tuners are used for two streams from the same channel while one tuner is used when the same non-VOD channel is streamed (The number of clients will show 2).

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Vic K over 1 year ago

I have to say daddly live is 99.99% stable with rc4

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

M3U Plugin 0.1.8 Adds #EXT-X-SESSION-DATA tag to the m3u file for adding HTTP header session data
This should allow the request by @Hardcore Jax to use the m3u plugin with authentication.
What I found is that many M3U sites used Referer HTTP header tags to restrict access. You can use the new tag to add a Referer like:

#EXT-X-SESSION-DATA:DATA-ID='HEADER',VALUE='{"Referer": "https://abc.net"}'

You can add as many tags into the header as needed, like adding cookies or Origin:
#EXT-X-SESSION-DATA:DATA-ID='HEADER',VALUE='{"Referer": "https://abc.net", "Origin": "https://abc.net", "Cookie": "name1=value1; name2=value2"}'

The Cabernet will send the header each time it requests the stream or m3u8 files for the instance. So, if you logged into the provider server and then looked up the session cookies in your browser, those cookies can be added to the top of the m3u file (after #EXTM3U line) and Cabernet would then be able to provide the session keys to access files. When added correctly to the m3u file, the Cabernet log will include the line
DEBUG:channels Using Header Session Data {...}

RE: RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by R W over 1 year ago

Has anyone been able to get it to work with any of the Nvidia Shield Pro tvheadend apps? I was able to get one app to read the m3u file but won't show the epg info and won't play the channels. I will try again tomorrow but was wondering if anyone has done it.

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

TVHeadend is a server application. You need a client like kodi to view channels and epg data.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by R W over 1 year ago

john tocher wrote:

TVHeadend is a server application. You need a client like kodi to view channels and epg data.

I tried with different DVR,TVHeadend,HDHomerun,etc apps but haven't tried Kodi. I'll try it and update soon.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Mark de Leon over 1 year ago

Excuse me if this is a stupid post but I have looked for documentation and found none. I read through MUCH (But not all) of this thirty some page thread and still do not find docs nor the answer to my q1uesdtion

Question
How do I activate Daddylive?

I have activated it in plugins (or is it addons?), as well as m3u and TV guide, then restarted ..
I then go to Stream Sources, and activated it but upon further restarts shows as inactive

I have the following in the ini file

[daddylive]
hdhr_id = 105411DA
enabled = True
player-tuner_count = 4
epg-plugin = ALL

It never shows active in GUI and no channels are displayed regardless of restarts

Thanks for any help

Please point me to any docs.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Mark de Leon over 1 year ago

yea I do not think that is even the same problem I am having. That user had a somehow botched inI file. What do I need to make it clean and working?

I have installed the plugins; daddy live , TV Guide and m3u.
They appear in the .ini

[m3u]
hdhr_id = 105C04B6
enabled = True
player-tuner_count = 4

[daddylive]
hdhr_id = 105411DA
enabled = True
player-tuner_count = 4
epg-plugin = ALL

[tvguide]
enabled = True

Plugins show as enabled in the INI but not in the GUI

If there is something to be edited , it would be nice to see what needs to be edited and where , but I think the plugin generates the entries in the INI so I assume it is all good.

I see that user has other entries in there but it is hard to extrapolate what might be extraneous.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Martin Runneals over 1 year ago

Mark de Leon wrote:

yea I do not think that is even the same problem I am having. That user had a somehow botched inI file. What do I need to make it clean and working?

I have installed the plugins; daddy live , TV Guide and m3u.
They appear in the .ini

[m3u]
hdhr_id = 105C04B6
enabled = True
player-tuner_count = 4

[daddylive]
hdhr_id = 105411DA
enabled = True
player-tuner_count = 4
epg-plugin = ALL

[tvguide]
enabled = True

Plugins show as enabled in the INI but not in the GUI

If there is something to be edited , it would be nice to see what needs to be edited and where , but I think the plugin generates the entries in the INI so I assume it is all good.

I see that user has other entries in there but it is hard to extrapolate what might be extraneou

I think you also need the instance sections:

[daddylive_default]
label = daddylive Instance
enabled = True

[m3u_default]
label = m3u Instance
enabled = False

[tvguide_default]
label = TVGuide Instance
enabled = True

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

Have been experimenting. Trying to get the FAST IPTV channels into Tvheadend so as to play without locking up when they hit a commercial.

Have had some success and thought I should mention it.

I set all m3u sources to stream_type m3u8redirect
and turn off any other filter (which I would guess do not make any difference in the case of m3u8redirect).

then downloading the playlist for just the m3u section:

wget http://idaddress:6077/M3U/channel.m3u

and process it with this sed command:

sed -i "s|^http|pipe:///usr/bin/env streamlink --stdout --default-stream 2100k,2142k,576p,540p,504p,720p,480p,432p,404p,360p,288p,216p,best --url http|" channels.m3u

then using the resulting file as input for IPTV Automatic Network on Tvheadend.

Some channels work better than others but most work better than any other way I have tried.

RE: DaddyLive, PlutoTV, XUMO, M3U/XMLTV, SamsungTV, Plex, TVGuide interfaces (appliance) - Added by Mark de Leon over 1 year ago

Martion that works just fine and thank you for that!

Now I seem to have a problem with Guide data .

It is saying that the egg is not running neither for DaddyLive or my m3u list.

both EPGs say Last Run: Never

I made a daily schedule for my m3u list and it is not running either. I have also restarted to see if they would run at startup but do not

note -instance: None shows for Daddylive instance : Default shows for m3u

The manual start and trash buttons run or delete a task are also not working.

UPDATE
The EPG did finally run and sometimes I can start it manually. It is not however running as a scheduled task.

(826-850/960)