gen2brain / go-mpv

Go bindings for libmpv
GNU General Public License v3.0
30 stars 6 forks source link

Can't Set Any Options Related to Scripts #7

Closed ghost closed 9 months ago

ghost commented 10 months ago

SetOptionString doesn't work for loading scripts.

m.SetOptionString("script", "/home/user/.config/mpv/scripts/script.lua")

returns: "MPV_ERROR -5 option not found"

gen2brain commented 10 months ago

It works with scripts option.