Skip to content

Instantly share code, notes, and snippets.

View sielicki's full-sized avatar

Nicholas Sielicki sielicki

  • Annapurna Labs
  • Cupertino, CA
View GitHub Profile
@sielicki
sielicki / openwebifzap.lua
Last active March 13, 2016 04:49
openwebifzap.lua -- create zap requests for openwebif remote api directly from VLC.
-- Put this in ~/.local/share/vlc/lua/meta/reader/
--
-- If you're watching an Openwebif stream, or rather, if you're watching a
-- stream in VLC over http with exactly 10 values separated by colons, this
-- translates it into an API call for openWebif that will trigger your dish mover.
-- VLC requires this for script scheduling. We want this to always run, so we
-- say that it is local, even though it is making network requests.
function descriptor()