Skip to content

matthoffner/cablebox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cablebox

A software cable box that works with any provider. Siri and Homekit enabled.

Caveats

This is heavily based on the URLs you use for stations not changing. I'm not sure how often they change on YoutubeTV, but they seem to be the same over the past few days. Depends on chromix-too and coffeescript currently, since it chromix-too's examples are in it.

Features

Siri Shortcuts

Hey Siri, turn TV on

This is fairly straight forward with SSH and Shortcuts app. The open command works out of the box:

open -a "/Applications/Google Chrome" https://tv.youtube.com

Hey Siri, change to CNN

Using chromix-too we can create a generic server to proxy commands to Chrome. Currently I'm leveraging this as much as possible, but will look to eventually writing a custom extension.

Once chromix-too extension is installed, server running, and client module installed we can script against it. From their issues I am using a script to change channels:

Scipts

Change channel

coffee change-channel.coffee https://tv.youtube.com/watch/channelId

Next channel

coffee next-channel.coffee

Mute tab

coffee mute.coffee

Close browser window

coffee turn-off.coffee
/usr/local/bin/node /where/coffeescript/is /where/this/script/change-channel.coffee https://tv.youtube.com/watch/channelId

Next steps:

  • More detailed Siri Shortcuts steps
  • Detect commercials
  • WebRTC sharing (party mode)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published