voidrice/.config/mpv/scripts/modules.lua
Wis f1814b3690
mpv: fix error on launch by removing directories inside mpv's scripts directory (#1004)
* remove dirs from mpv scripts dir

* remove submodule dir from mpv scripts dir

* add script_modules directory outside scripts direcoty

* load modules/plugins from script_modules, outside mpv's script-files-only directory

* rename variable
2021-09-13 10:17:29 -04:00

3 lines
215 B
Lua

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")