BETA: Chrome Capture for Channels

Yeah definitely less pressure for gpu/cpu to render the streams, but dtvstream likely only better for the random channels tve doesnt support. if tve ends then it will be even more imporant to use the hdmi method.

EDIT: Finally got it to click the correct location of directv stream!

It takes 16 seconds to get there, if just needs station (ESPN, espn2), and one more click

It accepts input now , but still can't associate my variable (channel name) with the input yet.

UPDATE: we are in the end game, it just needs one more click to work, then we need a channels database


The moment you have all been waiting for, has arrived, sadly android tv devices don't work with this method, as their streams are different.

Right now I have a method, the channel I assign for dtv, will correspond to the value I set. This works for android phones/emulator/pc, but does not work for android tv devices (perhaps not firestick/appletv)

Devs.. Where are the streams for androidtv located?

It goes to this folder, finds the latest stream, and truncates the first 2 letters and corresponds 9506 to ESPN, this can be changed later. I would like to add all the channels, but cannot finish until I can figure out where androidtv streams go to.

1 Like

No folders are created for client streams at home. You have to hook into the http request to know what to tune.

What identifiers are available in txt files etc that the puppeteer can read to know what channel is tuned, this information is used to find the data and make the channel tune properly. There has to be something that I can use to pull this request from. Preferably a txt file or other file/folder.

The http request won't work, the website loads the same for each channel, directv is only one website. I finally got it working, but there has to be something that will let it work at home!

#EXTM3U
#EXTINF:-1 channel-id="ESPN",ESPN
chrome://localhost:5589/stream?url=http://stream.directv.com/guide
#EXTINF:-1 channel-id="ESPN2",ESPN2
chrome://localhost:5589/stream?url=http://stream.directv.com/guide

Pass in whatever else you want, like ?ch=ESPN&url=...

In the js see how it's accessing .url and access .ch

What do you mean?

chrome://localhost:5589/stream?ESPN&url=http://stream.directv.com/guide

All I need is a txtfile or folder to execute and it will work 100%

Is there no way to add this?

Just something like Running channel 7105 and it creates a text tile, or easier just make a txt file in the stream folder called the channel, ie ch-7105.txt .

I don't mind sharing my current code if you can perfect it. I will note, DirecTV is quite slow to load, but it is what it is.

Also my android phone connects at home and works fine with this method

It should be a super easy coding job for the channels staff. It would go a long way and this new method should help those who are using other streaming networks as well that have a similar UI to dtvstream

Nice to see that coming together. Hopefully, a blueprint from that will make it work with Prime channels too (and VIX) and then just like that this tool will be up to par with HDMI/ah4c/adbtuner

We are just waiting on tmm1 to make my suggestions for it to work. I would love to see Hulu support for movies, it would be too hard to implement for tv at the moment, but movies would be great, it pulls a list of movies on Hulu, runs a script and loads.them.through PC which may or may not have adblock on

1 Like

For Hulu shows/movies, I think PlayOn would be a good option for that. Either that or Anystream or Streamfab

Hulu live tv channels already work well with CC4C

@Jean0987654321, I didn't think Hulu Live TV was able to work with CC4C?

Read the earlierposts in this thread. You just need the hulu urls in order for it to work

Tmm1 is there no other identifiers that will work that you can code as suggested?

Update:

I can load stream.directv.com/guide/?ch=ESPN

It shows it's incorrect and reloads, but the js might be able to pick it up. Sadly it will add another half second to the load time, but should work.

Having some issues getting it up and running in channels.

I used babsonnexus instructions to troubleshoot, but it did not solve the issue: BETA: Chrome Capture for Channels - #130 by babsonnexus

  1. I am on a Linux (Ubuntu) machine
  2. I have Node v20.8.0 running
  3. I am able to create a custom channel

#EXTINF:-1 channel-id="Bravo",Bravo
chrome://xxx.xxx.xx.xxx:5589/stream/bravo

  1. I can launch the links in a browser.
  2. I CANNOT launch the links in Channels. It appears that there is no connection occuring. There is no indication of an error or that data is being streamed.

Any help is appreciated.

Is CC4C running on the box it's installed on?

I recommend installing the cc4c and modifying the .js file yourself run main.js

you left out the ch=

chrome://localhost:5589/stream?ch=ESPN&url=http://stream.directv.com/guide

here is where the js accesses the value of url=:

so to get the value of ch, you would use req.query.ch and then you can use that value anywhere in the code to click on whatever you need to click

The CC4C and Channels servers are running different boxes.

And the IP in custom channels is pointing to the box that CC4C is running.
And if you are not making changes to the js file, then you don't need Node running. Just have the arm64 file running.

Yes, the are pointing to the correct box. Where is the arm64 file you are referencing? I don't see one in the chrome-capture-for-channels folder.

1 Like