open-dynaMIX / simple-mpv-webui

A web based user interface with controls for the mpv mediaplayer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

do we have `web-ui.conf` ?

NormTurtle opened this issue Β· comments

commented

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
image

if i used cli parameters like --webui-osd_logging=yes got this error
image

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.

commented

:O this is soo good now