Skip to content
wake my roku and set the input to correct hdmi when shairport-sync is triggered
Ruby
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
wake-roku

README.md

wake-roku

Wake my roku and set the input to correct hdmi when shairport-sync playback is triggered. HDMI2 is hardcoded.

The Roku is discovered using gssdp-discover and the endpoint is cached in ~/.roku.

shairport-sync how-to

On Raspberry Pi:

  1. Install tools sudo apt install -y shairport-sync ruby gupnp-tools
  2. Edit /etc/shairport-sync.conf.
run_this_before_play_begins = "/home/pi/wake-roku/wake-roku"; // or whatever path
  1. Restart service sudo systemctl restart shairport-sync.service

Docs

You can’t perform that action at this time.