BETA: Chrome Capture for Channels

If it has a direct link, you can do it:

Just did the docker setup and everything is working. But is it still not a way to link a provider as of yet still? I thought if I was signed into it on my Chrome browser I would have access.

Trying this again. I mean, I see the provider question box pop up, but it won't let me select anything via mouse or keyboard even with the debug URL. Seems straightforward. Any idea what's up?

EDIT - seems like adblocker was interfering. Got rid of the popup, but no real keyboard input yet.

Which provider? Here is Spectrum m3u:

#EXTINF:-1 channel-id="Golf",Golf
chrome://192.168.1.16:5589/stream?url=https://watch.spectrum.net/livetv?tmsid=61854

Trying to get NBC to auth to YTTV. Still not getting any input control beyond closing that original prompt window, best I can tell...

For those in the US with a PBS affiliate that broadcasts onlineā€¦

https://www.pbs.org/livestream or your respective station.

Works well with CC4C. @babsonnexus - might be a useful addition, though I would confirm it works for others as well. For me, both the above and my local affiliate livestreams work.

I would make sure you can log in via a chrome browser on the maching you are using for chrome capture. Also on you could have issues with VPN. Sorry, I don't have YTTV. Not much help.

Ran across thisā€”-grabbing the URL from LiveTV in a web browser, and luckily it doesnā€™t change that often. CNN is currently https://tv.youtube.com/watch/4Ogm6iKafo4 , for instance. ESPN is https://tv.youtube.com/watch/bj3v-DQPnNs .

Also read YTTV is blocking some browsers.

So was able to get ABC to work, however CBS won't. On a regular browser, I can get the live stream to work, but when I try and use through Chrome Capture, even after entering my Hulu credentials again, it says "Your TV provider is not yet supported in your location."

No VPN in use at time of testing, so not sure what's causing the regular Chrome Browser to be able to watch but not in the Chrome Capture. Any ideas?

Haven't tested FOX yet, need to wait until there's actual content being brodcasted.

Thanks.

1 Like

Here are 3 streams running on the AMD 5800H. No borders and no stuttering.

CPU Usage

1 Like

Iā€™m having the exact same issue as you. After I confirm YouTube TV as my provider, it just sits there indefinitely. Very frustratingā€¦

For PBS specifically, I recommend doing this:

Works much better!

2 Likes

See:

2 Likes

Nothing wrong with that. :grinning:

Seems the GPU in the 5800H is taking on quite a bit of that load. I'm going to play with some other GPU's and see Chrome will take advantage of other hardware.

Well as far as my issue with "Watch | YES Network" its NOT the newer version of chrome blocking autoplay....i installed chrome 65 and still must click the volume button so back to the drawing board.

If any of you smart peeps want to dig in i can give u a login to see if its fixable.
seems way beyond my level.

1 Like

Appreciate the pointerā€¦but I have a strong aversion to docker-based solutions. :smile: Would love to get something like this up and running natively on a Mac or elsewhereā€¦if you know of any pointers, would welcome it.

I use macOS too but Docker Desktop has made the integration with Channels DVR pretty easy. Iā€™m grateful for all of these (free!) integrations.

This executable is running here but a docker might work better?

Mineā€™s running Ventura, updated to the latest release. A few crashes, Iā€™ve detailed two above, hopefully those can be resolved.

I think the best would be if this beta project could be added as an experimental feature to the core Channels DVR server software. And then when the kinks get worked out, as an official one. Iā€™m not sure if thatā€™s feasible or not but I believe in the audacity of hope.

2 Likes

Lets call this Dynamic Custom Channel:
I have this link to a beach cam: h ttp://bamabeachcams.com/sea-n-suds.aspx
I can use Chrome Capture for Channels to launch a Chrome window etc etc as this topic addresses.
I can also get an m3u url for this which works to make a Custom Channel, but lets say it Expires in 12 hours.
Not to bad, just keep updating the Custom Channel, but maybe there's a better way.
Here's what tmm1 says (somewhere):
"Chrome Capture for Channels captures the entire visible contents of the tab. Currently the code will look for a playing video on the page, size it...." etc
What if it could look for an m3u url on the page??
Then create a temp Dynamic Custom Channel, then the expires does not matter,
each time you use this it will get a new m3u with a new expires time.
This bypasses using a Chrome tab and the issues mentioned, borders, slow, etc
Thanks to anyone who cares to shoot this down, OR endorse.

@tmm1 Many of the sites that I was hoping to utilize your solution for are picky in that they seem to work best when used within a mobile browser. Is there any way to force an agent string that does not impact the rest of the user's chrome environment (ie only gets set for tabs that are instantiated by this package)? I am running the node package on M1 mac.

Edit: I managed to figure this out by adding this to the opts.args array object in main.js:

      `--args --user-agent='Mozilla/5.0 (Linux; {Android Version}; {Build Tag etc.}) AppleWebKit/{WebKit Rev} (KHTML, like Gecko) Chrome/{Chrome Rev} Mobile Safari/{WebKit Rev}'`,

Viewport scaling is handled much better now for the sites I am working with, but now the video no longer autoplays for me so I am trying to get that resolved.

1 Like

After doing more testing, I compared the picture quality between running in a Docker vs the stand alone Mac app (Intel).

My observations:

ā€¢ When running via Docker, the picture is full screen with no discernible borders, however it is very choppy.

ā€¢ When running via the stand alone Mac app, the picture has borders on the sides, however it is much smoother.

Iā€™m puzzled as to why there are no borders when running via Dockerā€¦