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
This commit is contained in:
parent
9a2dc2618e
commit
f1814b3690
4 changed files with 5 additions and 5 deletions
1
.config/mpv/script_modules/mpvSockets
Submodule
1
.config/mpv/script_modules/mpvSockets
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit be9b7ca84456466e54331bab59441ac207659c1c
|
|
@ -1,3 +1,3 @@
|
|||
local mpv_scripts_dir_path = os.getenv("HOME") .. "/.config/mpv/scripts/"
|
||||
function load(relative_path) dofile(mpv_scripts_dir_path .. relative_path) end
|
||||
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")
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 8415a08d99a46213c918613cfe1e088071018db9
|
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -1,3 +1,3 @@
|
|||
[submodule ".config/mpv/scripts/mpvSockets"]
|
||||
path = .config/mpv/scripts/mpvSockets
|
||||
[submodule ".config/mpv/script_modules/mpvSockets"]
|
||||
path = .config/mpv/script_modules/mpvSockets
|
||||
url = https://github.com/wis/mpvSockets.git
|
||||
|
|
Loading…
Reference in a new issue