open-dynaMIX / simple-mpv-webui

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

remove unwanted text when opening #422

Closed NormTurtle closed 1 year ago

NormTurtle commented 2 years ago

i am getting this error

Cannot find main.* for any supported scripting backend in: C:/Users/O_0/scoop/apps/mpv-git/current/portable_config/scripts/webui-page

also this i want to remove this from pop-up when i enter mpv image

open-dynaMIX commented 2 years ago
Cannot find main.* for any supported scripting backend in: C:/Users/O_0/scoop/apps/mpv-git/current/portable_config/scripts/webui-page

This is a warning shown on MPV version >=0.33.0 when the old installation method for the webui is used. I assume in your scripts directory you have main.lua and the webui-page. This warning will go away, if you put them into a sub-directory. Or you just delete them and do:

cd ~/.config/mpv/scripts/  # might be different in your setup
git clone git@github.com:open-dynaMIX/simple-mpv-webui.git

That way you can always just git pull any new changes.

also this i want to remove this from pop-up when i enter mpv image

This can be achieved from MPV itself with --msg-level=simple_mpv_webui=no (with your current setup it's --msg-level=main=no). I suggest setting it to warn or error instead of no. The documentation for this flag can be found here.

NormTurtle commented 2 years ago

This warning will go away, if you put them into a sub-directory. Or you just delete them and do

this worked like a charm 😄

--msg-level=main=no

this worked but only at the terminal output , image

but not at mpv OSD it self

image

a example video

https://user-images.githubusercontent.com/108952834/199222556-a9c89a4b-8611-40ea-b80e-8a88bbdf37c5.mp4

open-dynaMIX commented 2 years ago

You can disable osd-logging with --script-opts-add=webui-osd_logging=no.

open-dynaMIX commented 1 year ago

I assume this is resolved. Feel free to reopen @omaru-ok if you still have an issue.