Closed NaiveInvestigator closed 2 years ago
I don't think that is currently possible. Maybe ask over on uosc if adding such functionality is an option.
Make the script set the value of foo
to 1
.
mp.commandv('script-message-to', 'uosc', 'set', 'foo', 1)
This property can now be used as a control button badge by prefixing it with @
.
controls=command:icon_name:command_name#@foo?My foo button
If we could add badges similar to how it works on the inbuilt subtitle, audio, video button, would be awesome!
Edit: Sorry if this was already implemented, I couldn't figure out how to do so sadly after much experimentation.