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

seems like once i edit the db it breaks the updates so no need to do anything but if you want updates to work then do not edit or keep backup and/or delete and start from scratch.

now on to epg any hints on adding editing epg in sql or is it in code/config? From what im understanding its pulling the info based on the name of the channel in the same db that i added the channels? what is the provider its fetching from so that my nameing convention matches the providers?

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

You have 2 ways to update the epg. Simplest is to edit the cabernet/plugins/provider_video_daddylive/resources/channel_list.json and add the channels you can. The zone id and channel id come from tvguide.com. If you are dealing with channels that tvguide does not provide epg data, then you can update the database (since you seem to be proficient). The epg database contains the data by instance/day with the json blob containing the epg data. You would need to download the json blob, append to it and then upload the blob to the database. At some point, I am looking at using files instead of blobs, but for now, it is a blob.

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

It is available on tvguide. I'm unsure how you get the zone id and channel id but from chrome dev i sniffed out this packet
https://fandom-prod.apigee.net/v1/xapi/tvschedules/tvguide/9100001219/web?start=1679355000&duration=20160&channelSourceIds=9233003495&apiKey=DI9elXhZ3bU6ujsA2gXEKOANyncXGUGc
and im guessing the first one 9100001219 is zone and second one 9233003495 is channel?

Is there a better easier way of getting the info?

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

Seems to have stopped pulling EPG. Using version 0.1.5 and Cabernet 0.9.10.06. The log shows errors...

2023-03-20 18:13:21,685-INFO:decorators HTTPError in function PluginEPG.get_uri_data(), retrying 942916 HTTP Error 500: Internal Server Error https://cmg-prod.apigee.net/v1/xapi/tvschedules/tvguide/9100002013/web?start=1679356800&duration=20160&channelSourceIds=9200004889

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

Vic K wrote:

It is available on tvguide. I'm unsure how you get the zone id and channel id but from chrome dev i sniffed out this packet
https://fandom-prod.apigee.net/v1/xapi/tvschedules/tvguide/9100001219/web?start=1679355000&duration=20160&channelSourceIds=9233003495&apiKey=DI9elXhZ3bU6ujsA2gXEKOANyncXGUGc
and im guessing the first one 9100001219 is zone and second one 9233003495 is channel?

Is there a better easier way of getting the info?

So above info is correct way to pull the id. Also insure to include the proper tvguide id info in sql entry on top of the xml edit.

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

0.9.11.00-RC1 Release Candidate
Although an early release, seems pretty solid. It has the new persistent connections, which makes internalproxy significantly better with daddylive. Only issue is the upgrade requires tvguide plugin to be upgraded to 0.1.8 BEFORE clicking the upgrade button. Notes are in the release. If you miss the upgrade, then notes in the release also indicate how to do it after you missed the plugin upgrade.
It does require python requests module to run. The docker files have been updated.

If you try it and find something, let me know.

Current plan is to keep the Release Candidate releases until the plugin management is done. After that, the instance and repo management will be the following two releases. Once the plugin management is done, the external plugins like the epg plugin will be maintained.

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

Thanks for giving it a try... I am surprised how well the new interface works...

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

not sure what is different but daddylive seems to work better. Is it better to set it to internal proxy now?

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

So, I checked streamlink and it also does provide persistent connections, so in general, there may not be a difference. However during problems, internal proxy handles the HTTP exceptions better, such as connection refused and connection timeouts. Internal proxy should not have as many packets drop as streamlink. So, my belief is there is a little better performance with internal proxy. Internal proxy also updates the ATSC header providing TVH service name data for the mux. It still could be a personal decision.

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

I will be using internal proxy then. Is this the best way to configure the m3u sections as well?

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

With rc1 running ubuntu 22.04 when i shut down cabernet then restart it using CLI, i get error that ip/port already in use. system reboot resolves this issue. This was not the case when running old version.

nevermind i cant reproduce might have been something else.

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

0.9.11.00-RC2 Release Candidate
Mostly bug fixes and completing more of the plugin manager. Only issue is RC1 had a bug that disabled the upgrades from the home page (oops). What I did for RC2 was download the zip file in the release and unzip it into the Cabernet app folder. If all goes well, after restarting, the app will be on RC2.

Review the RC2 release notes before upgrading. If you have not upgraded to RC1, then the RC2 upgrade should appear on the home page.

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

Attached is updated channels.db file which includes addtional 180 channels.
Beware as doing the steps will brake the ability of cabernet software update and channels list update from daddy. thus any future updates will not auto update. EPG update works.

I have only tested this with 0.9.11.00-RC2 running on ubuntu 22.04

1. stop cabernet
2. back up old db or just rename it to channels_org.db located at ~/data/db/
3. download the attachment and place it in ~/data/db/channels.db
4. start cabernet

To revert back stop cabernet and copy old org backup over.

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

Nice. Am trying this channels.db
followed instructions, seems to be working good
I deleted the timed channel updates for daddylive

thanks

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

I am getting an indication that daddy changed their refer url. Is anyone having issues? I am trying hallmark.

It is looking fine now... I think it something to do with playing the first time each day. After starting and stopping a few times, things tend to work themselves out.

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

your RC1 code had the structure of json in channels.db differently then then previouse release. RC2 structure is same as previouse release. Ref_url was at the end. not sure if this is related or not. just observation.

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

R W wrote:

G Kazaroth wrote:

It is working for me. DaddyLive is having growing issues with others being shutdown. They are getting a load of new users. A couple of days ago, they had to rebuild their US server. Many times, if Cabernet is having issues, it looks like DaddyLive is having a DDOS attack from Cabernet's perspective. It is more than likely just more traffic than they can handle. In general, they have a good service dept and the chat tool on their main page is pretty responsive to complaints, but that being said, it does look like they do have issues quite often right now. I do suspect things will get better. Also, note that the local channels like ABC, CBS, NBC and FOX seem to change locations based on what is available, so the tvguide may not be correct. Hopefully, it is close. I am also aware that they have a ton of channels not listed on their pages. People are just randomly trying different UID or asking the chat for a certain channel number. My understanding is the channels not listed are not maintained and may not exist at all times.

I still cannot get cabernet to show the DaddyLive channels on the m3u file. Everything is enabled for DaddyLive, channels show up in the Channel Editor but whenever I open the m3u file this is all the file has:

#EXTM3U
#EXTINF:-1 channelID='612fea0e970e6f00083be56b' tvg-num='0' tvg-chno='0' tvg-name='TV Land Drama' tvg-id='612fea0e970e6f00083be56b' tvg-logo='https://images.pluto.tv/channels/612fea0e970e6f00083be56b/colorLogoPNG.png' group-title='PlutoTV|Entertainment',TV Land Drama
http://172.18.0.2:5004/PlutoTV/watch/612fea0e970e6f00083be56b

On Stream Providers I have enabled DaddyLive, DaddyLive Instance, M3u, Pluto TV and Pluto TV Instance.

On Channel Editor > DaddyLive I have:
Total Unique Channels = 306
Total Enabled Unique Channels = 306

On Channel Editor > PLuto TV I have (Only TV Land enabled):
Total Unique Channels = 373
Total Enabled Unique Channels = 1

I changed DaddyLive Starting Channel Number to 300 to see if what you wrote on the previous post would help but still cant get DaddyLive to show up on the m3u.

What changed in the last week or 2 that made DaddyLive not show up like it did just 2 weeks ago?

i get exactly your issue, doing Data Mgmt>reset channel data

after that i get daddy channels running fine

i added Vic K file so idk if that make not work on mine no idea im gonna try again replacing then check, im 306 channels on daddy im guessing was more

question whas the difference between xteve and cabernet, sorry ignorance, what i see so far we can record pluto here, thats great, and daddylives plugin, editon stuff.

about m3u generated, only way to load logos its passing through tvheadend? i did on two ways tvheadend gets the logos, m3u dont load it. or add.

its anyway to make work other countries plutos? or its only one by default. i guess in my case usa.

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

0.9.11.01 released
Finally got to a stable point. Plugin manager is enabled and visible. Only has a few commands (delete, install and upgrade without deleting data). Next is to migrate the plugins to the ext folder...

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

how many channels are from daddylive? i get 306. i replace channels.db i get same.

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

the m3u generated, if i replace ' for " this then logos and stuff can be recognized on my tivimate automaticated, idk its dumb thing that i see useful. or im doing wrong and its just normal. i see on iptv editor get columns doing this change when dont get it before.

before and after.

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

anders suarz wrote:

how many channels are from daddylive? i get 306. i replace channels.db i get same.

You need to restart the app for new db to take affect. You should see 486 with new db

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:

how many channels are from daddylive? i get 306. i replace channels.db i get same.

You need to restart the app for new db to take affect. You should see 486 with new db

hi thanks true, i did it and i get 486 , just learn to handle this.

question its possible runs double pluto tv or thats not possible? or use kinda proxy on it idk if its easy , so if you want get a pluto from other country you can get with proxy maybe?

for what i know if i try go to pluto england for example i can google it, but when im there im gonna get pluto usa. where i am, i tried this with a vpn and when i tried worked in that way.

(726-750/960)