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

Click to stop #11

Open
philspitlerSF opened this issue Sep 29, 2021 · 1 comment
Open

Click to stop #11

philspitlerSF opened this issue Sep 29, 2021 · 1 comment

Comments

@philspitlerSF
Copy link

I would love to have the option to stop and start the current video with a single click of the mouse.

I would actually be using it with a touch screen and it is perfect for installations where you don't want extra buttons.

Would this be easy enough to implement?

Thanks

@alubbock
Copy link
Owner

alubbock commented Jul 8, 2022

It would actually be a bit tricky to set up since the mouse is not active by default in the terminal. You'd have to set up an overlay over the video player that intercepted the mouse event. It'd be easier with an event linked to a GPIO pin, like the existing buttons are. In either case, once you have the event, you can tell the video player to pause using dbus as described here.

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