aboutsummaryrefslogtreecommitdiff
path: root/mpv/scripts/modules.lua
diff options
context:
space:
mode:
authorTyler Hoang <tyler@tylerhoang.xyz>2022-02-06 22:32:14 -0800
committerTyler Hoang <tyler@tylerhoang.xyz>2022-02-06 22:32:14 -0800
commit0a334f0c0dc98f3eb654f9291f9b3e7b0c548c29 (patch)
tree0021c69a18461fe732aa9ff465a9632fa7c72e46 /mpv/scripts/modules.lua
parente48219b726e26e2e54bfec062832454b29b305ff (diff)
updated mpv
Diffstat (limited to 'mpv/scripts/modules.lua')
-rw-r--r--mpv/scripts/modules.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpv/scripts/modules.lua b/mpv/scripts/modules.lua
new file mode 100644
index 0000000..703f372
--- /dev/null
+++ b/mpv/scripts/modules.lua
@@ -0,0 +1,3 @@
+local mpv_config_dir_path = require("mp").command_native({"expand-path", "~~/"})
+function load(relative_path) dofile(mpv_config_dir_path .. "/script_modules/" .. relative_path) end
+load("mpvSockets/mpvSockets.lua")