How to add a button in UI to toggle "autoload=yes/no", which is defined in script-opts/uosc.conf? #1004
-
Most of the time, I am satisfied with I am a newbie at mpv scripting, I tried the following in `F2 script-message cycle-cmd "script-message uosc/autoload yes" "script-message uosc/autoload no" Any advice? |
Beta Was this translation helpful? Give feedback.
Answered by
tomasklaen
Oct 8, 2024
Replies: 1 comment 3 replies
-
You can can use mpv's script-opts command. In your case that would be:
I also just pushed a commit that adds support for using uosc options as cycle/toggle control property by setting its owner to
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
rsyqvthv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can can use mpv's script-opts command. In your case that would be:
I also just pushed a commit that adds support for using uosc options as cycle/toggle control property by setting its owner to
uosc
. Example: