Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feature request: option to always show uosc when playing audio #42

Closed
junguler opened this issue Nov 24, 2020 · 4 comments
Closed

feature request: option to always show uosc when playing audio #42

junguler opened this issue Nov 24, 2020 · 4 comments

Comments

@junguler
Copy link

hi, i always use mpv on window mode when listening to audio, with the default osc there was an option to toggle visibility and i like to have the same functionality with uosc if possible, thanks.

@darsain
Copy link
Contributor

darsain commented Nov 26, 2020

Sure, sounds reasonable. I'm thinking just an internal audio mode that makes everything 100% opacity when stream has no video. Or is there a reason for adding an option?

@junguler
Copy link
Author

that works for me too, i only mentioned an option or toggle because you might have not wanted to change how your osc works, now that you agree with my suggestion it's a mute point.
thanks for your amazing project, feel free to close this issue whenever you want.

darsain added a commit that referenced this issue Nov 27, 2020
This enables elements to always be visible in configured states.
For example, setting `timeline_persistency=paused,audio` will make timeline always visible when playback is paused, or when audio file is open.

Available states: paused, audio

Available options and their defaults:
```
timeline_persistency=
volume_persistency=
speed_persistency=
top_bar_persistency=
```

resolves #42
@darsain
Copy link
Contributor

darsain commented Nov 27, 2020

Added persistency options. You can get the development version with it here:

https://raw.githubusercontent.com/darsain/uosc/dev/uosc.lua

It enables elements to always be visible in configured states.
For example, setting timeline_persistency=paused,audio will make timeline always visible when playback is paused, or when audio file is open.

Available states: paused, audio

To have all elements visible when playing audio, add this to your config:

timeline_persistency=audio
volume_persistency=audio
speed_persistency=audio
top_bar_persistency=audio

@junguler
Copy link
Author

amazing work, thank you.

@darsain darsain closed this as completed in 7551943 Dec 3, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants