Skip to content
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

sending two SPACE keypresses might cause issues #16

Open
KaoriRinaFujimoto opened this issue Jun 5, 2022 · 1 comment
Open

sending two SPACE keypresses might cause issues #16

KaoriRinaFujimoto opened this issue Jun 5, 2022 · 1 comment

Comments

@KaoriRinaFujimoto
Copy link

KaoriRinaFujimoto commented Jun 5, 2022

Hi! First of all thanks for this useful script.

However I've experienced it breaking my visibility=always configuration in script-opts/osc.conf since it sends two spaces and space is mapped to toggling osc visibility. (in my config)
https://github.com/4e6/mpv-reload/blob/master/reload.lua#L378-L379

I know this issue is kinda specific to my setup, but I just wanted to mention it in case there is a better way to solve the problem. I resolved it in my setup by changing space to something different

@DanSM-5
Copy link

DanSM-5 commented Sep 10, 2023

Not sure if this is still an issue for you but you can change those lines with

    mp.command_native({ "cycle", "pause" })
    mp.command_native({ "cycle", "pause" })

which should do the same thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants