Skip to content

How to add a button in UI to toggle "autoload=yes/no", which is defined in script-opts/uosc.conf? #1004

Answered by tomasklaen
rsyqvthv asked this question in Q&A
Discussion options

You must be logged in to vote

You can can use mpv's script-opts command. In your case that would be:

cycle-values script-opts uosc-autoload=yes uosc-autoload=no

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:

controls=toggle:hdr_auto:autoload@uosc

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rsyqvthv
Comment options

@tomasklaen
Comment options

@rsyqvthv
Comment options

Answer selected by rsyqvthv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants