Sure. If by script, you mean the source M3U, it is below. If you mean something else, let me know. But be warned that my channels may differ from yours, as I am using YouTube TV links that may be particular to my region. You can find a channel by visiting it in a web browser. By looking at my example below, you should be able to tell which part of the link you want. In the Source settings,
I’ve set my Stream Format to “MPEG-TS”, my source to “Text”, and then in the text box I have this (pardon the messiness - I have more than just YouTube TV links in there. I’ve also changed the web address where I house some of my logos on my private server — I found that logos loaded more consistently on remote devices when I had the logos on a web server for some reason).
You’ll want to change the numeric IP address (the part after “chrome:” on each line) to match the address and port of your Mac.
#EXTM3U
#EXTINF:-1 channel-id="weatherscan", tvg-logo="https://(myprivatesite).com/images/tvlogos/weatherscan3.png",Weatherscan
chrome://192.168.7.180:5589/stream?url=https://weatherscan.net
#EXTINF:-1 channel-id="windy", tvg-logo="https://(myprivatesite).com/images/tvlogos/windy3.png",Windy
chrome://192.168.7.180:5589/stream/windy
#EXTINF:-1 channel-id="nbc3" tvg-id="3001" tvg-chno="3001" tvc-guide-stationid="11458",NBC
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/cQDDAyx_fWM
#EXTINF:-1 channel-id="fox433" tvg-id="3002" tvg-chno="3002" tvg-logo="http://www.(myprivatesite).com/images/tvlogos/fox43.png?w=360&h=270" tvc-guide-stationid="11782",FOX
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/skFmWDZe4KI
#EXTINF:-1 channel-id="nbcsn-philly3” tvg-id="3010" tvg-chno="3010" tvc-guide-stationid=“32571”,NBCSN PHILADELPHIA
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/6t_X17ODjZs?vp=0gEEEgIwAQ
#EXTINF:-1 channel-id="nbcsn-phillyplus3” tvg-chno="3011" tvc-guide-stationid=“88829”,NBCSN PHILADELPHIAPLUS
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/F3I9mKqm8iU
#EXTINF:-1 channel-id="bravo3" tvg-chno="3012" tvc-guide-stationid="58625",BRAVOHD
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/P12seiJcdYo
#EXTINF:-1 channel-id="msnbc3" tvg-chno="3013" tvc-guide-stationid="64241",MNBCHD
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/q6bWEVqhP8o
#EXTINF:-1 channel-id="cnbc3" tvg-chno="3014" tvc-guide-stationid="58780",CNBC
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/GIBoX-XF5i0
#EXTINF:-1 channel-id="syfy3" tvg-chno="3015" tvc-guide-stationid="58623" ,SYFYHD
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/uSfozGAsGMk
#EXTINF:-1 channel-id="usa3" tvg-chno="86404" tvc-guide-stationid="58452",USAHD
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/8xN3o2PSL5s?vp=0gEEEgIwAQ
#EXTINF:-1 channel-id="e3" tvg-chno="86405" tvc-guide-stationid="61812",E
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/4XA2gdEOngg
#EXTINF:-1 channel-id="oxygen3" tvg-chno="86406" tvc-guide-stationid="70522",Oxygen
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/_XptfCraPjM
#EXTINF:-1 channel-id="golf3" tvg-chno="86407" tvc-guide-stationid="61854",GOLF
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/XK34g7QRvGk
#EXTINF:-1 channel-id="cw3" tvg-chno="86408" tvg-logo="http://www.(myprivatesite).com/images/tvlogos/cwcentralpa.png?w=360&h=270" tvc-guide-stationid="97889",CW
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/y7t0bXZ4An0
#EXTINF:-1 channel-id="weatherchannel3" tvg-chno="86409" tvc-guide-stationid="11187",WEATH
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/P_w3HTppc6E
#EXTINF:-1 channel-id="nflnetwork3" tvg-chno="86410" tvc-guide-stationid="34710",NFLNET
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/_pYg9qMKKIA
#EXTINF:-1 channel-id="CCentral" tvg-chno="86420" tvc-guide-stationid="10149", CCentral
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/8EdkI-9VRYU
#EXTINF:-1 channel-id="mtvclassic3" tvg-chno="86411" tvc-guide-stationid="22561",MTVCLAS
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/YPB9f0dageg?onboard=1
#EXTINF:-1 channel-id="mtv" tvg-chno="6012" tvc-guide-stationid="10986" ,MTV
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/EtVFhlUOrBs
#EXTINF:-1 channel-id="vh1" tvg-chno="6014" tvc-guide-stationid="11218" ,VH1
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/rGtnD8GjrD4
#EXTINF:-1 channel-id="bbcnews3" tvg-chno="86412" tvc-guide-stationid="89690",BBCNAHD
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/g5BmB1qXulc?onboard=1
#EXTINF:-1 channel-id="smith3" tvg-chno="86413" tvc-guide-stationid="65799",SMITH
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/E7D0KRZIUso?onboard=1
#EXTINF:-1 channel-id="tvland" tvg-chno="41" tvc-guide-stationid="16123", TVLand
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/5ZXm9opX8Bs
#EXTINF:-1 channel-id="Paramount" tvg-chno="1412" tvc-guide-stationid="11163", Paramount
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/5IEF4cmubog
#EXTINF:-1 channel-id="CMT" tvg-chno="1608" tvc-guide-stationid="10138", CMT
chrome://192.168.7.180:5589/stream?url=https://tv.youtube.com/watch/Nh0_9d67vQU
#EXTINF:-1 channel-id="earthcamphilly", tvg-logo="https://(myprivatesite).com/images/tvlogos/earthcam2.png",Philadelphia - Franklin Institute
chrome://192.168.7.180:5589/stream?url=https://www.earthcam.com/usa/pennsylvania/philadelphia/?cam=philly
#EXTINF:-1 channel-id="earthcamfieldofdreams", tvg-logo="https://(myprivatesite).com/images/tvlogos/earthcam2.png",Field of Dreams - Dyersville IA
chrome://192.168.7.180:5589/stream?url=https://www.earthcam.com/usa/iowa/dyersville/?cam=dyersville
#EXTINF:-1 channel-id="earthcambigsky", tvg-logo="https://(myprivatesite).com/images/tvlogos/earthcam2.png",Big Sky - Lone Peak
chrome://192.168.7.180:5589/stream?url=https://www.earthcam.com/usa/montana/bigsky/?cam=bigsky
#EXTINF:-1 channel-id="earthcampittsburgh", tvg-logo="https://(myprivatesite).com/images/tvlogos/earthcam2.png",Pittsburgh
chrome://192.168.7.180:5589/stream?url=https://www.earthcam.com/usa/pennsylvania/pittsburgh/?cam=pittsburgh
#EXTINF:-1 channel-id="earthcampittsburgh2", tvg-logo="https://(myprivatesite).com/images/tvlogos/earthcam2.png",Pittsburgh suburban yard
chrome://192.168.7.180:5589/stream?url=https://www.earthcam.com/usa/pennsylvania/pittsburgh/?cam=pittsburgh
https://www.myearthcam.com/ratchetcam
#EXTINF:-1 channel-id="earthcamscranton", tvg-logo="https://(myprivatesite).com/images/tvlogos/earthcam2.png",Scranton Steamtown Cam
chrome://192.168.7.180:5589/stream?url=https://www.earthcam.com/usa/pennsylvania/scranton/?cam=steamtown
#EXTINF:-1 channel-id="earthcamtrapplodge", tvg-logo="https://(myprivatesite).com/images/tvlogos/earthcam2.png",Trapp Family Lodge - Stowe VT
chrome://192.168.7.180:5589/stream?url=https://www.earthcam.com/usa/vermont/stowe/?cam=trapplodge