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 Vic K over 1 year ago

Remember this fix requires no change to schedule of any kind. All setting should work normally for all plugins

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

Vic K wrote:

works with cabernet-0.9.11.05 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
2. copy list.index to ~/plugins/provider_video_daddylive/resources/list.index
3. overwrite config_defn.json to ~/plugins/provider_video_daddylive/resources/config_def.json
4. overwrite channels.py ~/plugins/provider_video_daddylive/lib/channels.py
5. adjust your config.ini to have epg of 4 or less
5. start cabernet

its missing on your files this one?
config_def.json

i dont see in attached ones

thanks again

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

anders suarz wrote:

Vic K wrote:

works with cabernet-0.9.11.05 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
2. copy list.index to ~/plugins/provider_video_daddylive/resources/list.index
3. overwrite config_defn.json to ~/plugins/provider_video_daddylive/resources/config_def.json
4. overwrite channels.py ~/plugins/provider_video_daddylive/lib/channels.py
5. adjust your config.ini to have epg of 4 or less
5. start cabernet

its missing on your files this one?
config_def.json

i dont see in attached ones

thanks again

Channel_list.jason

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

cabernet-0.9.11.05 is really working great for me on Windows 11 even with the 486 channels db. So thanks a lot for the awesome work! I still have to try the update hack though, will do that later this weekend.

I do have one tiny issue though that I don't seem to be able to fix: The daddylive-streams start with a delay of about 5 to 10 seconds, sometimes even longer.
I am using the internalproxy, it is the same thing with streamlinkproxy and ffmpegproxy. m3u8redirect doesn't work for me with daddylive. It does work with my own m3u without any delay but unfortunately not with daddylive.
Is there anything I can do in my setup that makes the streams on daddylive start faster?

thx

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

The fastest stream type is m3u8redirect, but daddylive requires a unique HTTP header, which I am not sure how a m3u file contains that info. Are you saying your m3u file you have works with daddylive or does not? If your m3u file does work with daddylive, I would be interested in the format that allowed the HTTP header info to be sent to the client. If not, then, yes it will be slower due to the overhead of the daddylive interface requirements. Other plugins, which do not require unique headers, do work with m3u8redirect. The m3u8redirect basically sends the m3u file to the client to connect directly with the provider. It does the same thing as a m3u file, but dynamically.

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

anders suarz wrote:

R W wrote:

After another fresh install now all of a sudden everything is working. No idea what was the issue and no idea why it didnt get fixed after the other fresh installs.

Maybe permissions?

I see some files from root on mine
That can give issues

Must be but when I checked previously seemed to me like the permissions were right. At least I got it working so I'm happy.

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

Vic K wrote:

anders suarz wrote:

Vic K wrote:

works with cabernet-0.9.11.05 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
2. copy list.index to ~/plugins/provider_video_daddylive/resources/list.index
3. overwrite config_defn.json to ~/plugins/provider_video_daddylive/resources/config_def.json
4. overwrite channels.py ~/plugins/provider_video_daddylive/lib/channels.py
5. adjust your config.ini to have epg of 4 or less
5. start cabernet

its missing on your files this one?
config_def.json

i dont see in attached ones

thanks again

Channel_list.jason

ok then rename Channel list.jason to config_def.json

and replace it there.

gotcha thanks but both files looks lot different inside im goint to try

idk but i replace all three files still no get 486. just 306 , with db file yes

there its a thing can be done idk suggestion, for example with daddylive, where you place groups,
example
usa or ita,

instead do one by one , can just select channels by a cell and in one cell places the group name ,

idk its worth it, or how you do it ? i do manually one by one , or that can be edited on any file from the folder program?

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

For a start, try Settings > DL Instance > Import Channel Groups (checkbox) to true.
It should add USA to the group column in the channel editor for some of the channels after you reset the channels. To have this update, you will need to go to DataMgmt > Reset Channel > Plugin: DaddyLive, Reset Edits: Yes, click Reset.
Then go to Scheduled Tasks > Channels > Daddylive and run that. Once that is done, the column for the groups should be updated. Note this will clear all edits you have made in the channel editor...

Also, the channel editor does come with a filter, so you might find all channel names with "Poland" as an example. Then update all those with the appropriate group.

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

anders suarz wrote:

Vic K wrote:

anders suarz wrote:

Vic K wrote:

works with cabernet-0.9.11.05 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
2. copy list.index to ~/plugins/provider_video_daddylive/resources/list.index
3. overwrite config_defn.json to ~/plugins/provider_video_daddylive/resources/config_def.json
4. overwrite channels.py ~/plugins/provider_video_daddylive/lib/channels.py
5. adjust your config.ini to have epg of 4 or less
5. start cabernet

its missing on your files this one?
config_def.json

i dont see in attached ones

thanks again

Channel_list.jason

ok then rename Channel list.jason to config_def.json

and replace it there.

gotcha thanks but both files looks lot different inside im goint to try

idk but i replace all three files still no get 486. just 306 , with db file yes

there its a thing can be done idk suggestion, for example with daddylive, where you place groups,
example
usa or ita,

instead do one by one , can just select channels by a cell and in one cell places the group name ,

idk its worth it, or how you do it ? i do manually one by one , or that can be edited on any file from the folder program?

Do not rename attachment. Take attachment and overwrite as is.

Make sure you shut down and restarted cabernet. If channel list was recently updated it might not auto update on start up. You might need to wait and/or manualy trigger channel update in GUI.

Also verify in GUI 486 not on client as client will need to redoanload new playlist

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

0.9.11.07 Plex update
For those using Plex as the client, I have good news. Plex is unique, in that, it uses the Channel UID as the channel number. As an example, for zap2it, the perl script sets the channel uid to "I6.3.112574.zap2it.com", so using that instead of channel 6.3 is a mess. To have Plex display the actual channel number AND to have better sync between the channel list and the EPG, I have the following updates:
In Client > EPG

Use Channel # for Channel ID: If set to true will send Plex the channel number as the UID. This can cause issues because the channel number can change easier than a UID, but for Plex, it makes sense.

Add Plugin name to Channel ID: Not really a Plex issue, but if the UID across plugins is not unique, then this along with the "Use Channel # for Channel ID" setting not checked will add the plugin name to the channel UID making it unique.

Finally one note on Plex. It has a cache that will cause these changes to not implement correctly. Highly recommend deleting the files in the Cache folder, starting plex, then adding the tuner back into the mix.

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

Good news for those who did the new hack auto update via gui does not brake the hack for 486 channels.

meaning after you peform auto update from GUI then stop cabernet replace the 3 files then start cabernet.

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

Vic K wrote:

anders suarz wrote:

Vic K wrote:

anders suarz wrote:

Vic K wrote:

works with cabernet-0.9.11.05 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
2. copy list.index to ~/plugins/provider_video_daddylive/resources/list.index
3. overwrite config_defn.json to ~/plugins/provider_video_daddylive/resources/config_def.json
4. overwrite channels.py ~/plugins/provider_video_daddylive/lib/channels.py

Do not rename attachment. Take attachment and overwrite as is.

Make sure you shut down and restarted cabernet. If channel list was recently updated it might not auto update on start up. You might need to wait and/or manualy trigger channel update in GUI.

Also verify in GUI 486 not on client as client will need to redoanload new playlist

i did all steps but nada, i cant update i click play update button for daddylive and dont nothing, it was updated like 7 hours, its nomrmal behavior?

other chanels updates same, other stuff fine to update

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

anders suarz wrote:

Vic K wrote:

anders suarz wrote:

Vic K wrote:

anders suarz wrote:

Vic K wrote:

works with cabernet-0.9.11.05 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
2. copy list.index to ~/plugins/provider_video_daddylive/resources/list.index
3. overwrite config_defn.json to ~/plugins/provider_video_daddylive/resources/config_def.json
4. overwrite channels.py ~/plugins/provider_video_daddylive/lib/channels.py

Do not rename attachment. Take attachment and overwrite as is.

Make sure you shut down and restarted cabernet. If channel list was recently updated it might not auto update on start up. You might need to wait and/or manualy trigger channel update in GUI.

Also verify in GUI 486 not on client as client will need to redoanload new playlist

i did all steps but nada, i cant update i click play update button for daddylive and dont nothing, it was updated like 7 hours, its nomrmal behavior?

other chanels updates same, other stuff fine to update

just want to make sure u did correct steps

1. stop cabernet
2. copy list.index to ~/plugins/provider_video_daddylive/resources/list.index
3. overwrite channel_list.json to ~/plugins/provider_video_daddylive/resources/channel_list.json
4. overwrite channels.py ~/plugins/provider_video_daddylive/lib/channels.py
5. adjust your config.ini to have epg of 4 or less
5. start cabernet

you must stop cabernet and restart and i had type it is channel_list.json that you need to overwrite.

If you did do the right steps and still nothing then provide the debug log.

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

i only have this on .ini file

[tvguide_default]
label = TVGuide Instance
enabled = True

[xumo]
channellistid = 10006

[tvguide]
enabled = True

where go logging file? i delete all (almost all) and replace still same

i see some file its different name. i delete all and replace again. updating now channels.

all updated but not daddylive one. channels update all except daddylive.

and for some reason tvguide plugin its broken , cant install from catalog, i did manually.

i replace back with the default ones , channels.py and channels.list.json and daddychannels are running finally.

oh well, at the end , from your files i only keep list.index then i get 486 channels. i replaced back the other 2 files.

before i was unable to run channels updates for daddylive no matter what. before and after replaced all folder of cabernet, and with your three files.

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

G Kazaroth wrote:

The fastest stream type is m3u8redirect, but daddylive requires a unique HTTP header, which I am not sure how a m3u file contains that info. Are you saying your m3u file you have works with daddylive or does not? If your m3u file does work with daddylive, I would be interested in the format that allowed the HTTP header info to be sent to the client. If not, then, yes it will be slower due to the overhead of the daddylive interface requirements. Other plugins, which do not require unique headers, do work with m3u8redirect. The m3u8redirect basically sends the m3u file to the client to connect directly with the provider. It does the same thing as a m3u file, but dynamically.

What I meant was I can use m3u8redirect with my own m3u file I add in the m3u instance of cabernet but not in the daddylife instance.
I thought that it might have to do something with the HTTP header. It is not really a problem. I can live with the delay now that I know that it has nothing to do with my setup.

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

0.9.12.00 Migration of plugins to plugins_ext
Basically, the only thing this does is move the plugins to plugin_ext for now. You should probably not be in a hurry to upgrade...

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

G Kazaroth wrote:

0.9.12.00 Migration of plugins to plugins_ext
Basically, the only thing this does is move the plugins to plugin_ext for now. You should probably not be in a hurry to upgrade...

i see some changes on plugins no m3udirect option on daddy i guess , and pluto , m3u more direct m3udirect

but cant upgrade from gui , i guess manually need be done.

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

Upgrade from gui works fine. Just try clicking on menu. But if you like manual, then I guess that is ok.

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

When I try the modified files to get 486 channels I get the following errors:

2023-04-03 18:08:18,325-ERROR:scheduler UNEXPECTED EXCEPTION on GET='charmap' codec can't decode byte 0x90 in position 33902: character maps to <undefined>
Traceback (most recent call last):
File "C:\apps\cabernet\lib\schedule\scheduler.py", line 157, in call_trigger
results = call_f()
File "C:\apps\cabernet\lib\plugins\plugin_obj.py", line 207, in refresh_channels
return self.refresh_it('Channels', instance)
File "C:\apps\cabernet\lib\plugins\plugin_obj.py", line 230, in refresh_it
return instance.refresh_channels()
File "C:\apps\cabernet\lib\plugins\plugin_instance_obj.py", line 152, in refresh_channels
return self.channels.refresh_channels()
File "C:\apps\cabernet\lib\plugins\plugin_channels.py", line 134, in refresh_channels
ch_dict = self.get_channels()
File "C:\apps\cabernet\plugins\provider_video_daddylive\lib\channels.py", line 46, in get_channels
ch_list = self.get_channel_list()
File "C:\apps\cabernet\plugins\provider_video_daddylive\lib\channels.py", line 128, in get_channel_list
text2 = f.read()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64
_qbz5n2kfra8p0\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 33902: character maps to <undefined>

The default files function just fine.

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

G Kazaroth wrote:

Upgrade from gui works fine. Just try clicking on menu. But if you like manual, then I guess that is ok.

idk i try on firefox and chrome where says

upgrade to 0.1.2

clicking on the 3 lines i get upgraded sorry thanks!

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

In version 0.9.12.02, there was a file accidentally left at the top level called "tatus". If you upgrade, you may get a message that "tatus" is there and should not be. Please just remove the file and then the upgrade will complete.

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

Vic K wrote:

works with cabernet-0.9.11.05 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
2. copy list.index to ~/plugins/provider_video_daddylive/resources/list.index
3. overwrite channel_list.json to ~/plugins/provider_video_daddylive/resources/channel_list.json
4. overwrite channels.py ~/plugins/provider_video_daddylive/lib/channels.py
5. adjust your config.ini to have epg of 4 or less
5. start cabernet

Has anyone done this with Version: 0.9.12.03 or since the plugins were moved? i still get various exception errors abot either the charecter map or missing files when i try this. Do the files need to be modified for the new locations?

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

saturday version i get it work , since i dont touched , it take me time to make it work just the part of daddy channels , other stuff perfectly fine.

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

I kept having issues with DaddyLive where I would enable but it would not show up on the channel editor. The only way I coult get it to work was changing the config.ini from:

[daddylive]
epg-plugin = ALL
enabled = True

To this:

[daddylive_default]
epg-plugin = ALL
enabled = True

And now the channels are showing up on channel editor and the channels are playing with no issue on my plex which before it was 50/50 if it would play or not. Just a heads up in case anyone is having the same issue.

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

Version: 0.9.12.05

updated but something got borked.

no longer a tuner status or Scheduler Status on the home page

(776-800/960)