Created
January 12, 2019 01:41
-
-
Save jgreco/a893fdf635b8dde4afe966c7a8ba49f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- placed in .config/mpv/user-builtins/ | |
local msg = require 'mp.msg' | |
local function ping() | |
msg.error("PONG") | |
end | |
return { | |
ping = ping, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- placed in .config/mpv/scripts/ | |
local test = require 'test' | |
test.ping() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment