migrate to mpv v0.33

This commit is contained in:
Ren Tatsumoto 2020-12-23 22:39:26 +03:00
parent 56b103b2bd
commit 71e4744d96
2 changed files with 2 additions and 8 deletions

View file

@ -39,14 +39,6 @@ If not, either proceed to Arch Wiki and come back when you're done, or simply cl
```
$ git clone 'https://github.com/Ajatt-Tools/videoclip.git' ~/.config/mpv/scripts/videoclip
```
Since you've just cloned the script to its own subfolder,
you need to tell mpv where to look for it.
Open or create `~/.config/mpv/scripts/modules.lua` and add these lines:
```
local mpv_scripts_dir_path = os.getenv("HOME") .. "/.config/mpv/scripts/"
function load(relative_path) dofile(mpv_scripts_dir_path .. relative_path) end
load("videoclip/videoclip.lua")
```
### Updating with git
| Install method | Command |
| --- | --- |

2
main.lua Normal file
View file

@ -0,0 +1,2 @@
local utils = require('mp.utils')
dofile(utils.join_path(mp.get_script_directory(), 'videoclip.lua'))