Chrome Capture for Channels

Would someone who has Sling setup share how they did it? I have this working fine with the default channels, but even after reading hundreds of posts here I just can't seem to get the Sling URLs figured out.
Thank you.

I'm not using Sling anymore, but I'm the one who originally figured out the URL structure for use with ah4c (formerly androidhdmi-for-channels). Here's the post in that thread talking about it:

Using the same example from that thread, an M3U entry in this project should look something like this:

#EXTINF:-1 channel-id="SHOCSHD" tvc-guide-stationid="61001",Showtime Showcase HD
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/b24b20f009e94eb1ad2441a19f98b7ff/watch

And here's the sling.m3u I used in ah4c, which would give you the unique identifier and matching station ID for numerous channels:

#EXTM3U
#EXTINF:-1 channel-id="STZHD" tvc-guide-stationid="34941",Starz HD
http://{{ .IPADDRESS }}/play/tuner/1a3c345b84b149918e0bad8f797df70a
#EXTINF:-1 channel-id="STZHDP" tvc-guide-stationid="34949",Starz HD West
http://{{ .IPADDRESS }}/play/tuner/8a84458592844ff5849712ef7766fb4e
#EXTINF:-1 channel-id="STZKHD" tvc-guide-stationid="57581",Starz Kids & Family HD
http://{{ .IPADDRESS }}/play/tuner/148a1e391db94edf96bf25e25beb307d
#EXTINF:-1 channel-id="STZCHD" tvc-guide-stationid="57569",Starz Comedy HD
http://{{ .IPADDRESS }}/play/tuner/d96b102ac5c54967bf56b8b57e20c84e
#EXTINF:-1 channel-id="STZEHD" tvc-guide-stationid="57573",Starz Edge HD
http://{{ .IPADDRESS }}/play/tuner/1535e572f07348159d8924d58200690e
#EXTINF:-1 channel-id="STRZIBH" tvc-guide-stationid="67235",Starz in Black HD
http://{{ .IPADDRESS }}/play/tuner/23a6ea3c163a47f390f73900ccc76bc1
#EXTINF:-1 channel-id="STRZCIH" tvc-guide-stationid="67236",Starz Cinema HD
http://{{ .IPADDRESS }}/play/tuner/0eedb59656d243da914fef990a8db903
#EXTINF:-1 channel-id="STZENHD" tvc-guide-stationid="36225",Starz Encore HD
http://{{ .IPADDRESS }}/play/tuner/ed5d0f85928f45249f8a67c9746a80b7
#EXTINF:-1 channel-id="STZENCP" tvc-guide-stationid="17125",Starz Encore West
http://{{ .IPADDRESS }}/play/tuner/a0515fde0c074dc389981e8881874aae
#EXTINF:-1 channel-id="STZENCL" tvc-guide-stationid="14764",Starz Encore Classic
http://{{ .IPADDRESS }}/play/tuner/2230d31d16d541c08e654d4a11863d2c
#EXTINF:-1 channel-id="STZEWSS" tvc-guide-stationid="102906",Starz Encore Westerns
http://{{ .IPADDRESS }}/play/tuner/73ab11e5664241a9811e7e22602bfda9
#EXTINF:-1 channel-id="STZENSU" tvc-guide-stationid="14766",Starz Encore Suspense
http://{{ .IPADDRESS }}/play/tuner/04e4a4f1e0ec4dfba961414197e57d7f
#EXTINF:-1 channel-id="STZENBK" tvc-guide-stationid="14870",Starz Encore Black
http://{{ .IPADDRESS }}/play/tuner/1ec67d324b564a528f6901ed8e09334e
#EXTINF:-1 channel-id="SZEAHD" tvc-guide-stationid="72015",Starz Encore Action HD
http://{{ .IPADDRESS }}/play/tuner/8aed8223a6104b53b24f03555fc933a9
#EXTINF:-1 channel-id="STZENFS" tvc-guide-stationid="102903",Starz Encore Family
http://{{ .IPADDRESS }}/play/tuner/22076462a8124832967e30e0f9f92213
#EXTINF:-1 channel-id="SHOWHD" tvc-guide-stationid="21868",Showtime HD
http://{{ .IPADDRESS }}/play/tuner/7f5f5993457648d68db2fa5d5103cbcc
#EXTINF:-1 channel-id="SHOWHDP" tvc-guide-stationid="22532",Showtime HD West
http://{{ .IPADDRESS }}/play/tuner/f8ee74606d2a47ec8ca14842b2762b9b
#EXTINF:-1 channel-id="SHO2HD" tvc-guide-stationid="58533",Showtime 2 HD
http://{{ .IPADDRESS }}/play/tuner/30b674a6204f4d9b8ec053e0f6381a28
#EXTINF:-1 channel-id="SHOBETH" tvc-guide-stationid="68340",Showtime BET HD
http://{{ .IPADDRESS }}/play/tuner/df9f6f06051d4681938a627be72a4cf9
#EXTINF:-1 channel-id="SHOXHD" tvc-guide-stationid="60947",Showtime Extreme HD
http://{{ .IPADDRESS }}/play/tuner/ea47544f20394a4b83a2c0678c078d66
#EXTINF:-1 channel-id="SHOCSHD" tvc-guide-stationid="61001",Showtime Showcase HD
http://{{ .IPADDRESS }}/play/tuner/b24b20f009e94eb1ad2441a19f98b7ff
#EXTINF:-1 channel-id="NEXTHD" tvc-guide-stationid="68342",Showtime NextHD
http://{{ .IPADDRESS }}/play/tuner/b5540f5fb9b542aeb0f253d9854c174f
#EXTINF:-1 channel-id="FAMZHD" tvc-guide-stationid="103892",Showtime Familyzone HD
http://{{ .IPADDRESS }}/play/tuner/7b21fc1766304e268ef4757d56b3ac44
#EXTINF:-1 channel-id="WOMNHD" tvc-guide-stationid="68338",Showtime Women
http://{{ .IPADDRESS }}/play/tuner/1157b0988f29416485ce768e33f3c396
#EXTINF:-1 channel-id="INDIEHD" tvc-guide-stationid="65795",IndiePlex HD
http://{{ .IPADDRESS }}/play/tuner/7a17fd0c15754658885b368a0b273565
#EXTINF:-1 channel-id="RETROHD" tvc-guide-stationid="65791",RetroPlex HD
http://{{ .IPADDRESS }}/play/tuner/9ad3916eb22d4c169c7713afa5ee0f2b
#EXTINF:-1 channel-id="MPLEXHD" tvc-guide-stationid="83075",MoviePlex HD
http://{{ .IPADDRESS }}/play/tuner/deba2421b6ff44478320b2c60051f1d7
1 Like

Does anybody know if there is any pattern between the URL for Peacock's preview page for a sporting event in advance of the event, and the actual URL used to stream the event once live?

(If possible, for example, I'd like to put this evening’s NFL playoff game into Channels now via my Chrome Capture source, instead of waiting for the stream to start).

Sorry if this was answered before, but I didn't find it in the thread.

1 Like

Has anyone had success authenticating NBC using the Docker. It used to work using the VNC method, now if fails with a Chrome unsupported version message…

Thanks so much for the Sling deep link info. Axs seems hit or miss, but in my limited testing everything else seems to work.
Now I just have to figure out why the app process crashes daily.

1 Like

I've got this working on a dedicated Windows 11 Dell 5080 micro 32 GB I7 with Sling and when it works, it works great. Half of my recordings are the Sling channel page or the actual channel sitting there with the "play" button center screen. Also seeing the exe process crash occasionally.

Any suggestions on how to improve on this? Is this just a Sling thing?

Was there ever a fix for this? I am having the same issue. It records for a while via chrome capture, the video frame freezes, audio continues, and eventually it fixes itself.

I rebooted the channels/CC4C PC this morning and scheduled a handful of recordings on TCM and a couple other channels. None of them recorded anything but the Sling "home" page for that channel. I can watch live TV on those channels without issue, so I don't think the links are the issue.

1 Like

The plot thickens: I scheduled recordings and watched Channels open Chrome. Both of the shows went to "/browse" instead of "/watch" (Stream Live TV Now | Get Started)
When I replaced browse with watch and clicked enter the program immediately began playing.
Any ideas?

1 Like

Maybe post your M3U here, so we can have a look at it?

#EXTM3U

#EXTINF:-1 channel-id="Windy",Windy
chrome://localhost:5589/stream/windy

#EXTINF:-1 channel-id="Weatherscan",Weatherscan
chrome://localhost:5589/stream/weatherscan

#EXTINF:-1 channel-id="NBC News NOW",NBC News NOW
chrome://localhost:5589/stream/nbcnews

#EXTINF:-1 channel-id="NBC Local",NBC Local (WNWO)
chrome://localhost:5589/stream/nbc

#EXTINF:-1 channel-id="Bravo (East)",Bravo (East)
chrome://localhost:5589/stream/bravo

#EXTINF:-1 channel-id="Bravo (West)",Bravo (West)
chrome://localhost:5589/stream/bravop

#EXTINF:-1 channel-id="CNBC",CNBC
chrome://localhost:5589/stream/cnbc

#EXTINF:-1 channel-id="E! (East)",E! (East)
chrome://localhost:5589/stream/e

#EXTINF:-1 channel-id="E! (West)" tvc-guide-stationid="91579" ,E! (West)
chrome://localhost:5589/stream/ep

#EXTINF:-1 channel-id="MSNBC",MSNBC
chrome://localhost:5589/stream/msnbc

#EXTINF:-1 channel-id="SyFy (East)",SyFy (East)
chrome://localhost:5589/stream/syfy

#EXTINF:-1 channel-id="SyFy (West)",SyFy (West)
chrome://localhost:5589/stream/syfyp

#EXTINF:-1 channel-id="USA (East)",USA (East)
chrome://localhost:5589/stream/usa

#EXTINF:-1 channel-id="USA (West)",USA (West)
chrome://localhost:5589/stream/usap

#EXTINF:-1 channel-id="FOOD" tvc-guide-stationid="43",Food Network
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/4c8d7953714d4fa88a4d541d07fd031b/watch

#EXTINF:-1 channel-id="AMC" tvc-guide-stationid="14",AMC
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/21d18937ced74ecfbba333476d6f4270/watch

#EXTINF:-1 channel-id="BBCA" tvc-guide-stationid="17",BBC America
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/2a915617329d4e87b5a83b68c39b9229/watch

#EXTINF:-1 channel-id="NFL" tvc-guide-stationid="1399", NFL Network
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/2f5c3abe53004a3db6b236739c12a955/watch

#EXTINF:-1 channel-id="MGM+" tvc-guide-stationid="1401", MGM+ Drive-in
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/f0111af39c5d4ff1b3ca6c57a27efcb5/watch

#EXTINF:-1 channel-id="TNT" tvc-guide-stationid="98", TNT
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/d74f03db90624c769e0c6d4c9745660d/watch

#EXTINF:-1 channel-id="TBS" tvc-guide-stationid="93", TBS
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/f2763f605b2d4282a16d21f539512f76/watch

#EXTINF:-1 channel-id="TRUTV" tvc-guide-stationid="1402", truTV
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/68fb55b6e7e84cccaa24f4ef48006dde/watch

#EXTINF:-1 channel-id="CC" tvc-guide-stationid="26", Comedy Central
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/7a0ff80be0c14f4da6b6cc510b9be57b/watch

#EXTINF:-1 channel-id="BET" tvc-guide-stationid="18", BET
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/6197aeac25ae4d0f92b06b411fc021a6/watch

#EXTINF:-1 channel-id="HISTORY" tvc-guide-stationid="59", HISTORY
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/a0b2c49be7814fa4bf1e381b7f12ce55/watch

#EXTINF:-1 channel-id="VICE" tvc-guide-stationid="52", VICE
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/7c17236f677446ec967b12002e713939/watch

#EXTINF:-1 channel-id="IFC" tvc-guide-stationid="63", IFC
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/0d9871a58b0e452eab0faf29ef28bc99/watch

#EXTINF:-1 channel-id="SUNDANCETV" tvc-guide-stationid="90",SUNDANCETV
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/59becba981be4d59b30e99129854a9d6/watch

#EXTINF:-1 channel-id="AXSHD" tvc-guide-stationid="1406", AXSHD
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/fa61fd21b701452c92fd37a70770f460/watch

#EXTINF:-1 channel-id="FUSE" tvc-guide-stationid="1406", FUSE
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/fba55399460f4a7b8d3d436793dc0f90/watch

#EXTINF:-1 channel-id="HGTV" tvc-guide-stationid="58", HGTV
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/c763c4c3001f4a04970bca35000c0ded/watch

#EXTINF:-1 channel-id="TLC" tvc-guide-stationid="95", TLC
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/793b8cc7bdca43d9acb91432e1ccd24d/watch

#EXTINF:-1 channel-id="TRVL" tvc-guide-stationid="100", TRAV
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/48fed0bf95ed4756ad5515e5c59bb64b/watch

#EXTINF:-1 channel-id="DSCHD" tvc-guide-stationid="1407", Discovery
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/73653704f85b4bde9855ef29a6d3196e/watch

#EXTINF:-1 channel-id="ID" tvc-guide-stationid="62", ID
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/23d8c4d8b9cc4ed19771ab26f45e9867/watch

#EXTINF:-1 channel-id="CARTOON" tvc-guide-stationid="99", CARTOON
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/ab508c097c5b41cbb0626dcc3fc9470a/watch

#EXTINF:-1 channel-id="NICKJR" tvc-guide-stationid="75", NICKJR
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/4b83fba5aba1401d9bb00f1bf9a357b4/watch

#EXTINF:-1 channel-id="CNN" tvc-guide-stationid="25", CNN
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/eb6c608319dc4328a9aa5bea1307cbaf/watch

#EXTINF:-1 channel-id="HLN" tvc-guide-stationid="60", HLN
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/06a8cbeef6ab42f387044dfc07981901/watch

#EXTINF:-1 channel-id="LOCNOW" tvc-guide-stationid="1410", LOCALNOW
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/37fd997d86ff4fdd869184648f7780c7/watch

#EXTINF:-1 channel-id="HRICNST" tvc-guide-stationid="1411", HEROES & ICONS
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/b4e7d03ea22449b093c2bbcc19eac602/watch

#EXTINF:-1 channel-id="TCM" tvc-guide-stationid="94", TCM
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/19b8b7733b4943e79ac9d3bc6a7e6427/watch

#EXTINF:-1 channel-id="GRIT" tvc-guide-stationid="1413", GRIT
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/66197bd122d34cfdba2dd378fc28878f/watch

#EXTINF:-1 channel-id="STRTD" tvc-guide-stationid="1414", STARTTV
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/cf7667c836554daa85f8f1dc7e5b3f3d/watch

#EXTINF:-1 channel-id="BOUNCE" tvc-guide-stationid="1415", BOUNCE
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/67ac19a1411547158814d23021c3ad4d/watch

#EXTINF:-1 channel-id="REELZ" tvc-guide-stationid="911", REELZ
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/4d9b4b3bc05b430e84803d9e6f149fb3/watch

#EXTINF:-1 channel-id="HDNETMV" tvc-guide-stationid="33668", HDNET
chrome://localhost:5589/stream?url=https://watch.sling.com/1/channel/95264f7fc1ce4982b3d95d501f83fb24/watch

Probably won't make a difference, but there shouldn't be a space after the comma and before the channel name. You have some with and some without. Fix that, and reload the M3U to be sure.

EDIT: Also many, if not most, of your Gracenote Station IDs look wrong.

2 Likes

Has anyone figured out how to authenticate YTTV with Chrome Capture? It used to work but now I can’t get past the unsupported browser error.

Most of my channel IDs are just ones I made up before I learned how to look them up. I then mapped them in Channels.
Spacing didn't seem to be the issue.
What resolved the issue was setting the recordings to start at least 30 seconds early. Anything sooner fails. Might just be a Sling thing.

Has anyone figured out how to set up for use with MyFIOS web TV player?

1 Like

Yep I've been seeing this too, a chrome video will play fine for a while and then freeze while audio still plays, you can skip forward and it'll eventually recover.

I tried a few times to figure out the web link to use in CC4C to fix the "NBC" channels stuttering issue but never could figure it out.

https://tv.verizon.com/watch/guide/

Thank you,

I think we will need to use a line monitor to see what URL is sent. I was wondering if somone had done that.

Morris

Been operating for a while and I can't seem to fix a problem with Channels losing the stream from CC4C on a daily basis. I'll get a "Stream disconnected" message, or something similar. I back out to the guide and launch the channel again and it'll run for a day or a few hours. I'm streaming an internal Grafana dashboard 24/7.

I'm using a GoogleTV device to play the channel. The Channels server is running as a container on Unraid. The CC4C server is running on a Proxmox server, with a dedicated VM running only CC4C as a container. The VM has 4 vCPUs and I've bumped it up to 8GB ram. Network between Channels and CC4C is GE all the way, and lightly used. Grafana is a separate VM on the same Proxmox host as CC4C.

I'm going to try installing CC4C on a standalone PC, rather than a VM in Proxmox.

I thought I saw someone else have the same issue but I can't find the message about it now. I'm throwing all this detail out there in case someone can give me a suggestion on where to look for failures. I'm still stumbling my through learning Docker, but if there's a log I should look at on CC4C I can try to do that.

I set it on my ADS-B public website just now and it didn't last more than hour before losing the stream between Channels and CC4C.

I guess my next step will be to build the standalone PC for CC4C and see if it can be more stable.

1 Like