Open lainiwa opened 3 years ago
Would be better to rename the script to main.lua, move the contents of sponsorblock_shared to the root of the repo and use mp.get_script_directory()
.
Like this: https://github.com/lucy/mpv_sponsorblock/commit/e0206e132b12f1bb0143afb72325a4d014a40be8
That way you can just clone the repo into your mpv scripts directory.
I am using a following mpv config layout:
It however doesn't work with
mpv_sponsorblock
, assponsorblock.lua
is making assumption it was unpacked into the root ofscripts/
folder.Can
scripts_dir
variable be set to something likeso that it would be a bit more flexible?