cabernetwork / provider_video_daddylive

Provides an interface to DaddyLiveHD
MIT License
7 stars 1 forks source link

Other Channels #1

Closed dahartigan closed 3 days ago

dahartigan commented 1 year ago

Hi, thanks for your work with Cabernet and this daddylive plugin! Would it be possible to add the extra channels that are present in "Other Channels.txt" (https://github.com/cabernetwork/provider_video_daddylive/blob/main/provider_video_daddylive/resources/Other%20Channels.txt) into the main list also?

I'm aware of a hack, but updates break that and it would be awesome to have them all available in all versions on this repo.

Thanks again!

rocky4546 commented 1 year ago

The person who did the hack was expected to make the changes to the plugin directly after setting up a good github account, but that has not occurred. We do need a person willing to maintain the plugin. The channels tend to change, so updates to the tvguide lookup needs to be maintained as well as the Other Channels lookup.

dahartigan commented 1 year ago

How often do the channels change? The main issue that I experience is that updates to Cabernet would break all of the extra channels every time Cabernet receives an update.

I am proposing that you add the extra code from the hack, including the list.index from that hack, into this repo so that those channels would never break by an update again.

As for channels that change, if it's infrequent enough that an issue on github would suffice then I think this would still have a better experience for the user and yourself. If it turns out that the channels change frequently, that would not be ideal and perhaps we would brainstorm an alternative.

Thanks for your time!

rocky4546 commented 1 year ago

Local channels change at least monthly if not weekly. A few of the general channels change time zones around monthly. The provider adds new channels to the other list around monthly, so having updates monthly would be expected.

rocky4546 commented 1 year ago

https://insolencetvgo.godaddysites.com/ is another site containing some of the channels listed in Other Channels.

mdrichardson commented 5 months ago

@rocky4546, I could probably help with this and write a script to help maintain this. However, with a brief glance at the code, I'm not sure I understand how channel_list.json works. What are the zones and ids? I think, ideally, these are grouped separately--daddylive doesn't list most of these on their "24/7" channels, but they are listed in the TV schedule API. Might be nice to have a separate toggle for enabling "non-24/7" channels. Any chance you can provide some pointers or very general steps for how to start on this?

rocky4546 commented 5 months ago

Most tvguide providers talk about "providers". For TVGuide, the providers are found here https://www.tvguide.com/listings/ and then click on Provider. Each provider has its unique zone id. Also, each channel will have its own id (although a west coast channel would be different than an east coast channel since the guide would change.) Zap2it follows the same format providing a id for the provider and channel. Here are some examples... For a generic East Coast channel list, you can use https://fandom-prod.apigee.net/v1/xapi/tvschedules/tvguide/serviceprovider/9100001138/sources/web then here is a schedule you can get https://fandom-prod.apigee.net/v1/xapi/tvschedules/tvguide/9100001138/web?start=1707427800&duration=180

mdrichardson commented 4 months ago

Figured I'd post an update...I started working on this, but ran into a couple of issues that have demotivated me from continuing (for now, at least):

  1. There's no way to programmatically get all DL channel listings (via scrape or API). AFAIK, the only real complete list is in their Discord. The 24/7 list is missing some and their scheduling API only shows channels from that day, so it would need to be polled multiple times.
  2. It really wouldn't make sense to update the channels frequently without pinning the channel numbers in Cabernet so that they match DL's. I'm sure it's possible to adjust the code to do this, but it looked like more substantial of a refactor than I have the time to contribute
rocky4546 commented 1 month ago

And on top of that, there is the tvguide which if synced, would require manually figuring out what guide belongs to what channel. But everyone keeps complaining that they want it, but not to spend the time to work it, so here it is...