do we have `web-ui.conf` ?
NormTurtle opened this issue Β· comments
why there is no web-ui.conf
which goes to /config/sciprt-opts/webui.conf
i mean i read options but not seem to have configuration file?
am i wrong?
also the option webui-
threw me this error π i dont know what i did wrong
if i used cli parameters like --webui-osd_logging=yes
got this error
There are three ways to set an option for the webui. This is not a feature of the webui, but MPV itself. The webui just ready the options provided by MPV.
CLI
If you want to set webui-options from the CLI, you need to pass them to --script-opts
or --script-opts-add
respectively, like this: --script-opts-add=webui-osd_logging=no
.
MPV config file
If you want to set them in the main MPV config file, you need to write it like this: script-opts-add=webui-osd_logging=no
.
Webui config file
Finally, if you want to set them in their own config file, you can put them in a file ~/.config/mpv/script-opts/webui.conf
like this: osd_logging=no
.
In order to make this more clear for all users, I've added a paragraph about this to the README.
:O this is soo good now