tsl0922 / mpv-debug-plugin

A debug tool for mpv script developers
GNU General Public License v2.0
14 stars 4 forks source link

Support getting option from `script-opts` ? #7

Closed zhongfly closed 2 months ago

zhongfly commented 2 months ago

Currently the plugin will only read options from ~~/script-opts/debug.conf, and script-opts will not take effect. Is it possible to get the options like lua's "mp.options".read_options?

ref: https://mpv.io/manual/master/#options-script-opts

tsl0922 commented 2 months ago

It's possible, but why? PR welcome if you want to do it yourself.