-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change options based on condition (profile-cond in MPV) #573
Comments
That is currently not possible. Options of scripts can be changed at runtime via script-opts, but we currently don't support that. |
Hello @christoph-heinrich , thanks for the quick reply. Looking forward to when this will be implemented! |
@christoph-heinrich, it would be handy to have a *_persistence-like option for all elements/widgets to partially implement this. For instance, I'd hide speed widget and fullscreen button for audio. |
You can change your controls by appending to script-opts in a conditional profile. [audio-only]
profile-cond=vid == false
profile-restore=copy-equal
script-opts-append=uosc-controls=<your controls config but without speed widget and fullscreen button>
script-opts-append=uosc-progress_size=80 @tomasklaen I think this issue can be closed, or am I missing something? |
@christoph-heinrich, works perfectly, thank you! |
Hello @christoph-heinrich ,
is there more info on what to do to get what I tried in #573 (comment) ? Or is that still not possible? Thanks! |
@dnngll Does the profile I posted not work for you? Simply remove the line with |
Nothing changed at first - but then I thought about updating uosc... Everything works now. Thank you so much! |
Hello,
is there a way to use the
profile-cond
, like in MPV? I triedin
uosc.conf
, but that didn't work unfortunately.Thanks : )
The text was updated successfully, but these errors were encountered: