open-dynaMIX / simple-mpv-webui

A web based user interface with controls for the mpv mediaplayer.
Other
137 stars 16 forks source link

do we have `web-ui.conf` ? #423

Closed NormTurtle closed 2 years ago

NormTurtle commented 2 years ago

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

open-dynaMIX commented 2 years ago

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.

open-dynaMIX commented 2 years ago

In order to make this more clear for all users, I've added a paragraph about this to the README.

NormTurtle commented 2 years ago

:O this is soo good now