Skip to content

Instantly share code, notes, and snippets.

@jlongman
Created April 7, 2017 00:53
Show Gist options
  • Save jlongman/084c1c98ee81417b0e9c15811f9ec022 to your computer and use it in GitHub Desktop.
Save jlongman/084c1c98ee81417b0e9c15811f9ec022 to your computer and use it in GitHub Desktop.
A sample lircrc for pausing a ChromeCast from IR using scripts from https://github.com/jlongman/chromecast-button
begin
remote = element
prog = irexec
button = KEY_PLAYPAUSE
config = /bin/sh /home/pi/chromecast-button/pause.sh
config = /bin/sh /home/pi/chromecast-button/play.sh
end
begin
remote = element
prog = irexec
button = KEY_STOP
config = /bin/sh /home/pi/chromecast-button/stop.sh
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment