Commit: 4209367a1035e3529e89c5f95bc9bc7951a6dba1
Parent: e163cbc1be1ca5ab0b7af57c5d700aa995bd3d6b
Author: Ren Tatsumoto
Date: Sun, 20 Mar 2022 04:23:13 +0000
Update README.md
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -160,7 +160,7 @@ mpv v0.33 does this automatically by loading the `main.lua` file in the add-on's
Open or create `~/.config/mpv/scripts/modules.lua` and add these lines:
```
local mpv_scripts_dir_path = os.getenv("HOME") .. "/.config/mpv/scripts/"
-package.path = package.path .. ';' .. home .. '/.config/mpv/scripts/subs2srs/?.lua'
+package.path = package.path .. ';' .. os.getenv("HOME") .. '/.config/mpv/scripts/subs2srs/?.lua'
function load(relative_path) dofile(mpv_scripts_dir_path .. relative_path) end
load("subs2srs/subs2srs.lua")
```