ripose-jp / Memento

An mpv-based video player for studying Japanese
https://ripose-jp.github.io/Memento/
GNU General Public License v2.0
434 stars 21 forks source link

Setting secondary_sub_visibility to 'auto' within the mpvacious plugin does not work #215

Closed wandero closed 2 months ago

wandero commented 2 months ago

Setting secondary_sub_visibility to 'auto' within the mpvacious plugin does not work.

The settings 'never' and 'always' for secondary_sub_visibility within the mpvacious plugin are functional, but 'auto' (which should make subtitles visible when the mouse hovers) does not work.

Is there a way to resolve this, or can it be implemented directly in Memento?

Thank you very much.

ripose-jp commented 2 months ago

If you just want secondary subtitles to show when you move your mouse to the top of the player, you can find the option in SettingsOptionsBehaviorSubtitlesShow secondary subtitles when the cursor is at the top of the player.

I think auto doesn't work since Memento doesn't pass mouse movement to mpv. It usually isn't useful and would require notifying mpv many, many times per second. Whether or not this degrades performance, I don't know but I'm weary of doing it regardless.

wandero commented 2 months ago

@ripose-jp Thanks for your detailed explanation! It helped me!